Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001226/0.001226, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 62.12 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3439, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07613/0.4201, allocations: 75.25 MB / 1.142 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.4416, allocations: 15.17 MB / 1.156 GB, free: 15.74 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002735/0.4444, allocations: 67.56 kB / 1.157 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.4469, allocations: 0.8385 MB / 1.157 GB, free: 14.83 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007493/0.4545, allocations: 2.589 MB / 1.16 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.4582, allocations: 1.38 MB / 1.161 GB, free: 10.86 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006135/0.4643, allocations: 4.377 MB / 1.165 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.4667, allocations: 1.449 MB / 1.167 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004281/0.471, allocations: 1.638 MB / 1.169 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.4734, allocations: 1.214 MB / 1.17 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00034/0.4738, allocations: 164 kB / 1.17 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004142/0.4779, allocations: 1.4 MB / 1.171 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.4784, allocations: 398.5 kB / 1.172 GB, free: 184 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.4798, allocations: 0.9022 MB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004544/0.4844, allocations: 2.824 MB / 1.175 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4844, allocations: 0 / 1.175 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.737e-06/0.4844, allocations: 0 / 1.175 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.643e-05/0.4844, allocations: 3.938 kB / 1.175 GB, free: 12.44 MB / 0.9356 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.003849/0.4883, allocations: 2.083 MB / 1.177 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4884, allocations: 15.97 kB / 1.177 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008472/0.4892, allocations: 222.8 kB / 1.177 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.4917, allocations: 1.458 MB / 1.179 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.4918, allocations: 74 kB / 1.179 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.4919, allocations: 104 kB / 1.179 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.494, allocations: 1.1 MB / 1.18 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.494, allocations: 0 / 1.18 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/0.4941, allocations: 40 kB / 1.18 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/0.4941, allocations: 24 kB / 1.18 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.4961, allocations: 0.8939 MB / 1.181 GB, free: 6.277 MB / 0.9356 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.006382/0.5025, allocations: 4.95 MB / 1.186 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.5039, allocations: 0.6131 MB / 1.187 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006919/0.5047, allocations: 351.3 kB / 1.187 GB, free: 76 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006577/0.5053, allocations: 0.8238 MB / 1.188 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.5054, allocations: 39.06 kB / 1.188 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 2.264e-06/0.5054, allocations: 4 kB / 1.188 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.007509/0.5129, allocations: 1.697 MB / 1.189 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.513, allocations: 55.97 kB / 1.189 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.5146, allocations: 1.234 MB / 1.191 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.82e-05/0.5147, allocations: 37.7 kB / 1.191 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.5153, allocations: 0.6065 MB / 1.191 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.5155, allocations: 212.9 kB / 1.191 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.5158, allocations: 158.5 kB / 1.192 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5159, allocations: 334 kB / 1.192 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006895/0.5166, allocations: 292.6 kB / 1.192 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/0.5175, allocations: 0.489 MB / 1.193 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.5189, allocations: 0.7167 MB / 1.193 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5189, allocations: 0 / 1.193 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004923/0.5238, allocations: 1.265 MB / 1.195 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.5239, allocations: 8.375 kB / 1.195 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5239, allocations: 11.98 kB / 1.195 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/0.5245, allocations: 136.7 kB / 1.195 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/0.5251, allocations: 159.7 kB / 1.195 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008519/0.526, allocations: 0.7044 MB / 1.196 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.5271, allocations: 123.1 kB / 1.196 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.5272, allocations: 35.98 kB / 1.196 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001098/0.5283, allocations: 0.5533 MB / 1.196 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008263/0.5291, allocations: 492.8 kB / 1.197 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001401/0.5305, allocations: 0.7049 MB / 1.197 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.19e-06/0.5305, allocations: 4 kB / 1.197 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004836/0.5354, allocations: 1.261 MB / 1.199 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5354, allocations: 8.375 kB / 1.199 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.5354, allocations: 8 kB / 1.199 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005074/0.5359, allocations: 136.7 kB / 1.199 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.5365, allocations: 167.6 kB / 1.199 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008019/0.5373, allocations: 0.6929 MB / 1.2 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.5384, allocations: 117 kB / 1.2 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.5385, allocations: 31.98 kB / 1.2 GB, free: 2.188 MB / 0.9512 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.000275/0.5388, allocations: 232.9 kB / 1.2 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.539, allocations: 130.4 kB / 1.2 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/0.5439, allocations: 1.271 MB / 1.201 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.5439, allocations: 8 kB / 1.201 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.5439, allocations: 3.938 kB / 1.201 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004195/0.5481, allocations: 1.099 MB / 1.202 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006822/0.5549, allocations: 2.618 MB / 1.205 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.555, allocations: 4 kB / 1.205 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.5555, allocations: 119.8 kB / 1.205 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.556, allocations: 124.8 kB / 1.205 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.556, allocations: 19.98 kB / 1.205 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/0.5613, allocations: 2.629 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.5613, allocations: 7.938 kB / 1.208 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/0.567, allocations: 1.695 MB / 1.21 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/0.5677, allocations: 315.1 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.5679, allocations: 20.06 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007815/0.5687, allocations: 47.94 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.5689, allocations: 72.23 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.5689, allocations: 27.98 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001297/0.5702, allocations: 0.8818 MB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5702, allocations: 0 / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001996/0.5722, allocations: 0.7174 MB / 1.212 GB, free: 5.746 MB / 0.9669 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.0009092/0.5732, allocations: 463.3 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002854/0.576, allocations: 1.156 MB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.5761, allocations: 3.938 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.5776, allocations: 0.5684 MB / 1.214 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.5812, allocations: 0.7986 MB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.5848, allocations: 2.302 MB / 1.217 GB, free: 412 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007107/0.5855, allocations: 1.19 MB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001134/0.5867, allocations: 306.2 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.5869, allocations: 107.4 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.5869, allocations: 0 / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.5971/1.184, allocations: 32.24 MB / 1.25 GB, free: 176.6 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)