Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001568/0.001568, allocations: 192 kB / 16.14 MB, free: 6.688 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.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 60.19 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 159.9 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06979/0.4152, allocations: 74.76 MB / 1.141 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.434, allocations: 15.21 MB / 1.155 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.4362, allocations: 67.62 kB / 1.155 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.4381, allocations: 0.6682 MB / 1.156 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006069/0.4442, allocations: 2.379 MB / 1.158 GB, free: 13.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.4473, allocations: 1.271 MB / 1.16 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005784/0.453, allocations: 5.569 MB / 1.165 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.4548, allocations: 1.187 MB / 1.166 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.4573, allocations: 1.373 MB / 1.168 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.459, allocations: 1.194 MB / 1.169 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.4592, allocations: 76 kB / 1.169 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.4619, allocations: 1.255 MB / 1.17 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.4622, allocations: 322.5 kB / 1.17 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008946/0.4631, allocations: 0.8084 MB / 1.171 GB, free: 428 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.4663, allocations: 2.773 MB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4663, allocations: 0 / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.12e-07/0.4663, allocations: 0 / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.209e-05/0.4663, allocations: 0 / 1.174 GB, free: 13.64 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.003714/0.47, allocations: 2.079 MB / 1.176 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4701, allocations: 8.031 kB / 1.176 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008263/0.4709, allocations: 230.9 kB / 1.176 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.4733, allocations: 1.493 MB / 1.178 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/0.4734, allocations: 81.98 kB / 1.178 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.4736, allocations: 104 kB / 1.178 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.4756, allocations: 1.096 MB / 1.179 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.4757, allocations: 0 / 1.179 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.501e-05/0.4758, allocations: 40 kB / 1.179 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.4758, allocations: 35.92 kB / 1.179 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.4778, allocations: 0.89 MB / 1.18 GB, free: 7.43 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.005757/0.4835, allocations: 4.904 MB / 1.185 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.485, allocations: 0.6158 MB / 1.185 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.4857, allocations: 344.1 kB / 1.185 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006141/0.4863, allocations: 0.8316 MB / 1.186 GB, free: 268 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.4863, allocations: 35.12 kB / 1.186 GB, free: 224 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 1.933e-06/0.4863, allocations: 4 kB / 1.186 GB, free: 220 kB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.007048/0.4934, allocations: 1.689 MB / 1.188 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.4934, allocations: 59.97 kB / 1.188 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.495, allocations: 1.214 MB / 1.189 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/0.4951, allocations: 37.7 kB / 1.189 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/0.4956, allocations: 0.6104 MB / 1.19 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.4958, allocations: 216.9 kB / 1.19 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.496, allocations: 166.3 kB / 1.19 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4961, allocations: 334 kB / 1.191 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006722/0.4968, allocations: 288.7 kB / 1.191 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/0.4977, allocations: 0.4896 MB / 1.191 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.499, allocations: 0.709 MB / 1.192 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4991, allocations: 4 kB / 1.192 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004623/0.5037, allocations: 1.273 MB / 1.193 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5037, allocations: 9.406 kB / 1.193 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5037, allocations: 4 kB / 1.193 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/0.5043, allocations: 137 kB / 1.193 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.505, allocations: 163.8 kB / 1.194 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008113/0.5058, allocations: 0.7122 MB / 1.194 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.5069, allocations: 147.1 kB / 1.194 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/0.507, allocations: 35.98 kB / 1.194 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001101/0.5081, allocations: 0.5565 MB / 1.195 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008236/0.5089, allocations: 492.7 kB / 1.195 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001352/0.5103, allocations: 0.705 MB / 1.196 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.5103, allocations: 0 / 1.196 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00461/0.5149, allocations: 1.273 MB / 1.197 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5149, allocations: 4 kB / 1.197 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.515, allocations: 4 kB / 1.197 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/0.5155, allocations: 145 kB / 1.197 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.5161, allocations: 159.7 kB / 1.198 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000808/0.5169, allocations: 0.6968 MB / 1.198 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.5181, allocations: 131.4 kB / 1.198 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.5182, allocations: 35.98 kB / 1.198 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.0002421/0.5184, allocations: 229.9 kB / 1.199 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.5187, allocations: 130.4 kB / 1.199 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/0.5234, allocations: 1.267 MB / 1.2 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.5234, allocations: 8 kB / 1.2 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5234, allocations: 4 kB / 1.2 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003993/0.5274, allocations: 1.103 MB / 1.201 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006487/0.5339, allocations: 2.614 MB / 1.204 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5339, allocations: 4 kB / 1.204 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.5344, allocations: 111.9 kB / 1.204 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/0.5349, allocations: 133.3 kB / 1.204 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.535, allocations: 23.98 kB / 1.204 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004692/0.5397, allocations: 2.38 MB / 1.206 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5397, allocations: 4 kB / 1.206 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/0.545, allocations: 1.691 MB / 1.208 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008671/0.5459, allocations: 315.1 kB / 1.208 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003628/0.5463, allocations: 23.92 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5474, allocations: 75.89 kB / 1.208 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.5476, allocations: 68.23 kB / 1.208 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/0.5477, allocations: 27.98 kB / 1.208 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001476/0.5492, allocations: 0.8701 MB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.5e-07/0.5492, allocations: 0 / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00221/0.5514, allocations: 0.7096 MB / 1.21 GB, free: 7.148 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.001074/0.5525, allocations: 454.7 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002824/0.5553, allocations: 1.11 MB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.5553, allocations: 0 / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.557, allocations: 0.5565 MB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/0.5607, allocations: 0.7626 MB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.5653, allocations: 2.758 MB / 1.215 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009415/0.5662, allocations: 1.179 MB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00148/0.5677, allocations: 310.9 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.568, allocations: 103.4 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/0.568, allocations: 4 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.05265/0.6207, allocations: 30.46 MB / 1.247 GB, free: 1.703 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)