Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.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 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.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001247/0.001247, allocations: 192.9 kB / 16.14 MB, free: 6.695 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.44 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3162, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.07127/0.3875, allocations: 74.95 MB / 1.141 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01799/0.4055, allocations: 12.88 MB / 1.153 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.4084, allocations: 59.62 kB / 1.153 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.4108, allocations: 0.672 MB / 1.154 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00671/0.4176, allocations: 2.287 MB / 1.156 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.421, allocations: 1.27 MB / 1.157 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006222/0.4273, allocations: 5.589 MB / 1.163 GB, free: 8.914 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.429, allocations: 1.198 MB / 1.164 GB, free: 7.684 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.4315, allocations: 1.357 MB / 1.165 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.433, allocations: 1.194 MB / 1.167 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.4332, allocations: 72 kB / 1.167 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.436, allocations: 1.259 MB / 1.168 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.4363, allocations: 322.5 kB / 1.168 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009155/0.4373, allocations: 0.82 MB / 1.169 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.4407, allocations: 2.816 MB / 1.172 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4407, allocations: 3.984 kB / 1.172 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.041e-06/0.4407, allocations: 0 / 1.172 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.07e-05/0.4407, allocations: 4 kB / 1.172 GB, free: 15.81 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.003741/0.4445, allocations: 2.102 MB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4445, allocations: 8.031 kB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008983/0.4454, allocations: 230.8 kB / 1.174 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/0.448, allocations: 1.505 MB / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.4481, allocations: 82 kB / 1.176 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.4483, allocations: 100 kB / 1.176 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.4504, allocations: 1.1 MB / 1.177 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.4505, allocations: 7.938 kB / 1.177 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/0.4506, allocations: 40 kB / 1.177 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.4506, allocations: 24 kB / 1.177 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.4526, allocations: 0.8939 MB / 1.178 GB, free: 9.574 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.006212/0.4588, allocations: 4.931 MB / 1.183 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.4603, allocations: 0.6002 MB / 1.183 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.461, allocations: 338.4 kB / 1.183 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/0.4617, allocations: 0.8277 MB / 1.184 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.4617, allocations: 43.11 kB / 1.184 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.294e-06/0.4617, allocations: 3.938 kB / 1.184 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007863/0.4696, allocations: 1.716 MB / 1.186 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.4697, allocations: 59.97 kB / 1.186 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.4715, allocations: 1.239 MB / 1.187 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.4716, allocations: 37.7 kB / 1.187 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/0.4721, allocations: 0.6222 MB / 1.188 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.4724, allocations: 212.9 kB / 1.188 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.4726, allocations: 154.6 kB / 1.188 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4727, allocations: 333.9 kB / 1.189 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007197/0.4735, allocations: 280.7 kB / 1.189 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008748/0.4744, allocations: 0.4929 MB / 1.189 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.4758, allocations: 0.7128 MB / 1.19 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4758, allocations: 0 / 1.19 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004916/0.4807, allocations: 1.269 MB / 1.191 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.4808, allocations: 8 kB / 1.191 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4808, allocations: 4 kB / 1.191 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006695/0.4815, allocations: 152.9 kB / 1.191 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.4822, allocations: 163.7 kB / 1.192 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008431/0.483, allocations: 0.7045 MB / 1.192 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.4843, allocations: 151.1 kB / 1.192 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/0.4844, allocations: 31.98 kB / 1.192 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001164/0.4856, allocations: 0.5527 MB / 1.193 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008558/0.4865, allocations: 492.7 kB / 1.193 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0014/0.4879, allocations: 0.7011 MB / 1.194 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.4879, allocations: 0 / 1.194 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004843/0.4927, allocations: 1.261 MB / 1.195 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4928, allocations: 8 kB / 1.195 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4928, allocations: 4 kB / 1.195 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/0.4934, allocations: 149.1 kB / 1.195 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008863/0.4943, allocations: 163.7 kB / 1.196 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.4953, allocations: 0.6967 MB / 1.196 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.4971, allocations: 145.5 kB / 1.196 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.4973, allocations: 27.98 kB / 1.196 GB, free: 5.422 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.0002846/0.4975, allocations: 236.5 kB / 1.197 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003572/0.4979, allocations: 134.3 kB / 1.197 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/0.5029, allocations: 1.259 MB / 1.198 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.5029, allocations: 8 kB / 1.198 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.5029, allocations: 0 / 1.198 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004264/0.5072, allocations: 1.092 MB / 1.199 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007354/0.5145, allocations: 2.587 MB / 1.202 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.5146, allocations: 4.438 kB / 1.202 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005347/0.5151, allocations: 119.8 kB / 1.202 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005358/0.5157, allocations: 144.6 kB / 1.202 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.181e-05/0.5158, allocations: 16 kB / 1.202 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004902/0.5207, allocations: 2.388 MB / 1.204 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.5207, allocations: 4 kB / 1.204 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/0.5264, allocations: 1.692 MB / 1.206 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007357/0.5271, allocations: 319 kB / 1.206 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.5274, allocations: 20 kB / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.5285, allocations: 83.81 kB / 1.206 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.5286, allocations: 60.41 kB / 1.206 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.5287, allocations: 31.92 kB / 1.206 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00143/0.5302, allocations: 0.8904 MB / 1.207 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5302, allocations: 0 / 1.207 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002079/0.5322, allocations: 0.7135 MB / 1.208 GB, free: 9.242 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.001052/0.5333, allocations: 471.2 kB / 1.208 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002748/0.5361, allocations: 1.102 MB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5361, allocations: 4.062 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.5377, allocations: 0.5485 MB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/0.5413, allocations: 0.7647 MB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.5457, allocations: 2.795 MB / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008234/0.5465, allocations: 1.191 MB / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001246/0.5478, allocations: 306.1 kB / 1.215 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.5481, allocations: 107.4 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.5481, allocations: 0 / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of Templates: time 0.05162/0.5997, allocations: 31.54 MB / 1.246 GB, free: 2.734 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe 2>&1)