Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, 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.001378/0.001379, allocations: 194.2 kB / 16.14 MB, free: 6.707 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 70.22 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3034, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05763/0.3611, allocations: 60.85 MB / 1.127 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.3781, allocations: 12.07 MB / 1.139 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.3804, allocations: 55.62 kB / 1.139 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.3827, allocations: 0.5477 MB / 1.139 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005714/0.3885, allocations: 1.8 MB / 1.141 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.3918, allocations: 1.071 MB / 1.142 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005074/0.3969, allocations: 3.896 MB / 1.146 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.3986, allocations: 0.9432 MB / 1.147 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.4012, allocations: 1.147 MB / 1.148 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.403, allocations: 0.8943 MB / 1.149 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.4034, allocations: 60 kB / 1.149 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.4066, allocations: 1.337 MB / 1.15 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004426/0.4071, allocations: 242.8 kB / 1.15 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.4084, allocations: 0.6294 MB / 1.151 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.4124, allocations: 2.228 MB / 1.153 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4124, allocations: 7.938 kB / 1.153 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4124, allocations: 0 / 1.153 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.433e-05/0.4125, allocations: 0 / 1.153 GB, free: 2.797 MB / 0.9044 GB 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.003869/0.4164, allocations: 1.715 MB / 1.155 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.4164, allocations: 16.02 kB / 1.155 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.4189, allocations: 406.9 kB / 1.155 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.4215, allocations: 1.132 MB / 1.156 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000369/0.4219, allocations: 113.9 kB / 1.157 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.4221, allocations: 87.94 kB / 1.157 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.4244, allocations: 0.9855 MB / 1.158 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.4244, allocations: 0 / 1.158 GB, free: 14.19 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.681e-05/0.4245, allocations: 35.98 kB / 1.158 GB, free: 14.15 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.4246, allocations: 20 kB / 1.158 GB, free: 14.13 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.4276, allocations: 0.8626 MB / 1.158 GB, free: 13.27 MB / 0.92 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.009273/0.4369, allocations: 4.824 MB / 1.163 GB, free: 8.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.4405, allocations: 0.8052 MB / 1.164 GB, free: 7.273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000749/0.4412, allocations: 303.6 kB / 1.164 GB, free: 6.977 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006943/0.442, allocations: 0.9064 MB / 1.165 GB, free: 5.867 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.442, allocations: 42.5 kB / 1.165 GB, free: 5.816 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/0.442, allocations: 0 / 1.165 GB, free: 5.816 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.008711/0.4507, allocations: 1.907 MB / 1.167 GB, free: 3.879 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.4508, allocations: 55.41 kB / 1.167 GB, free: 3.812 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.4527, allocations: 1.051 MB / 1.168 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.4528, allocations: 37.7 kB / 1.168 GB, free: 2.703 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.4532, allocations: 0.5273 MB / 1.169 GB, free: 2.172 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.4534, allocations: 153.8 kB / 1.169 GB, free: 2.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.4536, allocations: 122.1 kB / 1.169 GB, free: 1.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4538, allocations: 326 kB / 1.169 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009119/0.4547, allocations: 310.9 kB / 1.17 GB, free: 1.266 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.4558, allocations: 0.5025 MB / 1.17 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.4574, allocations: 0.685 MB / 1.171 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4575, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002909/0.4604, allocations: 0.9965 MB / 1.172 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4604, allocations: 4 kB / 1.172 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.4604, allocations: 4 kB / 1.172 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.4618, allocations: 317 kB / 1.172 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.4624, allocations: 123.8 kB / 1.172 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.4639, allocations: 0.9035 MB / 1.173 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.4654, allocations: 175.2 kB / 1.173 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/0.4655, allocations: 35.97 kB / 1.173 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001306/0.4668, allocations: 0.5049 MB / 1.174 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001107/0.4679, allocations: 0.5061 MB / 1.174 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001681/0.4696, allocations: 0.6719 MB / 1.175 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.614e-06/0.4696, allocations: 4 kB / 1.175 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00292/0.4725, allocations: 0.9845 MB / 1.176 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4726, allocations: 12.36 kB / 1.176 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.4726, allocations: 4 kB / 1.176 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.4738, allocations: 306.7 kB / 1.176 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.4744, allocations: 119.7 kB / 1.176 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.4761, allocations: 0.9114 MB / 1.177 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.4776, allocations: 161.2 kB / 1.177 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/0.4777, allocations: 24 kB / 1.177 GB, free: 8.965 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0003561/0.4781, allocations: 228 kB / 1.177 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.4785, allocations: 110.7 kB / 1.178 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.4824, allocations: 1.086 MB / 1.179 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.4824, allocations: 8 kB / 1.179 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4825, allocations: 7.938 kB / 1.179 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4825, allocations: 3.984 kB / 1.179 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005707/0.4882, allocations: 2.159 MB / 1.181 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.4882, allocations: 4.281 kB / 1.181 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.4885, allocations: 67.83 kB / 1.181 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.4897, allocations: 306.5 kB / 1.181 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/0.4898, allocations: 12 kB / 1.181 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.4915, allocations: 0.9463 MB / 1.182 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4915, allocations: 4.031 kB / 1.182 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004002/0.4955, allocations: 1.163 MB / 1.183 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/0.4962, allocations: 263.5 kB / 1.183 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/0.4964, allocations: 16 kB / 1.183 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.4975, allocations: 99.83 kB / 1.184 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.4976, allocations: 39.83 kB / 1.184 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/0.4976, allocations: 23.98 kB / 1.184 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001389/0.499, allocations: 0.7389 MB / 1.184 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4991, allocations: 0 / 1.184 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001845/0.5009, allocations: 0.5497 MB / 1.185 GB, free: 0.9375 MB / 0.9356 GB 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.5019, allocations: 379.8 kB / 1.185 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003407/0.5053, allocations: 1.106 MB / 1.186 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5054, allocations: 0 / 1.186 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.5063, allocations: 346.4 kB / 1.187 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.5091, allocations: 0.5006 MB / 1.187 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005786/0.5149, allocations: 2.417 MB / 1.19 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/0.5157, allocations: 1.058 MB / 1.191 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001063/0.5167, allocations: 220.6 kB / 1.191 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.517, allocations: 79.42 kB / 1.191 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.517, allocations: 0 / 1.191 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.04078/0.5578, allocations: 23.76 MB / 1.214 GB, free: 3.273 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)