Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001177/0.001177, allocations: 114.3 kB / 16.42 MB, free: 6.48 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.001176/0.001176, allocations: 186.6 kB / 17.35 MB, free: 5.754 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.486/2.486, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 64.12 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7817/0.7831, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.07046/0.8536, allocations: 69.93 MB / 1.236 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0199/0.8736, allocations: 14.39 MB / 1.25 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.8761, allocations: 75.56 kB / 1.25 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.8789, allocations: 0.9473 MB / 1.251 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007589/0.8865, allocations: 2.669 MB / 1.253 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005614/0.8922, allocations: 1.974 MB / 1.255 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006624/0.8988, allocations: 4.694 MB / 1.26 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.9014, allocations: 1.614 MB / 1.261 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004012/0.9055, allocations: 1.819 MB / 1.263 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.9076, allocations: 1.272 MB / 1.264 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005128/0.9081, allocations: 196 kB / 1.265 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004295/0.9124, allocations: 1.974 MB / 1.266 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006644/0.9131, allocations: 470.4 kB / 1.267 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.9148, allocations: 1.027 MB / 1.268 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005653/0.9205, allocations: 3.532 MB / 1.271 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.9205, allocations: 0 / 1.271 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9205, allocations: 0 / 1.271 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.644e-05/0.9206, allocations: 0 / 1.271 GB, free: 8.941 MB / 0.9981 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.00493/0.9255, allocations: 2.353 MB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.9256, allocations: 8.625 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005853/0.9314, allocations: 0.7061 MB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.9343, allocations: 1.604 MB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.9345, allocations: 128 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.9347, allocations: 123.9 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004075/0.9388, allocations: 1.629 MB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.9389, allocations: 11.94 kB / 1.278 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.939, allocations: 48 kB / 1.278 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.9391, allocations: 36 kB / 1.278 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00494/0.944, allocations: 1.457 MB / 1.279 GB, free: 0.6133 MB / 0.9981 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.01018/0.9542, allocations: 7.012 MB / 1.286 GB, free: 9.258 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.9565, allocations: 0.7408 MB / 1.287 GB, free: 8.508 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.9582, allocations: 494.2 kB / 1.287 GB, free: 8.023 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.9595, allocations: 1.267 MB / 1.289 GB, free: 6.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.9596, allocations: 47.11 kB / 1.289 GB, free: 6.426 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 3.006e-06/0.9596, allocations: 0 / 1.289 GB, free: 6.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.02109/0.9807, allocations: 3.02 MB / 1.292 GB, free: 3.375 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.9808, allocations: 107.4 kB / 1.292 GB, free: 3.246 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.9835, allocations: 1.382 MB / 1.293 GB, free: 1.852 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.9837, allocations: 45.7 kB / 1.293 GB, free: 1.801 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/0.9844, allocations: 0.7009 MB / 1.294 GB, free: 1.094 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.9846, allocations: 257.8 kB / 1.294 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004286/0.9851, allocations: 234.4 kB / 1.294 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.9852, allocations: 341.9 kB / 1.295 GB, free: 272 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.9872, allocations: 0.5005 MB / 1.295 GB, free: 15.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.9895, allocations: 0.7823 MB / 1.296 GB, free: 14.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/0.9933, allocations: 1.137 MB / 1.297 GB, free: 13.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.9933, allocations: 4 kB / 1.297 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005394/0.9987, allocations: 1.567 MB / 1.298 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.9987, allocations: 10.66 kB / 1.298 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.9988, allocations: 8 kB / 1.298 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/1.001, allocations: 490 kB / 1.299 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.002, allocations: 259.5 kB / 1.299 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/1.004, allocations: 0.9911 MB / 1.3 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/1.006, allocations: 227 kB / 1.3 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.006, allocations: 55.95 kB / 1.3 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00253/1.009, allocations: 0.8024 MB / 1.301 GB, free: 9.219 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002213/1.011, allocations: 0.7783 MB / 1.302 GB, free: 8.328 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003734/1.015, allocations: 1.129 MB / 1.303 GB, free: 7.109 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/1.015, allocations: 0 / 1.303 GB, free: 7.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005339/1.02, allocations: 1.563 MB / 1.305 GB, free: 5.535 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.02, allocations: 12.09 kB / 1.305 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.02, allocations: 11.98 kB / 1.305 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/1.022, allocations: 480.1 kB / 1.305 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.023, allocations: 259.5 kB / 1.305 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/1.025, allocations: 0.9944 MB / 1.306 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.027, allocations: 191.4 kB / 1.306 GB, free: 3.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/1.027, allocations: 55.94 kB / 1.307 GB, free: 3.527 MB / 1.029 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.0003341/1.028, allocations: 241.7 kB / 1.307 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/1.028, allocations: 147.1 kB / 1.307 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/1.033, allocations: 1.305 MB / 1.308 GB, free: 1.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003809/1.036, allocations: 1.112 MB / 1.309 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.036, allocations: 0 / 1.309 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006917/1.037, allocations: 367.8 kB / 1.31 GB, free: 304 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/1.038, allocations: 12 kB / 1.31 GB, free: 292 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.039, allocations: 111.9 kB / 1.31 GB, free: 180 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.039, allocations: 40.44 kB / 1.31 GB, free: 140 kB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006793/1.046, allocations: 1.42 MB / 1.311 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005514/1.052, allocations: 1.747 MB / 1.313 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001623/1.053, allocations: 444.1 kB / 1.313 GB, free: 12.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001766/1.055, allocations: 0.973 MB / 1.314 GB, free: 11.53 MB / 1.045 GB Notification: Performance of Backend: time 4e-07/1.055, allocations: 0 / 1.314 GB, free: 11.53 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007594/1.063, allocations: 2.147 MB / 1.316 GB, free: 9.398 MB / 1.045 GB Notification: Performance of SimCode: time 0.006387/1.069, allocations: 3.54 MB / 1.32 GB, free: 5.82 MB / 1.045 GB Notification: Performance of Templates: time 0.06925/1.138, allocations: 44.99 MB / 1.364 GB, free: 9.129 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)