Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, 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.001824/0.001824, allocations: 194.2 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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.28 kB / 0.9113 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3587, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.07105/0.4298, allocations: 69.48 MB / 1.135 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.452, allocations: 14.57 MB / 1.15 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003648/0.4557, allocations: 71.56 kB / 1.15 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.4588, allocations: 0.7459 MB / 1.15 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008597/0.4674, allocations: 2.36 MB / 1.153 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007426/0.4748, allocations: 1.766 MB / 1.154 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.486, allocations: 5.918 MB / 1.16 GB, free: 11.74 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003963/0.49, allocations: 1.324 MB / 1.161 GB, free: 10.38 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005108/0.4951, allocations: 1.478 MB / 1.163 GB, free: 8.895 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.4983, allocations: 1.252 MB / 1.164 GB, free: 7.637 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007076/0.499, allocations: 88 kB / 1.164 GB, free: 7.551 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006305/0.5053, allocations: 1.763 MB / 1.166 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009582/0.5063, allocations: 358.5 kB / 1.166 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002591/0.5089, allocations: 0.9174 MB / 1.167 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008574/0.5175, allocations: 3.416 MB / 1.171 GB, free: 1.086 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5176, allocations: 0 / 1.171 GB, free: 1.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5176, allocations: 0 / 1.171 GB, free: 1.086 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001079/0.5177, allocations: 0 / 1.171 GB, free: 1.086 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.007714/0.5254, allocations: 2.294 MB / 1.173 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.5255, allocations: 12.03 kB / 1.173 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008098/0.5336, allocations: 0.6934 MB / 1.173 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/0.5374, allocations: 1.568 MB / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/0.5377, allocations: 128 kB / 1.175 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.5381, allocations: 120 kB / 1.175 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005226/0.5433, allocations: 1.629 MB / 1.177 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/0.5434, allocations: 7.984 kB / 1.177 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/0.5436, allocations: 55.98 kB / 1.177 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.5437, allocations: 39.94 kB / 1.177 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005388/0.5491, allocations: 1.457 MB / 1.178 GB, free: 8.859 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.01291/0.562, allocations: 7.003 MB / 1.185 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.5645, allocations: 0.7321 MB / 1.186 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.5663, allocations: 495.5 kB / 1.186 GB, free: 292 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/0.5679, allocations: 1.267 MB / 1.188 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.568, allocations: 43.12 kB / 1.188 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 2.505e-06/0.568, allocations: 0 / 1.188 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.02183/0.5898, allocations: 3.016 MB / 1.191 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.418e-05/0.5899, allocations: 115.3 kB / 1.191 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/0.5929, allocations: 1.366 MB / 1.192 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.593, allocations: 45.7 kB / 1.192 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/0.5938, allocations: 0.6956 MB / 1.193 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.5941, allocations: 232.6 kB / 1.193 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004375/0.5945, allocations: 238.3 kB / 1.193 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5946, allocations: 345.9 kB / 1.194 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.5968, allocations: 0.5083 MB / 1.194 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.5991, allocations: 0.7744 MB / 1.195 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00395/0.6031, allocations: 1.144 MB / 1.196 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6031, allocations: 0 / 1.196 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00563/0.6087, allocations: 1.554 MB / 1.197 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.6088, allocations: 9.406 kB / 1.197 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.6088, allocations: 11.92 kB / 1.197 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.6107, allocations: 489.9 kB / 1.198 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.6123, allocations: 255.6 kB / 1.198 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.6141, allocations: 0.9937 MB / 1.199 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/0.6169, allocations: 266.6 kB / 1.199 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.6171, allocations: 59.88 kB / 1.199 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002714/0.6198, allocations: 0.7986 MB / 1.2 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002439/0.6222, allocations: 0.7744 MB / 1.201 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004074/0.6263, allocations: 1.129 MB / 1.202 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.486e-06/0.6263, allocations: 8 kB / 1.202 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005652/0.632, allocations: 1.55 MB / 1.204 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.632, allocations: 8 kB / 1.204 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6321, allocations: 4 kB / 1.204 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.6338, allocations: 497.3 kB / 1.204 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.6352, allocations: 251.6 kB / 1.204 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.6369, allocations: 0.9972 MB / 1.205 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.6396, allocations: 231.2 kB / 1.206 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.6398, allocations: 55.95 kB / 1.206 GB, free: 11.76 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 (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0004034/0.6402, allocations: 244 kB / 1.206 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006275/0.6408, allocations: 142.3 kB / 1.206 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.6456, allocations: 1.291 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.6456, allocations: 11.98 kB / 1.207 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.6456, allocations: 0 / 1.207 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003847/0.6495, allocations: 1.115 MB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008325/0.6578, allocations: 3.03 MB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.6579, allocations: 4 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000994/0.6589, allocations: 151.7 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/0.6605, allocations: 482.6 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.777e-05/0.6606, allocations: 27.97 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.6624, allocations: 0.9855 MB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.6624, allocations: 11.98 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006405/0.6688, allocations: 1.924 MB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009907/0.6698, allocations: 355 kB / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/0.6703, allocations: 19.98 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/0.6723, allocations: 155.9 kB / 1.215 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.6725, allocations: 56.25 kB / 1.215 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.6726, allocations: 43.94 kB / 1.215 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002051/0.6746, allocations: 0.9777 MB / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6747, allocations: 0 / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003309/0.678, allocations: 0.8852 MB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (48): * Single equations (assignments): 45 * 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 {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/0.6796, allocations: 0.5524 MB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00688/0.6865, allocations: 1.81 MB / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.6865, allocations: 7.781 kB / 1.219 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/0.6884, allocations: 0.518 MB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/0.6927, allocations: 0.7829 MB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/0.6994, allocations: 3.209 MB / 1.224 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.7005, allocations: 1.215 MB / 1.225 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002053/0.7026, allocations: 366.6 kB / 1.225 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.703, allocations: 135.2 kB / 1.226 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.703, allocations: 0 / 1.226 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of Templates: time 0.5831/1.286, allocations: 37.31 MB / 1.262 GB, free: 166.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)