Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP|heaPum.com.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP|heaPum.com.y",fileNamePrefix="Buildings_9_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.001074/0.001074, allocations: 113.4 kB / 16.42 MB, free: 6.449 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.00108/0.00108, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8745/0.8759, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.08351/0.9595, allocations: 69.93 MB / 1.157 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02651/0.986, allocations: 14.39 MB / 1.171 GB, free: 9 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004112/0.9902, allocations: 73.03 kB / 1.171 GB, free: 8.973 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003075/0.9933, allocations: 0.9434 MB / 1.172 GB, free: 8.395 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009779/1.003, allocations: 2.672 MB / 1.175 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006726/1.01, allocations: 1.987 MB / 1.177 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008448/1.018, allocations: 4.686 MB / 1.181 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00345/1.022, allocations: 1.63 MB / 1.183 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00563/1.027, allocations: 1.82 MB / 1.184 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003308/1.031, allocations: 1.27 MB / 1.186 GB, free: 152 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008187/1.032, allocations: 196.8 kB / 1.186 GB, free: 152 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006701/1.038, allocations: 1.976 MB / 1.188 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/1.039, allocations: 469.2 kB / 1.188 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002832/1.042, allocations: 1.012 MB / 1.189 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00803/1.05, allocations: 3.523 MB / 1.193 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.05, allocations: 0 / 1.193 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.122e-06/1.05, allocations: 0 / 1.193 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001067/1.05, allocations: 0 / 1.193 GB, free: 11.68 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.0073/1.058, allocations: 2.29 MB / 1.195 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.058, allocations: 8.531 kB / 1.195 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006573/1.064, allocations: 0.6987 MB / 1.196 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003818/1.068, allocations: 1.584 MB / 1.197 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/1.068, allocations: 132.5 kB / 1.197 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004227/1.069, allocations: 118.1 kB / 1.197 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005192/1.074, allocations: 1.635 MB / 1.199 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/1.074, allocations: 10.45 kB / 1.199 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/1.074, allocations: 53.39 kB / 1.199 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.608e-05/1.074, allocations: 35.47 kB / 1.199 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005593/1.08, allocations: 1.462 MB / 1.201 GB, free: 6.398 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.01296/1.093, allocations: 6.977 MB / 1.207 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/1.096, allocations: 0.7364 MB / 1.208 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/1.098, allocations: 0.4918 MB / 1.209 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/1.099, allocations: 1.266 MB / 1.21 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/1.099, allocations: 44.53 kB / 1.21 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 3.757e-06/1.099, allocations: 0 / 1.21 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.02226/1.121, allocations: 3.014 MB / 1.213 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/1.122, allocations: 118.2 kB / 1.213 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/1.125, allocations: 1.382 MB / 1.214 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/1.125, allocations: 44.08 kB / 1.214 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008608/1.126, allocations: 0.6877 MB / 1.215 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/1.126, allocations: 243.1 kB / 1.215 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005146/1.127, allocations: 231.5 kB / 1.215 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.127, allocations: 345.9 kB / 1.216 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/1.129, allocations: 0.5102 MB / 1.216 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/1.132, allocations: 0.7757 MB / 1.217 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004267/1.136, allocations: 1.137 MB / 1.218 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/1.136, allocations: 0 / 1.218 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005932/1.142, allocations: 1.562 MB / 1.22 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.142, allocations: 8 kB / 1.22 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.142, allocations: 4 kB / 1.22 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002035/1.144, allocations: 494.5 kB / 1.22 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/1.146, allocations: 259.6 kB / 1.22 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/1.148, allocations: 0.987 MB / 1.221 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/1.15, allocations: 234.5 kB / 1.222 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/1.151, allocations: 55.95 kB / 1.222 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002713/1.153, allocations: 0.7986 MB / 1.222 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002379/1.156, allocations: 0.7746 MB / 1.223 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004135/1.16, allocations: 1.125 MB / 1.224 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.502e-06/1.16, allocations: 0 / 1.224 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005894/1.166, allocations: 1.547 MB / 1.226 GB, free: 200 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.166, allocations: 16.03 kB / 1.226 GB, free: 184 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.166, allocations: 11.98 kB / 1.226 GB, free: 172 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/1.168, allocations: 493.8 kB / 1.226 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/1.169, allocations: 251.9 kB / 1.226 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/1.171, allocations: 0.9934 MB / 1.227 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002954/1.174, allocations: 195.3 kB / 1.228 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.174, allocations: 51.95 kB / 1.228 GB, free: 14.18 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.0004521/1.175, allocations: 232.6 kB / 1.228 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005954/1.175, allocations: 146.2 kB / 1.228 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/1.18, allocations: 1.307 MB / 1.229 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004079/1.184, allocations: 1.119 MB / 1.23 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.184, allocations: 0 / 1.23 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000971/1.185, allocations: 347.1 kB / 1.231 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005158/1.186, allocations: 16 kB / 1.231 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.188, allocations: 107.8 kB / 1.231 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.188, allocations: 44.5 kB / 1.231 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007235/1.195, allocations: 1.418 MB / 1.232 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00602/1.201, allocations: 1.742 MB / 1.234 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001754/1.203, allocations: 452.2 kB / 1.234 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002135/1.205, allocations: 0.9691 MB / 1.235 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of Backend: time 1.132e-06/1.205, allocations: 0 / 1.235 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.009034/1.214, allocations: 2.139 MB / 1.237 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of SimCode: time 0.008463/1.223, allocations: 3.497 MB / 1.241 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of Templates: time 0.08092/1.304, allocations: 45 MB / 1.285 GB, free: 3.941 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)