Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 111.7 kB / 16.38 MB, free: 6.02 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.001024/0.001024, allocations: 187.7 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.203, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.4516/0.6546, allocations: 130.9 MB / 0.9126 GB, free: 4.359 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03585/0.6905, allocations: 24.77 MB / 0.9368 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005115/0.6956, allocations: 139.2 kB / 0.9369 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.7004, allocations: 1.735 MB / 0.9386 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.712, allocations: 4.468 MB / 0.943 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008514/0.7206, allocations: 3.527 MB / 0.9464 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.7325, allocations: 8.924 MB / 0.9551 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005158/0.7377, allocations: 3.186 MB / 0.9582 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007672/0.7454, allocations: 3.446 MB / 0.9616 GB, free: 5.207 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.7497, allocations: 2.478 MB / 0.964 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.7508, allocations: 388 kB / 0.9644 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007209/0.758, allocations: 2.898 MB / 0.9672 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.7591, allocations: 0.8877 MB / 0.9681 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002705/0.7619, allocations: 1.984 MB / 0.97 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00878/0.7706, allocations: 6.345 MB / 0.9762 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7707, allocations: 0 / 0.9762 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7707, allocations: 0 / 0.9762 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.22e-05/0.7707, allocations: 0 / 0.9762 GB, free: 6.195 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006796/0.7775, allocations: 4.074 MB / 0.9802 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7776, allocations: 8.031 kB / 0.9802 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.7888, allocations: 1.381 MB / 0.9815 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005046/0.7938, allocations: 2.959 MB / 0.9844 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.7941, allocations: 251.9 kB / 0.9847 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003659/0.7944, allocations: 246 kB / 0.9849 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007354/0.8018, allocations: 3.187 MB / 0.988 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.675e-05/0.8019, allocations: 11.94 kB / 0.988 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.8021, allocations: 103.9 kB / 0.9881 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.487e-05/0.8022, allocations: 67.98 kB / 0.9882 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009168/0.8114, allocations: 2.834 MB / 0.991 GB, free: 6.684 MB / 0.7794 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.02017/0.8316, allocations: 13.61 MB / 1.004 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004471/0.8361, allocations: 1.469 MB / 1.006 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00329/0.8394, allocations: 0.9159 MB / 1.007 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/0.8413, allocations: 1.773 MB / 1.008 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003901/0.8452, allocations: 1.184 MB / 1.009 GB, free: 2.637 MB / 0.795 GB Notification: Performance of pre-optimization done (n=126): time 5.28e-06/0.8452, allocations: 336 / 1.009 GB, free: 2.637 MB / 0.795 GB Notification: Performance of matching and sorting (n=132): time 0.05779/0.903, allocations: 11.67 MB / 1.021 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002425/0.9033, allocations: 0.5805 MB / 1.021 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004073/0.9074, allocations: 2.623 MB / 1.024 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003287/0.9077, allocations: 69.69 kB / 1.024 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.9089, allocations: 1.314 MB / 1.025 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005423/0.9094, allocations: 461.5 kB / 1.026 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007237/0.9101, allocations: 470.8 kB / 1.026 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9103, allocations: 309.1 kB / 1.027 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003866/0.9141, allocations: 0.9806 MB / 1.027 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00449/0.9186, allocations: 1.581 MB / 1.029 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007488/0.9261, allocations: 2.253 MB / 1.031 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.9262, allocations: 4 kB / 1.031 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02446/0.9506, allocations: 4.156 MB / 1.035 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.668e-05/0.9507, allocations: 37.64 kB / 1.035 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.9508, allocations: 12.81 kB / 1.035 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/0.955, allocations: 1.165 MB / 1.036 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/0.9577, allocations: 451.2 kB / 1.037 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004197/0.9619, allocations: 2.385 MB / 1.039 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/0.9667, allocations: 303.5 kB / 1.04 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/0.9671, allocations: 104.4 kB / 1.04 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005087/0.9722, allocations: 1.484 MB / 1.041 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004463/0.9767, allocations: 1.569 MB / 1.043 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007441/0.9841, allocations: 2.219 MB / 1.045 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.488e-05/0.9842, allocations: 8 kB / 1.045 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02472/1.009, allocations: 4.129 MB / 1.049 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/1.009, allocations: 43.72 kB / 1.049 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/1.009, allocations: 12 kB / 1.049 GB, free: 9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004141/1.013, allocations: 1.161 MB / 1.05 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.016, allocations: 451.2 kB / 1.05 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004202/1.02, allocations: 2.386 MB / 1.053 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/1.025, allocations: 307.9 kB / 1.053 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/1.025, allocations: 107.9 kB / 1.053 GB, free: 4.555 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0006851/1.026, allocations: 295.8 kB / 1.053 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.027, allocations: 280.6 kB / 1.054 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008864/1.036, allocations: 2.401 MB / 1.056 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007275/1.043, allocations: 2.014 MB / 1.058 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.043, allocations: 0.875 kB / 1.058 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/1.045, allocations: 0.5756 MB / 1.059 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008296/1.046, allocations: 32 kB / 1.059 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003586/1.049, allocations: 219.7 kB / 1.059 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/1.05, allocations: 92.86 kB / 1.059 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0138/1.063, allocations: 3.37 MB / 1.062 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01206/1.076, allocations: 3.77 MB / 1.066 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003271/1.079, allocations: 0.89 MB / 1.067 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003947/1.083, allocations: 1.835 MB / 1.069 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of Backend: time 7.21e-07/1.083, allocations: 0 / 1.069 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01585/1.099, allocations: 4.033 MB / 1.072 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of SimCode: time 0.01387/1.113, allocations: 6.407 MB / 1.079 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.4976/1.61, allocations: 91.93 MB / 1.169 GB, free: 296.7 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)