Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4814/0.4814, allocations: 87.51 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 94.41 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 51.92 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3309, allocations: 70.07 MB / 0.5575 GB, free: 44.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04687/0.3779, allocations: 60.81 MB / 0.6169 GB, free: 216 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01701/0.3949, allocations: 12.05 MB / 0.6286 GB, free: 4.125 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.3974, allocations: 55.69 kB / 0.6287 GB, free: 4.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.3995, allocations: 0.5516 MB / 0.6292 GB, free: 3.516 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.4044, allocations: 1.805 MB / 0.631 GB, free: 1.703 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.407, allocations: 1.075 MB / 0.632 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004398/0.4114, allocations: 3.925 MB / 0.6359 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.4128, allocations: 0.9412 MB / 0.6368 GB, free: 11.73 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.4149, allocations: 1.159 MB / 0.6379 GB, free: 10.57 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.4161, allocations: 0.9021 MB / 0.6388 GB, free: 9.664 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.4162, allocations: 56 kB / 0.6389 GB, free: 9.609 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.4189, allocations: 1.368 MB / 0.6402 GB, free: 8.238 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.4192, allocations: 230.9 kB / 0.6404 GB, free: 8.012 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007656/0.42, allocations: 0.6372 MB / 0.641 GB, free: 7.371 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.423, allocations: 2.247 MB / 0.6432 GB, free: 5.117 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4231, allocations: 3.938 kB / 0.6432 GB, free: 5.113 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4231, allocations: 0 / 0.6432 GB, free: 5.113 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.4231, allocations: 0 / 0.6432 GB, free: 5.113 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003239/0.4263, allocations: 1.726 MB / 0.6449 GB, free: 3.324 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.4264, allocations: 12.03 kB / 0.6449 GB, free: 3.312 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.4282, allocations: 343 kB / 0.6453 GB, free: 2.977 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.4305, allocations: 1.12 MB / 0.6464 GB, free: 1.801 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/0.4309, allocations: 121.9 kB / 0.6465 GB, free: 1.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.431, allocations: 80 kB / 0.6466 GB, free: 1.602 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.433, allocations: 0.9427 MB / 0.6475 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.433, allocations: 0 / 0.6475 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.052e-05/0.4331, allocations: 39.94 kB / 0.6475 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.4331, allocations: 24 kB / 0.6475 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.4351, allocations: 0.8002 MB / 0.6483 GB, free: 15.75 MB / 474.7 MB 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.006193/0.4413, allocations: 4.757 MB / 0.653 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.4429, allocations: 0.571 MB / 0.6535 GB, free: 10.06 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006013/0.4435, allocations: 264.7 kB / 0.6538 GB, free: 9.801 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.4448, allocations: 1.369 MB / 0.6551 GB, free: 8.137 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4448, allocations: 50.42 kB / 0.6552 GB, free: 8.078 MB / 474.7 MB Notification: Performance of pre-optimization done (n=43): time 2.324e-06/0.4448, allocations: 0 / 0.6552 GB, free: 8.078 MB / 474.7 MB Notification: Performance of matching and sorting (n=43): time 0.00808/0.4529, allocations: 1.817 MB / 0.6569 GB, free: 6.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.453, allocations: 55.41 kB / 0.657 GB, free: 6.164 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.4544, allocations: 1.051 MB / 0.658 GB, free: 5.098 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.4545, allocations: 33.7 kB / 0.658 GB, free: 5.059 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.4549, allocations: 0.5312 MB / 0.6586 GB, free: 4.523 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.4551, allocations: 157.8 kB / 0.6587 GB, free: 4.367 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.4553, allocations: 126.1 kB / 0.6588 GB, free: 4.234 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4554, allocations: 326 kB / 0.6591 GB, free: 3.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007632/0.4562, allocations: 270.9 kB / 0.6594 GB, free: 3.645 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009157/0.4571, allocations: 486.2 kB / 0.6599 GB, free: 3.086 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.4585, allocations: 0.6199 MB / 0.6605 GB, free: 2.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4585, allocations: 0 / 0.6605 GB, free: 2.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00235/0.4609, allocations: 0.9374 MB / 0.6614 GB, free: 1.461 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4609, allocations: 8 kB / 0.6614 GB, free: 1.453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4609, allocations: 4 kB / 0.6614 GB, free: 1.449 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.4622, allocations: 313.8 kB / 0.6617 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.4626, allocations: 111.8 kB / 0.6618 GB, free: 1.031 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.464, allocations: 0.9139 MB / 0.6627 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.4652, allocations: 167.2 kB / 0.6629 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.4652, allocations: 27.98 kB / 0.6629 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001022/0.4663, allocations: 485.1 kB / 0.6633 GB, free: 15.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008865/0.4672, allocations: 478.1 kB / 0.6638 GB, free: 14.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001349/0.4685, allocations: 0.6199 MB / 0.6644 GB, free: 14.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.4685, allocations: 0 / 0.6644 GB, free: 14.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002244/0.4708, allocations: 0.9218 MB / 0.6653 GB, free: 13.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4708, allocations: 9.969 kB / 0.6653 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4708, allocations: 4 kB / 0.6653 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.4719, allocations: 313 kB / 0.6656 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.4723, allocations: 107.9 kB / 0.6657 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.4737, allocations: 0.9035 MB / 0.6666 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.4748, allocations: 151.6 kB / 0.6667 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/0.4749, allocations: 31.98 kB / 0.6668 GB, free: 11.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000193/0.4751, allocations: 220 kB / 0.667 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.4753, allocations: 106.7 kB / 0.6671 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/0.4789, allocations: 1.072 MB / 0.6681 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.4789, allocations: 4 kB / 0.6681 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4789, allocations: 0 / 0.6681 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.479, allocations: 7.922 kB / 0.6681 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/0.4838, allocations: 2.067 MB / 0.6702 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.4838, allocations: 4 kB / 0.6702 GB, free: 8.148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.4841, allocations: 51.91 kB / 0.6702 GB, free: 8.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.4852, allocations: 316.8 kB / 0.6705 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.4852, allocations: 16 kB / 0.6705 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.4867, allocations: 0.944 MB / 0.6715 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4867, allocations: 7.938 kB / 0.6715 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004514/0.4913, allocations: 2.162 MB / 0.6736 GB, free: 4.539 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/0.4918, allocations: 255.5 kB / 0.6738 GB, free: 4.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.4919, allocations: 16 kB / 0.6738 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008656/0.4928, allocations: 87.81 kB / 0.6739 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.4929, allocations: 39.83 kB / 0.674 GB, free: 4.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.493, allocations: 23.98 kB / 0.674 GB, free: 4.105 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00114/0.4941, allocations: 0.7389 MB / 0.6747 GB, free: 3.359 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4941, allocations: 0 / 0.6747 GB, free: 3.359 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001718/0.4958, allocations: 0.5809 MB / 0.6753 GB, free: 2.777 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008801/0.4967, allocations: 405.2 kB / 0.6757 GB, free: 2.383 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.4995, allocations: 0.9964 MB / 0.6766 GB, free: 1.391 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4995, allocations: 0 / 0.6766 GB, free: 1.391 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.5003, allocations: 313.6 kB / 0.6769 GB, free: 1.082 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.5026, allocations: 0.4987 MB / 0.6774 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.5062, allocations: 2.526 MB / 0.6799 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.5068, allocations: 1.073 MB / 0.6809 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000828/0.5077, allocations: 221.3 kB / 0.6811 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.5079, allocations: 71.42 kB / 0.6812 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.5079, allocations: 0 / 0.6812 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.03854/0.5464, allocations: 24.62 MB / 0.7053 GB, free: 4.219 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)