Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 104 kB / 16.94 MB, free: 6.191 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.001591/0.001591, allocations: 189.3 kB / 17.86 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8022/0.8022, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 68.12 kB / 0.4948 GB, free: 4.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3889, allocations: 78.56 MB / 0.5715 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06798/0.4569, allocations: 75.32 MB / 0.6451 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02454/0.4815, allocations: 15.17 MB / 0.6599 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.4847, allocations: 71.56 kB / 0.6599 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.4874, allocations: 0.8268 MB / 0.6608 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00837/0.4958, allocations: 2.579 MB / 0.6633 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003904/0.4997, allocations: 1.385 MB / 0.6646 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006792/0.5065, allocations: 4.399 MB / 0.6689 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.5093, allocations: 1.441 MB / 0.6703 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/0.5143, allocations: 1.816 MB / 0.6721 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002547/0.5169, allocations: 1.198 MB / 0.6733 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005502/0.5174, allocations: 164 kB / 0.6734 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004066/0.5215, allocations: 1.396 MB / 0.6748 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007314/0.5222, allocations: 398.6 kB / 0.6752 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.524, allocations: 0.906 MB / 0.6761 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005234/0.5292, allocations: 2.84 MB / 0.6788 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.5292, allocations: 3.938 kB / 0.6788 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5292, allocations: 0 / 0.6788 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.802e-05/0.5293, allocations: 0 / 0.6788 GB, free: 9.348 MB / 0.5137 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.004374/0.5337, allocations: 2.083 MB / 0.6809 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5337, allocations: 8.031 kB / 0.6809 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/0.5346, allocations: 230.8 kB / 0.6811 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.5374, allocations: 1.454 MB / 0.6825 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.5375, allocations: 74 kB / 0.6826 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.5376, allocations: 104 kB / 0.6827 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.5398, allocations: 1.096 MB / 0.6838 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.5398, allocations: 4 kB / 0.6838 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.546e-05/0.5399, allocations: 43.98 kB / 0.6838 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.54, allocations: 24 kB / 0.6838 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.542, allocations: 0.8939 MB / 0.6847 GB, free: 3.184 MB / 0.5137 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.007128/0.5491, allocations: 4.949 MB / 0.6895 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.5506, allocations: 0.6197 MB / 0.6901 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007309/0.5514, allocations: 350.3 kB / 0.6905 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007386/0.5521, allocations: 0.8277 MB / 0.6913 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5522, allocations: 43.12 kB / 0.6913 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.494e-06/0.5522, allocations: 0 / 0.6913 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007674/0.5599, allocations: 1.689 MB / 0.693 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.56, allocations: 67.84 kB / 0.693 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.5624, allocations: 1.23 MB / 0.6942 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.5626, allocations: 41.69 kB / 0.6943 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/0.5632, allocations: 0.6105 MB / 0.6949 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.5635, allocations: 212.8 kB / 0.6951 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.5637, allocations: 158.5 kB / 0.6952 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5639, allocations: 333.9 kB / 0.6955 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/0.5646, allocations: 292.7 kB / 0.6958 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009035/0.5656, allocations: 496.7 kB / 0.6963 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.567, allocations: 0.709 MB / 0.697 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5671, allocations: 0 / 0.697 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004965/0.572, allocations: 1.273 MB / 0.6982 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.5721, allocations: 10.19 kB / 0.6982 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5721, allocations: 4 kB / 0.6982 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/0.5727, allocations: 141 kB / 0.6984 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.5734, allocations: 155.8 kB / 0.6985 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009043/0.5743, allocations: 0.7032 MB / 0.6992 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.5754, allocations: 124.8 kB / 0.6993 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/0.5755, allocations: 35.98 kB / 0.6994 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001189/0.5767, allocations: 0.5494 MB / 0.6999 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008758/0.5776, allocations: 0.489 MB / 0.7004 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001434/0.5791, allocations: 0.7012 MB / 0.7011 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.341e-06/0.5791, allocations: 0 / 0.7011 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004849/0.5839, allocations: 1.277 MB / 0.7023 GB, free: 264 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.584, allocations: 8 kB / 0.7023 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.584, allocations: 7.938 kB / 0.7023 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.5845, allocations: 137.1 kB / 0.7025 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.5851, allocations: 159.8 kB / 0.7026 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008931/0.586, allocations: 0.6967 MB / 0.7033 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.5873, allocations: 107.5 kB / 0.7034 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/0.5874, allocations: 31.98 kB / 0.7034 GB, free: 15.09 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003098/0.5877, allocations: 232 kB / 0.7036 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.588, allocations: 134.4 kB / 0.7038 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/0.5929, allocations: 1.262 MB / 0.705 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.5929, allocations: 7.984 kB / 0.705 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5929, allocations: 0 / 0.705 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004297/0.5972, allocations: 1.103 MB / 0.7061 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007118/0.6044, allocations: 2.625 MB / 0.7087 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.6044, allocations: 4 kB / 0.7087 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.6049, allocations: 107.9 kB / 0.7088 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/0.6054, allocations: 133.1 kB / 0.7089 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.6055, allocations: 31.98 kB / 0.7089 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005321/0.6108, allocations: 2.613 MB / 0.7115 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/0.6108, allocations: 15.98 kB / 0.7115 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005578/0.6164, allocations: 1.695 MB / 0.7131 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006381/0.6171, allocations: 311.2 kB / 0.7134 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.6172, allocations: 16.09 kB / 0.7135 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/0.618, allocations: 51.88 kB / 0.7135 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.6182, allocations: 64.41 kB / 0.7136 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.6182, allocations: 39.92 kB / 0.7136 GB, free: 4.254 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001312/0.6196, allocations: 0.8818 MB / 0.7145 GB, free: 3.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6196, allocations: 0 / 0.7145 GB, free: 3.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001958/0.6215, allocations: 0.7174 MB / 0.7152 GB, free: 2.652 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/0.6226, allocations: 469.9 kB / 0.7156 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002955/0.6255, allocations: 1.157 MB / 0.7167 GB, free: 1.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6256, allocations: 4.062 kB / 0.7167 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.6271, allocations: 0.5602 MB / 0.7173 GB, free: 472 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/0.6308, allocations: 0.8091 MB / 0.7181 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.6351, allocations: 2.338 MB / 0.7204 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008968/0.636, allocations: 1.168 MB / 0.7215 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/0.6364, allocations: 107.4 kB / 0.7216 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of SimCode: time 9.11e-07/0.6364, allocations: 0 / 0.7216 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.355/0.9914, allocations: 31.18 MB / 0.7521 GB, free: 160.7 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)