Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00168/0.001681, 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.001449/0.001448, allocations: 191.4 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.372/1.372, 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.778/2.778, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 63.33 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2972, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06644/0.3636, allocations: 69.48 MB / 1.135 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02142/0.3851, allocations: 14.57 MB / 1.15 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003236/0.3884, allocations: 63.62 kB / 1.15 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.3911, allocations: 0.7537 MB / 1.15 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007105/0.3982, allocations: 2.364 MB / 1.153 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004951/0.4032, allocations: 1.769 MB / 1.154 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00717/0.4103, allocations: 5.905 MB / 1.16 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.4127, allocations: 1.336 MB / 1.161 GB, free: 10.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.4159, allocations: 1.474 MB / 1.163 GB, free: 8.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.4177, allocations: 1.256 MB / 1.164 GB, free: 7.602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002433/0.418, allocations: 88 kB / 1.164 GB, free: 7.516 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004674/0.4226, allocations: 1.755 MB / 1.166 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004976/0.4232, allocations: 366.5 kB / 1.166 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.4246, allocations: 0.9095 MB / 1.167 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004992/0.4296, allocations: 3.42 MB / 1.171 GB, free: 1.055 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4297, allocations: 0 / 1.171 GB, free: 1.055 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4297, allocations: 0 / 1.171 GB, free: 1.055 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.731e-05/0.4297, allocations: 0 / 1.171 GB, free: 1.055 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.004248/0.4339, allocations: 2.294 MB / 1.173 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.434, allocations: 12.03 kB / 1.173 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005985/0.44, allocations: 0.6895 MB / 1.173 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.4425, allocations: 1.561 MB / 1.175 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.4427, allocations: 136 kB / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.4429, allocations: 119.9 kB / 1.175 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/0.447, allocations: 1.642 MB / 1.177 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.447, allocations: 3.938 kB / 1.177 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.4472, allocations: 48 kB / 1.177 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/0.4472, allocations: 39.98 kB / 1.177 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004891/0.4521, allocations: 1.453 MB / 1.178 GB, free: 8.832 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.0103/0.4624, allocations: 7.003 MB / 1.185 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.4647, allocations: 0.7437 MB / 1.186 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.4665, allocations: 495.5 kB / 1.186 GB, free: 252 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/0.4679, allocations: 1.267 MB / 1.188 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.468, allocations: 43.12 kB / 1.188 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 2.825e-06/0.468, allocations: 0 / 1.188 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.02059/0.4886, allocations: 3.012 MB / 1.191 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.4887, allocations: 115.4 kB / 1.191 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/0.4915, allocations: 1.363 MB / 1.192 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.4917, allocations: 45.7 kB / 1.192 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006928/0.4924, allocations: 0.6956 MB / 1.193 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.4927, allocations: 236.5 kB / 1.193 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004895/0.4932, allocations: 234.3 kB / 1.193 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4934, allocations: 345.9 kB / 1.194 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.4955, allocations: 0.5082 MB / 1.194 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/0.4978, allocations: 0.7822 MB / 1.195 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003944/0.5017, allocations: 1.133 MB / 1.196 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.5018, allocations: 4 kB / 1.196 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00558/0.5073, allocations: 1.562 MB / 1.197 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.5074, allocations: 9.406 kB / 1.197 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.5074, allocations: 4 kB / 1.197 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/0.5093, allocations: 488.2 kB / 1.198 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.5107, allocations: 255.6 kB / 1.198 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.5125, allocations: 0.9902 MB / 1.199 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/0.515, allocations: 267.3 kB / 1.199 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.5152, allocations: 59.88 kB / 1.199 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00253/0.5177, allocations: 0.8025 MB / 1.2 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002222/0.5199, allocations: 0.7706 MB / 1.201 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003762/0.5237, allocations: 1.129 MB / 1.202 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.171e-06/0.5237, allocations: 4 kB / 1.202 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005343/0.5291, allocations: 1.558 MB / 1.204 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5291, allocations: 8 kB / 1.204 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.5291, allocations: 4 kB / 1.204 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/0.5308, allocations: 496.3 kB / 1.204 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.5323, allocations: 255.6 kB / 1.204 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.5339, allocations: 0.9884 MB / 1.205 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/0.5366, allocations: 239.2 kB / 1.206 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.5367, allocations: 59.94 kB / 1.206 GB, free: 11.72 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.0004317/0.5372, allocations: 232 kB / 1.206 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000534/0.5377, allocations: 146.3 kB / 1.206 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/0.5423, allocations: 1.303 MB / 1.207 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.5424, allocations: 4 kB / 1.207 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.5424, allocations: 0 / 1.207 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003863/0.5463, allocations: 1.111 MB / 1.208 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008119/0.5544, allocations: 3.038 MB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.5544, allocations: 4 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009636/0.5554, allocations: 147.7 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/0.5571, allocations: 480.5 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/0.5572, allocations: 27.97 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.5589, allocations: 0.9879 MB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.5589, allocations: 8 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/0.5654, allocations: 1.924 MB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/0.5663, allocations: 359 kB / 1.215 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/0.5667, allocations: 19.94 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002159/0.5689, allocations: 151.7 kB / 1.215 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.569, allocations: 56.3 kB / 1.215 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.5691, allocations: 43.95 kB / 1.215 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002393/0.5715, allocations: 0.9854 MB / 1.216 GB, free: 432 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5716, allocations: 3.938 kB / 1.216 GB, free: 428 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004497/0.5761, allocations: 0.8851 MB / 1.217 GB, free: 15.53 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.002138/0.5782, allocations: 0.5358 MB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00705/0.5853, allocations: 1.822 MB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.5853, allocations: 7.781 kB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.5873, allocations: 0.5098 MB / 1.22 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004352/0.5917, allocations: 0.7814 MB / 1.221 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/0.5986, allocations: 3.222 MB / 1.224 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009889/0.5996, allocations: 1.199 MB / 1.225 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002015/0.6017, allocations: 370.1 kB / 1.225 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/0.6021, allocations: 135.3 kB / 1.226 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of SimCode: time 4.6e-07/0.6021, allocations: 0 / 1.226 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of Templates: time 0.6447/1.247, allocations: 37.32 MB / 1.262 GB, free: 166.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)