Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.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.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008251/0.000825, 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.005951/0.005951, allocations: 169.9 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.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 12.97 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2916, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.06944/0.3611, allocations: 73.68 MB / 1.146 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01728/0.3784, allocations: 12.74 MB / 1.159 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.3807, allocations: 59.62 kB / 1.159 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.3827, allocations: 0.6798 MB / 1.159 GB, free: 108 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006862/0.3895, allocations: 2.279 MB / 1.161 GB, free: 13.82 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.3935, allocations: 1.271 MB / 1.163 GB, free: 12.56 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006752/0.4003, allocations: 5.596 MB / 1.168 GB, free: 6.949 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.4024, allocations: 1.159 MB / 1.169 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.4054, allocations: 1.322 MB / 1.171 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.4072, allocations: 1.135 MB / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003302/0.4076, allocations: 56 kB / 1.172 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.4109, allocations: 1.247 MB / 1.173 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.4113, allocations: 294.5 kB / 1.173 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.4128, allocations: 0.8061 MB / 1.174 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.4168, allocations: 2.753 MB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4168, allocations: 0 / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.664e-06/0.4168, allocations: 3.938 kB / 1.177 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.07e-05/0.4169, allocations: 0 / 1.177 GB, free: 14.11 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.003455/0.4203, allocations: 1.803 MB / 1.179 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4204, allocations: 16.02 kB / 1.179 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008116/0.4212, allocations: 242.8 kB / 1.179 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.4237, allocations: 1.513 MB / 1.18 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.173e-05/0.4238, allocations: 74 kB / 1.18 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.424, allocations: 104 kB / 1.18 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.4263, allocations: 1.12 MB / 1.181 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.4264, allocations: 7.938 kB / 1.182 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.715e-05/0.4265, allocations: 36 kB / 1.182 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.4265, allocations: 28 kB / 1.182 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.4286, allocations: 0.9368 MB / 1.182 GB, free: 8.09 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.006471/0.4351, allocations: 4.943 MB / 1.187 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.4366, allocations: 0.6275 MB / 1.188 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/0.4373, allocations: 358.4 kB / 1.188 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/0.438, allocations: 0.8277 MB / 1.189 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.438, allocations: 43.11 kB / 1.189 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 3.116e-06/0.438, allocations: 0 / 1.189 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.008323/0.4463, allocations: 1.931 MB / 1.191 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.4464, allocations: 55.97 kB / 1.191 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.4482, allocations: 1.247 MB / 1.192 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.4483, allocations: 41.7 kB / 1.192 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/0.4488, allocations: 0.6106 MB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.4491, allocations: 220.8 kB / 1.193 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.4492, allocations: 61.67 kB / 1.193 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4493, allocations: 334 kB / 1.193 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.45, allocations: 297.8 kB / 1.194 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000869/0.4509, allocations: 0.5124 MB / 1.194 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.4524, allocations: 0.748 MB / 1.195 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4524, allocations: 0 / 1.195 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005178/0.4576, allocations: 1.402 MB / 1.196 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.4578, allocations: 198.5 kB / 1.197 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4578, allocations: 0 / 1.197 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006693/0.4584, allocations: 164.6 kB / 1.197 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.4591, allocations: 163.8 kB / 1.197 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008902/0.46, allocations: 0.7239 MB / 1.198 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.4613, allocations: 167.1 kB / 1.198 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.4614, allocations: 28 kB / 1.198 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.4614, allocations: 7.938 kB / 1.198 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004706/0.4662, allocations: 1.253 MB / 1.199 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4662, allocations: 7.938 kB / 1.199 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.4668, allocations: 156.9 kB / 1.199 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006384/0.4674, allocations: 159.8 kB / 1.199 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000887/0.4683, allocations: 0.72 MB / 1.2 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.4697, allocations: 163.2 kB / 1.2 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.4698, allocations: 27.98 kB / 1.2 GB, free: 5.109 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.0008181/0.4706, allocations: 417.5 kB / 1.201 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.4709, allocations: 134.3 kB / 1.201 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005052/0.476, allocations: 1.396 MB / 1.202 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.476, allocations: 12 kB / 1.202 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.476, allocations: 4 kB / 1.202 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004522/0.4805, allocations: 1.228 MB / 1.203 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007007/0.4876, allocations: 2.727 MB / 1.206 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4876, allocations: 0 / 1.206 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.4881, allocations: 124.3 kB / 1.206 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.4887, allocations: 144.7 kB / 1.206 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.4888, allocations: 27.98 kB / 1.206 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005047/0.4938, allocations: 2.482 MB / 1.209 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.4938, allocations: 7.938 kB / 1.209 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005948/0.4998, allocations: 1.844 MB / 1.21 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/0.5007, allocations: 347.1 kB / 1.211 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.5009, allocations: 19.94 kB / 1.211 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/0.5019, allocations: 87.88 kB / 1.211 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.502, allocations: 60.25 kB / 1.211 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/0.5021, allocations: 39.97 kB / 1.211 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001264/0.5034, allocations: 0.8866 MB / 1.212 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5034, allocations: 3.938 kB / 1.212 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001958/0.5053, allocations: 0.7135 MB / 1.213 GB, free: 8.027 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.0009404/0.5063, allocations: 475.3 kB / 1.213 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002647/0.5089, allocations: 1.16 MB / 1.214 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.509, allocations: 4.188 kB / 1.214 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.5105, allocations: 0.5914 MB / 1.215 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004349/0.5149, allocations: 0.8005 MB / 1.216 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.5189, allocations: 2.848 MB / 1.218 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.5196, allocations: 1.191 MB / 1.219 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001224/0.5209, allocations: 307.7 kB / 1.22 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.5212, allocations: 115.4 kB / 1.22 GB, free: 476 kB / 0.9669 GB Notification: Performance of SimCode: time 2.004e-06/0.5212, allocations: 0 / 1.22 GB, free: 476 kB / 0.9669 GB Notification: Performance of Templates: time 0.6049/1.126, allocations: 32.98 MB / 1.252 GB, free: 174 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe 2>&1)