Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001359/0.001359, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001698/0.001698, allocations: 191.9 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 251.6 MB / 0.5089 GB, free: 3.348 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4876, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05417/0.5418, allocations: 60.72 MB / 0.7833 GB, free: 196 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.5591, allocations: 11.79 MB / 0.7948 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.5614, allocations: 55.62 kB / 0.7948 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.5638, allocations: 0.579 MB / 0.7954 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005828/0.5697, allocations: 1.804 MB / 0.7972 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.5728, allocations: 1.11 MB / 0.7982 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004587/0.5774, allocations: 3.098 MB / 0.8013 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.5794, allocations: 1.092 MB / 0.8023 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/0.5831, allocations: 1.33 MB / 0.8036 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.585, allocations: 0.9334 MB / 0.8045 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.5854, allocations: 120 kB / 0.8047 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.5884, allocations: 1.427 MB / 0.8061 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004372/0.5889, allocations: 302.8 kB / 0.8063 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.5902, allocations: 0.692 MB / 0.807 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.5942, allocations: 2.298 MB / 0.8093 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.5942, allocations: 4 kB / 0.8093 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5942, allocations: 0 / 0.8093 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.478e-05/0.5943, allocations: 0 / 0.8093 GB, free: 5.477 MB / 0.6231 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.003709/0.598, allocations: 1.726 MB / 0.811 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5981, allocations: 12.03 kB / 0.811 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.6004, allocations: 406.8 kB / 0.8114 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.6033, allocations: 1.132 MB / 0.8125 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003636/0.6037, allocations: 121.8 kB / 0.8126 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.6039, allocations: 80 kB / 0.8127 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.6063, allocations: 0.976 MB / 0.8136 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.6063, allocations: 0 / 0.8136 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/0.6064, allocations: 36 kB / 0.8136 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.6064, allocations: 23.98 kB / 0.8137 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.6088, allocations: 0.8743 MB / 0.8145 GB, free: 15.94 MB / 0.6387 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.007345/0.6162, allocations: 4.591 MB / 0.819 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003472/0.6197, allocations: 0.8444 MB / 0.8198 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.6205, allocations: 314 kB / 0.8201 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/0.6212, allocations: 0.9067 MB / 0.821 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.6213, allocations: 39 kB / 0.821 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.6213, allocations: 4 kB / 0.8211 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.00789/0.6292, allocations: 1.807 MB / 0.8228 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.6293, allocations: 55.84 kB / 0.8229 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.6312, allocations: 1.048 MB / 0.8239 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.6314, allocations: 37.7 kB / 0.8239 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/0.6319, allocations: 0.5196 MB / 0.8244 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.6321, allocations: 161.6 kB / 0.8246 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.6324, allocations: 138.1 kB / 0.8247 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6325, allocations: 330 kB / 0.825 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009315/0.6335, allocations: 318.9 kB / 0.8253 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.6346, allocations: 0.5133 MB / 0.8258 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.6363, allocations: 0.6864 MB / 0.8265 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.6364, allocations: 4 kB / 0.8265 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003887/0.6402, allocations: 1.178 MB / 0.8277 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.6403, allocations: 7.938 kB / 0.8277 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.6403, allocations: 7.938 kB / 0.8277 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.6416, allocations: 312.8 kB / 0.828 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.6422, allocations: 123.8 kB / 0.8281 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.6437, allocations: 0.9113 MB / 0.829 GB, free: 340 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.6451, allocations: 171.3 kB / 0.8292 GB, free: 168 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.6453, allocations: 35.98 kB / 0.8292 GB, free: 132 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001293/0.6466, allocations: 0.5127 MB / 0.8297 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001086/0.6477, allocations: 0.5131 MB / 0.8302 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001673/0.6493, allocations: 0.6863 MB / 0.8309 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.009e-06/0.6494, allocations: 4 kB / 0.8309 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003723/0.6531, allocations: 1.159 MB / 0.832 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6531, allocations: 4 kB / 0.832 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6531, allocations: 4 kB / 0.832 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.6542, allocations: 312.1 kB / 0.8323 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.6548, allocations: 123.8 kB / 0.8324 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.6562, allocations: 0.9074 MB / 0.8333 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.6576, allocations: 159.5 kB / 0.8335 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/0.6577, allocations: 35.92 kB / 0.8335 GB, free: 11.55 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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.0002663/0.658, allocations: 220.1 kB / 0.8337 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.6583, allocations: 110.6 kB / 0.8338 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/0.6621, allocations: 1.147 MB / 0.8349 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.6621, allocations: 7.984 kB / 0.8349 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6621, allocations: 0 / 0.8349 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.6621, allocations: 0 / 0.8349 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005476/0.6676, allocations: 2.224 MB / 0.8371 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.6676, allocations: 4 kB / 0.8371 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.668, allocations: 68.16 kB / 0.8372 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.669, allocations: 310.5 kB / 0.8375 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.6691, allocations: 19.94 kB / 0.8375 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.6707, allocations: 0.9387 MB / 0.8384 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6707, allocations: 0 / 0.8384 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004565/0.6753, allocations: 1.344 MB / 0.8397 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.6759, allocations: 267.5 kB / 0.84 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.6761, allocations: 16 kB / 0.84 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.6772, allocations: 91.8 kB / 0.8401 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.821e-05/0.6773, allocations: 55.81 kB / 0.8401 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.6774, allocations: 27.98 kB / 0.8402 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00133/0.6787, allocations: 0.7313 MB / 0.8409 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6787, allocations: 0 / 0.8409 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001739/0.6804, allocations: 0.5536 MB / 0.8414 GB, free: 3.219 MB / 0.6544 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 (37): * Single equations (assignments): 32 * 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.0009261/0.6814, allocations: 374.1 kB / 0.8418 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003398/0.6848, allocations: 1.171 MB / 0.8429 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6848, allocations: 4.062 kB / 0.8429 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009329/0.6858, allocations: 366.8 kB / 0.8433 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/0.6884, allocations: 0.5416 MB / 0.8438 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/0.6943, allocations: 2.451 MB / 0.8462 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007671/0.6951, allocations: 1.058 MB / 0.8472 GB, free: 13.21 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001172/0.6963, allocations: 232.8 kB / 0.8474 GB, free: 12.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.6966, allocations: 83.41 kB / 0.8475 GB, free: 12.89 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.6966, allocations: 3.938 kB / 0.8475 GB, free: 12.89 MB / 0.67 GB Notification: Performance of Templates: time 0.04241/0.739, allocations: 25.11 MB / 0.872 GB, free: 4.102 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)