Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, 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.002001/0.002001, allocations: 193.8 kB / 16.14 MB, free: 6.664 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.478/1.478, 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.956/2.956, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.56 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3306, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.06473/0.3954, allocations: 69.51 MB / 1.135 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.4157, allocations: 14.58 MB / 1.15 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.4184, allocations: 67.62 kB / 1.15 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003035/0.4215, allocations: 0.7498 MB / 1.15 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007978/0.4295, allocations: 2.364 MB / 1.153 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005839/0.4353, allocations: 1.774 MB / 1.154 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007422/0.4428, allocations: 5.869 MB / 1.16 GB, free: 11.72 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002733/0.4455, allocations: 1.336 MB / 1.161 GB, free: 10.35 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.4493, allocations: 1.482 MB / 1.163 GB, free: 8.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.4518, allocations: 1.244 MB / 1.164 GB, free: 7.613 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006731/0.4525, allocations: 88 kB / 1.164 GB, free: 7.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004559/0.457, allocations: 1.762 MB / 1.166 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.4578, allocations: 362.5 kB / 1.166 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001748/0.4595, allocations: 0.9173 MB / 1.167 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005424/0.465, allocations: 3.412 MB / 1.171 GB, free: 1.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.465, allocations: 4 kB / 1.171 GB, free: 1.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.953e-06/0.465, allocations: 4 kB / 1.171 GB, free: 1.059 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.283e-05/0.4651, allocations: 0 / 1.171 GB, free: 1.059 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00552/0.4706, allocations: 2.306 MB / 1.173 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.4707, allocations: 11.97 kB / 1.173 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007656/0.4783, allocations: 0.6972 MB / 1.173 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.4812, allocations: 1.553 MB / 1.175 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.4814, allocations: 128 kB / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002539/0.4817, allocations: 119.9 kB / 1.175 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004296/0.486, allocations: 1.661 MB / 1.177 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.486, allocations: 4 kB / 1.177 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.4862, allocations: 52 kB / 1.177 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.4863, allocations: 35.94 kB / 1.177 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005156/0.4914, allocations: 1.484 MB / 1.178 GB, free: 8.773 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.01073/0.5022, allocations: 7.272 MB / 1.185 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.5047, allocations: 0.8229 MB / 1.186 GB, free: 300 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.5066, allocations: 0.5068 MB / 1.187 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.5079, allocations: 1.274 MB / 1.188 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.508, allocations: 43.06 kB / 1.188 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 2.996e-06/0.508, allocations: 3.938 kB / 1.188 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.03032/0.5383, allocations: 4.139 MB / 1.192 GB, free: 10 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.5384, allocations: 119.4 kB / 1.192 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.5409, allocations: 1.363 MB / 1.194 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.5411, allocations: 41.7 kB / 1.194 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006299/0.5417, allocations: 0.6842 MB / 1.194 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.542, allocations: 244.5 kB / 1.195 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00042/0.5424, allocations: 230.3 kB / 1.195 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5426, allocations: 345.9 kB / 1.195 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.5447, allocations: 0.5005 MB / 1.196 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.547, allocations: 0.7822 MB / 1.196 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/0.551, allocations: 1.133 MB / 1.197 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.551, allocations: 4 kB / 1.197 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005985/0.557, allocations: 1.585 MB / 1.199 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.5571, allocations: 13.5 kB / 1.199 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.5571, allocations: 8 kB / 1.199 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.5592, allocations: 0.5673 MB / 1.2 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.5607, allocations: 239.6 kB / 1.2 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.5629, allocations: 1.17 MB / 1.201 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.5655, allocations: 262.6 kB / 1.201 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.5657, allocations: 51.95 kB / 1.201 GB, free: 392 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002709/0.5684, allocations: 0.7946 MB / 1.202 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002479/0.5709, allocations: 0.7744 MB / 1.203 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004018/0.5749, allocations: 1.133 MB / 1.204 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.354e-06/0.5749, allocations: 3.938 kB / 1.204 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005607/0.5806, allocations: 1.582 MB / 1.205 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5806, allocations: 15.94 kB / 1.205 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.5806, allocations: 4 kB / 1.205 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.5826, allocations: 0.5593 MB / 1.206 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.5842, allocations: 239.6 kB / 1.206 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.5865, allocations: 1.158 MB / 1.207 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.5893, allocations: 228.8 kB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.5894, allocations: 59.94 kB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004231/0.5899, allocations: 236 kB / 1.208 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005726/0.5904, allocations: 146.2 kB / 1.208 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005106/0.5955, allocations: 1.363 MB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.5956, allocations: 11.94 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.5956, allocations: 0 / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004123/0.5997, allocations: 1.172 MB / 1.21 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.6098, allocations: 3.461 MB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.6098, allocations: 4 kB / 1.214 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009436/0.6108, allocations: 139.9 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/0.6129, allocations: 0.5582 MB / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.464e-05/0.613, allocations: 27.91 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.6152, allocations: 1.158 MB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.6152, allocations: 7.938 kB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005001/0.6202, allocations: 1.446 MB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008907/0.6211, allocations: 351 kB / 1.217 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003884/0.6215, allocations: 20 kB / 1.217 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/0.6236, allocations: 155.7 kB / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6238, allocations: 56.25 kB / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.6239, allocations: 47.95 kB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001984/0.6259, allocations: 0.9576 MB / 1.219 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6259, allocations: 4 kB / 1.219 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003194/0.6291, allocations: 0.8889 MB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001482/0.6306, allocations: 0.5378 MB / 1.22 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007477/0.6381, allocations: 1.847 MB / 1.222 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.6381, allocations: 7.781 kB / 1.222 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/0.6404, allocations: 0.534 MB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/0.6448, allocations: 0.7774 MB / 1.223 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007747/0.6525, allocations: 3.198 MB / 1.226 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008432/0.6534, allocations: 1.211 MB / 1.227 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001796/0.6552, allocations: 331.4 kB / 1.228 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/0.6555, allocations: 119.4 kB / 1.228 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.6556, allocations: 0 / 1.228 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of Templates: time 0.5773/1.233, allocations: 38.07 MB / 1.265 GB, free: 169.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)