Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001228/0.001228, allocations: 193.7 kB / 16.14 MB, free: 6.703 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001291, allocations: 68.45 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3333, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0758/0.4091, allocations: 74.78 MB / 1.141 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02193/0.4311, allocations: 15.22 MB / 1.155 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002938/0.4341, allocations: 63.56 kB / 1.155 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0027/0.4368, allocations: 0.6761 MB / 1.156 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007356/0.4442, allocations: 2.387 MB / 1.158 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.4477, allocations: 1.263 MB / 1.16 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006682/0.4544, allocations: 5.566 MB / 1.165 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.4564, allocations: 1.194 MB / 1.166 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.4594, allocations: 1.373 MB / 1.168 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.4612, allocations: 1.198 MB / 1.169 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.4615, allocations: 72 kB / 1.169 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.4645, allocations: 1.255 MB / 1.17 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.4649, allocations: 310.6 kB / 1.17 GB, free: 1.234 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.4661, allocations: 0.8162 MB / 1.171 GB, free: 424 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003993/0.4701, allocations: 2.781 MB / 1.174 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.4701, allocations: 0 / 1.174 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4701, allocations: 0 / 1.174 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.813e-05/0.4702, allocations: 0 / 1.174 GB, free: 13.62 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.00406/0.4742, allocations: 2.083 MB / 1.176 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4743, allocations: 8.031 kB / 1.176 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008388/0.4751, allocations: 226.8 kB / 1.176 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.4776, allocations: 1.497 MB / 1.178 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.4777, allocations: 74 kB / 1.178 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.4778, allocations: 104 kB / 1.178 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.4799, allocations: 1.096 MB / 1.179 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.4799, allocations: 3.938 kB / 1.179 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.325e-05/0.48, allocations: 40 kB / 1.179 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.4801, allocations: 28 kB / 1.179 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.482, allocations: 0.8978 MB / 1.18 GB, free: 7.418 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.00621/0.4882, allocations: 4.9 MB / 1.185 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.4897, allocations: 0.6097 MB / 1.185 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/0.4905, allocations: 352.4 kB / 1.186 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007226/0.4912, allocations: 0.8238 MB / 1.186 GB, free: 268 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.4913, allocations: 47.12 kB / 1.186 GB, free: 212 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 2.515e-06/0.4913, allocations: 0 / 1.186 GB, free: 212 kB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007701/0.499, allocations: 1.693 MB / 1.188 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.4991, allocations: 59.97 kB / 1.188 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.5015, allocations: 1.21 MB / 1.189 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.5016, allocations: 41.7 kB / 1.189 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005947/0.5022, allocations: 0.5988 MB / 1.19 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.5025, allocations: 224.7 kB / 1.19 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.5028, allocations: 154.6 kB / 1.19 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5029, allocations: 330 kB / 1.191 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007277/0.5037, allocations: 288.7 kB / 1.191 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009918/0.5047, allocations: 0.489 MB / 1.191 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.5063, allocations: 0.7206 MB / 1.192 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.5063, allocations: 7.938 kB / 1.192 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004998/0.5113, allocations: 1.269 MB / 1.193 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5113, allocations: 11.94 kB / 1.193 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5113, allocations: 4 kB / 1.193 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.512, allocations: 137 kB / 1.193 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/0.5127, allocations: 159.8 kB / 1.194 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009101/0.5136, allocations: 0.7044 MB / 1.194 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.515, allocations: 159.1 kB / 1.194 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.5151, allocations: 31.98 kB / 1.194 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001246/0.5163, allocations: 0.5494 MB / 1.195 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009325/0.5173, allocations: 496.8 kB / 1.195 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001452/0.5188, allocations: 0.7088 MB / 1.196 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.5188, allocations: 4 kB / 1.196 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005013/0.5238, allocations: 1.261 MB / 1.197 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5238, allocations: 8 kB / 1.197 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.5238, allocations: 4 kB / 1.197 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/0.5244, allocations: 136.8 kB / 1.198 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.5251, allocations: 159.7 kB / 1.198 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008401/0.5259, allocations: 0.7047 MB / 1.198 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.5273, allocations: 139.5 kB / 1.198 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.5274, allocations: 27.98 kB / 1.199 GB, free: 3.332 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.0002749/0.5276, allocations: 233.1 kB / 1.199 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.528, allocations: 130.4 kB / 1.199 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004783/0.5328, allocations: 1.271 MB / 1.2 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.5328, allocations: 11.98 kB / 1.2 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.5329, allocations: 0 / 1.2 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004271/0.5371, allocations: 1.099 MB / 1.201 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007653/0.5448, allocations: 2.606 MB / 1.204 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.5448, allocations: 8.031 kB / 1.204 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/0.5454, allocations: 115.7 kB / 1.204 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/0.5459, allocations: 132.7 kB / 1.204 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.852e-05/0.546, allocations: 16 kB / 1.204 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/0.551, allocations: 2.384 MB / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.551, allocations: 7.938 kB / 1.206 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00555/0.5566, allocations: 1.703 MB / 1.208 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008146/0.5574, allocations: 311.1 kB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003445/0.5578, allocations: 16 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.5589, allocations: 87.81 kB / 1.208 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.559, allocations: 60.23 kB / 1.208 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.5591, allocations: 35.98 kB / 1.208 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001496/0.5606, allocations: 0.8662 MB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5606, allocations: 0 / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002278/0.5629, allocations: 0.7057 MB / 1.21 GB, free: 7.141 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.001056/0.564, allocations: 446.3 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003024/0.567, allocations: 1.114 MB / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.5671, allocations: 0 / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.5688, allocations: 0.5603 MB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004571/0.5734, allocations: 0.7623 MB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.5786, allocations: 2.764 MB / 1.216 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.5797, allocations: 1.183 MB / 1.217 GB, free: 224 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001566/0.5812, allocations: 307 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.5816, allocations: 107.3 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of SimCode: time 9.42e-07/0.5816, allocations: 0 / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of Templates: time 0.05296/0.6346, allocations: 30.51 MB / 1.247 GB, free: 1.637 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)