Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009473/0.0009473, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008888/0.008888, allocations: 170 kB / 16.26 MB, free: 6.613 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.739/2.739, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 9.375 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3601, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06862/0.4288, allocations: 73.52 MB / 1.146 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02198/0.4508, allocations: 15.04 MB / 1.161 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00383/0.4547, allocations: 67.5 kB / 1.161 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002636/0.4573, allocations: 0.676 MB / 1.161 GB, free: 13.94 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007761/0.4651, allocations: 2.376 MB / 1.164 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.4692, allocations: 1.274 MB / 1.165 GB, free: 10.29 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008095/0.4773, allocations: 5.558 MB / 1.17 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.4793, allocations: 1.163 MB / 1.171 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.482, allocations: 1.318 MB / 1.173 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.4838, allocations: 1.151 MB / 1.174 GB, free: 1.047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.484, allocations: 56 kB / 1.174 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.4868, allocations: 1.239 MB / 1.175 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.4872, allocations: 282.7 kB / 1.175 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009786/0.4882, allocations: 0.8022 MB / 1.176 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.4917, allocations: 2.718 MB / 1.179 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4917, allocations: 0 / 1.179 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4917, allocations: 0 / 1.179 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.4917, allocations: 0 / 1.179 GB, free: 11.93 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.003434/0.4952, allocations: 1.781 MB / 1.181 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4952, allocations: 12.03 kB / 1.181 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008164/0.496, allocations: 242.8 kB / 1.181 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.4986, allocations: 1.486 MB / 1.182 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/0.4987, allocations: 77.94 kB / 1.182 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.4989, allocations: 112 kB / 1.182 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.501, allocations: 1.116 MB / 1.184 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.501, allocations: 7.984 kB / 1.184 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.473e-05/0.5011, allocations: 47.94 kB / 1.184 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.5012, allocations: 24 kB / 1.184 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.5033, allocations: 0.9329 MB / 1.185 GB, free: 5.953 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.006288/0.5096, allocations: 4.907 MB / 1.189 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.511, allocations: 0.6393 MB / 1.19 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008479/0.5119, allocations: 370.8 kB / 1.19 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/0.5126, allocations: 0.8238 MB / 1.191 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.5126, allocations: 51.12 kB / 1.191 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/0.5126, allocations: 3.938 kB / 1.191 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.007875/0.5205, allocations: 1.896 MB / 1.193 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.5206, allocations: 59.97 kB / 1.193 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.5222, allocations: 1.206 MB / 1.194 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-05/0.5223, allocations: 45.7 kB / 1.194 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005644/0.5229, allocations: 0.6065 MB / 1.195 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.5231, allocations: 220.8 kB / 1.195 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.5232, allocations: 61.69 kB / 1.195 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5233, allocations: 337.9 kB / 1.195 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007238/0.524, allocations: 297.8 kB / 1.196 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/0.5249, allocations: 0.5046 MB / 1.196 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.5265, allocations: 0.7597 MB / 1.197 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5266, allocations: 4 kB / 1.197 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005099/0.5317, allocations: 1.398 MB / 1.198 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.5318, allocations: 198.2 kB / 1.199 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5318, allocations: 7.938 kB / 1.199 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.5325, allocations: 144.7 kB / 1.199 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.5331, allocations: 167.8 kB / 1.199 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008929/0.534, allocations: 0.72 MB / 1.2 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.5352, allocations: 171 kB / 1.2 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/0.5353, allocations: 32 kB / 1.2 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.5353, allocations: 5.719 kB / 1.2 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004748/0.5401, allocations: 1.257 MB / 1.201 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5401, allocations: 4 kB / 1.201 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/0.5406, allocations: 145.1 kB / 1.201 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.5412, allocations: 163.8 kB / 1.201 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008131/0.542, allocations: 0.7161 MB / 1.202 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.5432, allocations: 167.8 kB / 1.202 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.5432, allocations: 24 kB / 1.202 GB, free: 3.066 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.0006214/0.5439, allocations: 421.5 kB / 1.203 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.5441, allocations: 138.2 kB / 1.203 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005046/0.5491, allocations: 1.404 MB / 1.204 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.5492, allocations: 12 kB / 1.204 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5492, allocations: 0 / 1.204 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004598/0.5538, allocations: 1.236 MB / 1.205 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007134/0.5609, allocations: 2.735 MB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.5609, allocations: 4 kB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.5615, allocations: 120.3 kB / 1.208 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005092/0.562, allocations: 144.6 kB / 1.208 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.562, allocations: 23.94 kB / 1.208 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005102/0.5671, allocations: 2.489 MB / 1.211 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.5672, allocations: 4 kB / 1.211 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/0.5729, allocations: 1.848 MB / 1.212 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/0.5735, allocations: 331.1 kB / 1.213 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.5737, allocations: 20.05 kB / 1.213 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009346/0.5746, allocations: 99.75 kB / 1.213 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.5748, allocations: 60.23 kB / 1.213 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.5749, allocations: 35.98 kB / 1.213 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001257/0.5761, allocations: 0.8701 MB / 1.214 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5761, allocations: 0 / 1.214 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001872/0.578, allocations: 0.7057 MB / 1.215 GB, free: 5.973 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.0009509/0.579, allocations: 461.4 kB / 1.215 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002828/0.5818, allocations: 1.168 MB / 1.216 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5818, allocations: 4.188 kB / 1.216 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.5835, allocations: 0.5954 MB / 1.217 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004828/0.5884, allocations: 0.7904 MB / 1.217 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.593, allocations: 2.82 MB / 1.22 GB, free: 64 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008602/0.5939, allocations: 1.187 MB / 1.221 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001385/0.5953, allocations: 310.9 kB / 1.222 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.5956, allocations: 111.4 kB / 1.222 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of SimCode: time 1.112e-06/0.5956, allocations: 0 / 1.222 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.5734/1.169, allocations: 31.94 MB / 1.253 GB, free: 173.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)