Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000989/0.0009892, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.396/2.396, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 15.98 kB / 0.8375 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6061/0.6065, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06237/0.6689, allocations: 62.99 MB / 1.042 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.6874, allocations: 12.99 MB / 1.055 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002165/0.6896, allocations: 55.62 kB / 1.055 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.6924, allocations: 0.7462 MB / 1.056 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.008246/0.7007, allocations: 2.403 MB / 1.058 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.706, allocations: 1.533 MB / 1.06 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005586/0.7116, allocations: 2.523 MB / 1.062 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.7135, allocations: 1.045 MB / 1.063 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.7159, allocations: 1.16 MB / 1.064 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.7171, allocations: 0.7895 MB / 1.065 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.7172, allocations: 56 kB / 1.065 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.7194, allocations: 0.8347 MB / 1.066 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.7197, allocations: 262.9 kB / 1.066 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.7201, allocations: 360.9 kB / 1.067 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.7223, allocations: 2.014 MB / 1.069 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.7223, allocations: 4 kB / 1.069 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7223, allocations: 0 / 1.069 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.7223, allocations: 0 / 1.069 GB, free: 12.29 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003089/0.7254, allocations: 1.779 MB / 1.07 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7255, allocations: 8.031 kB / 1.07 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.7257, allocations: 151.9 kB / 1.07 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006975/0.7264, allocations: 237.9 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.7286, allocations: 1.381 MB / 1.072 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/0.7287, allocations: 78 kB / 1.072 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.7289, allocations: 100 kB / 1.072 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.7308, allocations: 1.112 MB / 1.073 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.7308, allocations: 0 / 1.073 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.759e-05/0.7309, allocations: 36 kB / 1.073 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.731, allocations: 35.98 kB / 1.073 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.7329, allocations: 0.9251 MB / 1.074 GB, free: 6.297 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006231/0.7391, allocations: 4.954 MB / 1.079 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.7405, allocations: 0.6355 MB / 1.08 GB, free: 424 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/0.7412, allocations: 0.8199 MB / 1.08 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.7413, allocations: 43.12 kB / 1.081 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 2.364e-06/0.7413, allocations: 0 / 1.081 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.009073/0.7504, allocations: 1.885 MB / 1.082 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.7505, allocations: 59.97 kB / 1.082 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.7531, allocations: 1.245 MB / 1.084 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.7533, allocations: 49.7 kB / 1.084 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007493/0.754, allocations: 0.6064 MB / 1.084 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.7544, allocations: 216.9 kB / 1.084 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.7544, allocations: 12 kB / 1.084 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.7546, allocations: 334 kB / 1.085 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009909/0.7556, allocations: 293.8 kB / 1.085 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.7568, allocations: 0.5046 MB / 1.086 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.758, allocations: 363 kB / 1.086 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.758, allocations: 3.953 kB / 1.086 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00696/0.765, allocations: 1.398 MB / 1.087 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007015/0.7657, allocations: 1.419 MB / 1.089 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.7657, allocations: 4 kB / 1.089 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/0.7665, allocations: 144.7 kB / 1.089 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/0.7673, allocations: 163.8 kB / 1.089 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008662/0.7682, allocations: 0.7162 MB / 1.09 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.7694, allocations: 171 kB / 1.09 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/0.7695, allocations: 32 kB / 1.09 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.7695, allocations: 4 kB / 1.09 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004296/0.7738, allocations: 1.249 MB / 1.091 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.7738, allocations: 4 kB / 1.091 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/0.7744, allocations: 149.1 kB / 1.091 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.775, allocations: 175.7 kB / 1.091 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008748/0.7759, allocations: 0.7125 MB / 1.092 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.7772, allocations: 163.1 kB / 1.092 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/0.7773, allocations: 39.92 kB / 1.092 GB, free: 2.969 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007468/0.778, allocations: 412.9 kB / 1.093 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.7783, allocations: 138.4 kB / 1.093 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.7828, allocations: 1.392 MB / 1.094 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.7828, allocations: 4 kB / 1.094 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7828, allocations: 0 / 1.094 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004122/0.7869, allocations: 1.24 MB / 1.095 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007438/0.7944, allocations: 2.754 MB / 1.098 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.7944, allocations: 4 kB / 1.098 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.7949, allocations: 124.2 kB / 1.098 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/0.7954, allocations: 144.7 kB / 1.098 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.7955, allocations: 16 kB / 1.098 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.8005, allocations: 2.564 MB / 1.101 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.8006, allocations: 4 kB / 1.101 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005623/0.8062, allocations: 2.058 MB / 1.103 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007873/0.807, allocations: 343.1 kB / 1.103 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.8072, allocations: 16 kB / 1.103 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.808, allocations: 104 kB / 1.103 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.8082, allocations: 56.3 kB / 1.103 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.978e-05/0.8082, allocations: 31.98 kB / 1.103 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001295/0.8095, allocations: 0.8974 MB / 1.104 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8095, allocations: 0 / 1.104 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001895/0.8114, allocations: 0.7174 MB / 1.105 GB, free: 5.418 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006707/0.8182, allocations: 3.865 MB / 1.109 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.8209, allocations: 1.161 MB / 1.11 GB, free: 272 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.821, allocations: 0 / 1.11 GB, free: 272 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.8225, allocations: 0.5994 MB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/0.8259, allocations: 0.7411 MB / 1.111 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.8311, allocations: 5.939 MB / 1.117 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.8319, allocations: 1.206 MB / 1.118 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001069/0.8329, allocations: 310.9 kB / 1.118 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006275/0.8336, allocations: 0.511 MB / 1.119 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/0.8336, allocations: 0 / 1.119 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07193/0.9055, allocations: 41.98 MB / 1.16 GB, free: 13.3 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.9058, allocations: 247.9 kB / 1.16 GB, free: 12.99 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/3.933, allocations: 0 / 1.16 GB, free: 12.99 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat does not exist to compare? outputFormat=mat