Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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="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_latest_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_latest_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.001385/0.001385, allocations: 111.2 kB / 16.42 MB, free: 6.527 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.00141/0.00141, allocations: 190.7 kB / 17.35 MB, free: 5.727 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.647/2.647, allocations: 472.7 MB / 0.746 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.89 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8095, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06803/0.8776, allocations: 69.93 MB / 1.295 GB, free: 7.348 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02227/0.8999, allocations: 14.39 MB / 1.309 GB, free: 8.918 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002848/0.9028, allocations: 71.62 kB / 1.309 GB, free: 8.848 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002866/0.9057, allocations: 0.9434 MB / 1.31 GB, free: 7.898 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008337/0.9141, allocations: 2.666 MB / 1.312 GB, free: 5.227 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005832/0.9199, allocations: 1.986 MB / 1.314 GB, free: 3.254 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007278/0.9272, allocations: 4.694 MB / 1.319 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.9297, allocations: 1.618 MB / 1.32 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004021/0.9337, allocations: 1.811 MB / 1.322 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.9359, allocations: 1.276 MB / 1.323 GB, free: 9.805 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.9362, allocations: 199.9 kB / 1.324 GB, free: 9.609 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004653/0.9409, allocations: 1.981 MB / 1.326 GB, free: 7.625 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007023/0.9416, allocations: 466.5 kB / 1.326 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.9432, allocations: 1.019 MB / 1.327 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006173/0.9493, allocations: 3.528 MB / 1.33 GB, free: 2.613 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9494, allocations: 7.938 kB / 1.33 GB, free: 2.605 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9494, allocations: 0 / 1.33 GB, free: 2.605 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.62e-05/0.9494, allocations: 0 / 1.33 GB, free: 2.605 MB / 1.045 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.004558/0.954, allocations: 2.353 MB / 1.333 GB, free: 184 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.954, allocations: 8.031 kB / 1.333 GB, free: 176 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005723/0.9598, allocations: 0.7022 MB / 1.333 GB, free: 15.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.9628, allocations: 1.597 MB / 1.335 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.9629, allocations: 128 kB / 1.335 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.9632, allocations: 120 kB / 1.335 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/0.967, allocations: 1.632 MB / 1.337 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.967, allocations: 7.938 kB / 1.337 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.9672, allocations: 56 kB / 1.337 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.9672, allocations: 35.98 kB / 1.337 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004837/0.972, allocations: 1.457 MB / 1.338 GB, free: 10.28 MB / 1.061 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.01068/0.9827, allocations: 7.004 MB / 1.345 GB, free: 2.926 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.9849, allocations: 0.7398 MB / 1.346 GB, free: 2.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.9866, allocations: 0.4944 MB / 1.346 GB, free: 1.684 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001459/0.988, allocations: 1.267 MB / 1.348 GB, free: 144 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.9881, allocations: 43.12 kB / 1.348 GB, free: 88 kB / 1.061 GB Notification: Performance of pre-optimization done (n=68): time 2.745e-06/0.9881, allocations: 0 / 1.348 GB, free: 88 kB / 1.061 GB Notification: Performance of matching and sorting (n=68): time 0.0202/1.008, allocations: 3.017 MB / 1.351 GB, free: 13.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/1.008, allocations: 111.4 kB / 1.351 GB, free: 12.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/1.011, allocations: 1.374 MB / 1.352 GB, free: 11.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/1.011, allocations: 49.7 kB / 1.352 GB, free: 11.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006235/1.012, allocations: 0.7086 MB / 1.353 GB, free: 10.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/1.012, allocations: 249.8 kB / 1.353 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004206/1.012, allocations: 234.4 kB / 1.353 GB, free: 10.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.012, allocations: 341.9 kB / 1.354 GB, free: 9.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/1.014, allocations: 0.5044 MB / 1.354 GB, free: 9.422 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/1.017, allocations: 0.7784 MB / 1.355 GB, free: 8.535 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003785/1.02, allocations: 1.137 MB / 1.356 GB, free: 7.312 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.021, allocations: 0 / 1.356 GB, free: 7.312 MB / 1.076 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005293/1.026, allocations: 1.582 MB / 1.357 GB, free: 5.719 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.026, allocations: 8 kB / 1.357 GB, free: 5.711 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.026, allocations: 7.938 kB / 1.357 GB, free: 5.703 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/1.028, allocations: 484.8 kB / 1.358 GB, free: 5.227 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.029, allocations: 259.5 kB / 1.358 GB, free: 4.973 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/1.031, allocations: 0.9842 MB / 1.359 GB, free: 3.965 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/1.033, allocations: 227 kB / 1.359 GB, free: 3.742 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.033, allocations: 59.94 kB / 1.359 GB, free: 3.684 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002435/1.036, allocations: 0.7985 MB / 1.36 GB, free: 2.879 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002134/1.038, allocations: 0.7744 MB / 1.361 GB, free: 1.996 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003607/1.041, allocations: 1.129 MB / 1.362 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.548e-06/1.041, allocations: 0 / 1.362 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005317/1.047, allocations: 1.563 MB / 1.364 GB, free: 15.21 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.047, allocations: 10.53 kB / 1.364 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.047, allocations: 12 kB / 1.364 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/1.048, allocations: 486 kB / 1.364 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.05, allocations: 255.6 kB / 1.364 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/1.052, allocations: 0.9911 MB / 1.365 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/1.054, allocations: 195.6 kB / 1.365 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/1.054, allocations: 59.94 kB / 1.366 GB, free: 13.2 MB / 1.092 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.0003456/1.055, allocations: 251.9 kB / 1.366 GB, free: 12.95 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/1.055, allocations: 151 kB / 1.366 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/1.059, allocations: 1.307 MB / 1.367 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003635/1.063, allocations: 1.108 MB / 1.368 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.063, allocations: 0 / 1.368 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006855/1.064, allocations: 359.8 kB / 1.369 GB, free: 9.969 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/1.064, allocations: 12 kB / 1.369 GB, free: 9.957 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/1.066, allocations: 107.9 kB / 1.369 GB, free: 9.852 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/1.066, allocations: 48.42 kB / 1.369 GB, free: 9.805 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006534/1.072, allocations: 1.42 MB / 1.37 GB, free: 8.371 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005469/1.078, allocations: 1.743 MB / 1.372 GB, free: 6.613 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00161/1.079, allocations: 448.1 kB / 1.372 GB, free: 6.172 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001664/1.081, allocations: 0.9769 MB / 1.373 GB, free: 5.195 MB / 1.092 GB Notification: Performance of Backend: time 5.91e-07/1.081, allocations: 0 / 1.373 GB, free: 5.195 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007281/1.088, allocations: 2.145 MB / 1.375 GB, free: 3.055 MB / 1.092 GB Notification: Performance of SimCode: time 0.006492/1.095, allocations: 3.55 MB / 1.379 GB, free: 15.47 MB / 1.107 GB Notification: Performance of Templates: time 0.07237/1.167, allocations: 44.98 MB / 1.423 GB, free: 2.844 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)