Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 185.1 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.4558/0.4558, allocations: 87.5 MB / 104.9 MB, free: 13.01 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.377/1.377, allocations: 222.9 MB / 349.1 MB, free: 2.75 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.001065/0.001065, allocations: 105.3 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 56.11 kB / 0.4891 GB, free: 7.68 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3219, allocations: 70.06 MB / 0.5575 GB, free: 44.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.05507/0.377, allocations: 74.7 MB / 0.6304 GB, free: 2.246 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02033/0.3974, allocations: 15.21 MB / 0.6453 GB, free: 2.988 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.4006, allocations: 59.62 kB / 0.6453 GB, free: 2.93 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.4031, allocations: 0.6798 MB / 0.646 GB, free: 2.246 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008755/0.4119, allocations: 2.373 MB / 0.6483 GB, free: 15.86 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003875/0.4158, allocations: 1.27 MB / 0.6496 GB, free: 14.61 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.007675/0.4235, allocations: 5.606 MB / 0.655 GB, free: 8.988 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.4257, allocations: 1.204 MB / 0.6562 GB, free: 7.758 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.429, allocations: 1.384 MB / 0.6576 GB, free: 6.367 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.4312, allocations: 1.209 MB / 0.6587 GB, free: 5.152 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002605/0.4315, allocations: 72 kB / 0.6588 GB, free: 5.082 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.4343, allocations: 1.255 MB / 0.66 GB, free: 3.824 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.4347, allocations: 318.6 kB / 0.6603 GB, free: 3.512 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.4357, allocations: 0.8162 MB / 0.6611 GB, free: 2.691 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003489/0.4392, allocations: 2.781 MB / 0.6639 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4392, allocations: 0 / 0.6639 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4393, allocations: 0 / 0.6639 GB, free: 15.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.839e-05/0.4393, allocations: 3.938 kB / 0.6639 GB, free: 15.89 MB / 490.7 MB 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.003715/0.443, allocations: 2.079 MB / 0.6659 GB, free: 13.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4431, allocations: 15.97 kB / 0.6659 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/0.4438, allocations: 230.8 kB / 0.6661 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.4462, allocations: 1.497 MB / 0.6676 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.4463, allocations: 74 kB / 0.6677 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.4465, allocations: 104 kB / 0.6678 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.4483, allocations: 1.104 MB / 0.6688 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.4484, allocations: 4 kB / 0.6688 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.4484, allocations: 40 kB / 0.6689 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.4485, allocations: 24 kB / 0.6689 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.4503, allocations: 0.8977 MB / 0.6698 GB, free: 9.68 MB / 490.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.005722/0.456, allocations: 4.907 MB / 0.6746 GB, free: 4.484 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.4574, allocations: 0.612 MB / 0.6752 GB, free: 3.863 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.4581, allocations: 356.9 kB / 0.6755 GB, free: 3.516 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/0.4588, allocations: 0.8238 MB / 0.6763 GB, free: 2.508 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.4588, allocations: 43.12 kB / 0.6764 GB, free: 2.457 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 4.338e-06/0.4588, allocations: 0 / 0.6764 GB, free: 2.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.007211/0.466, allocations: 1.701 MB / 0.678 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.4661, allocations: 59.97 kB / 0.6781 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.468, allocations: 1.21 MB / 0.6793 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.4681, allocations: 41.7 kB / 0.6793 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004933/0.4686, allocations: 0.6065 MB / 0.6799 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.4688, allocations: 208.9 kB / 0.6801 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.4691, allocations: 158.5 kB / 0.6802 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4692, allocations: 334 kB / 0.6806 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006674/0.4699, allocations: 288.7 kB / 0.6808 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/0.4707, allocations: 0.489 MB / 0.6813 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.4722, allocations: 0.7167 MB / 0.682 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4722, allocations: 0 / 0.682 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004726/0.477, allocations: 1.269 MB / 0.6832 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.477, allocations: 8.375 kB / 0.6833 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.477, allocations: 8 kB / 0.6833 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.4776, allocations: 132.7 kB / 0.6834 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.4783, allocations: 155.8 kB / 0.6835 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009632/0.4793, allocations: 0.7083 MB / 0.6842 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.4807, allocations: 155 kB / 0.6844 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.4808, allocations: 39.98 kB / 0.6844 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001175/0.482, allocations: 0.5565 MB / 0.685 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008707/0.4829, allocations: 492.7 kB / 0.6854 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001403/0.4843, allocations: 0.705 MB / 0.6861 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.4843, allocations: 4 kB / 0.6861 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004783/0.4891, allocations: 1.265 MB / 0.6874 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4891, allocations: 4 kB / 0.6874 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4891, allocations: 4.375 kB / 0.6874 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005205/0.4897, allocations: 144.7 kB / 0.6875 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/0.4902, allocations: 163.7 kB / 0.6877 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008246/0.4911, allocations: 0.7007 MB / 0.6883 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.4923, allocations: 131.5 kB / 0.6885 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.4924, allocations: 36 kB / 0.6885 GB, free: 5.586 MB / 0.4948 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.0002411/0.4927, allocations: 231.9 kB / 0.6887 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.493, allocations: 134.3 kB / 0.6889 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/0.4976, allocations: 1.267 MB / 0.6901 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.4977, allocations: 12 kB / 0.6901 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4977, allocations: 0 / 0.6901 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004057/0.5017, allocations: 1.107 MB / 0.6912 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006787/0.5085, allocations: 2.602 MB / 0.6937 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.5086, allocations: 4 kB / 0.6937 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.509, allocations: 120.2 kB / 0.6938 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/0.5095, allocations: 132.7 kB / 0.694 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.5096, allocations: 16 kB / 0.694 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004512/0.5141, allocations: 2.384 MB / 0.6963 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5141, allocations: 4 kB / 0.6963 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03512/0.5492, allocations: 10.73 MB / 0.7068 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/0.5499, allocations: 315.1 kB / 0.7071 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.5501, allocations: 16 kB / 0.7071 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009502/0.5511, allocations: 79.88 kB / 0.7072 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.5513, allocations: 60.25 kB / 0.7072 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.922e-05/0.5513, allocations: 39.97 kB / 0.7073 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001324/0.5527, allocations: 0.8624 MB / 0.7081 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5527, allocations: 3.938 kB / 0.7081 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.2625/0.8152, allocations: 1.097 MB / 0.7092 GB, free: 143.9 MB / 0.5105 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.001057/0.8163, allocations: 433.3 kB / 0.7096 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003046/0.8193, allocations: 1.113 MB / 0.7107 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8194, allocations: 0.5312 kB / 0.7107 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.821, allocations: 0.563 MB / 0.7112 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/0.8251, allocations: 0.7652 MB / 0.712 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006005/0.8311, allocations: 3.5 MB / 0.7154 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009006/0.8321, allocations: 1.196 MB / 0.7166 GB, free: 141 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001593/0.8337, allocations: 310.2 kB / 0.7169 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.8339, allocations: 119.6 kB / 0.717 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of SimCode: time 7.92e-07/0.8339, allocations: 1.75 kB / 0.717 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.0442/0.8781, allocations: 33.47 MB / 0.7497 GB, free: 112.6 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)