Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.652/1.652, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 190.3 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 94.75 kB / 0.7808 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004301, allocations: 12 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6968, allocations: 120.3 MB / 1.026 GB, free: 56.75 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.736, allocations: 427.9 MB / 1.444 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.737, allocations: 100.3 kB / 1.444 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.63/5.366, allocations: 1.047 GB / 2.491 GB, free: 97 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.353e-06/5.366, allocations: 0 / 2.491 GB, free: 97 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004137/5.367, allocations: 81.25 kB / 2.491 GB, free: 97 MB / 0.9948 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.00973/5.377, allocations: 3.653 MB / 2.495 GB, free: 95.65 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/5.377, allocations: 9.5 kB / 2.495 GB, free: 95.65 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009055/5.386, allocations: 1.323 MB / 2.496 GB, free: 95.47 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009592/5.395, allocations: 3.289 MB / 2.499 GB, free: 94.93 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/5.396, allocations: 257.2 kB / 2.5 GB, free: 94.86 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/5.397, allocations: 235.8 kB / 2.5 GB, free: 94.86 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/5.408, allocations: 3.224 MB / 2.503 GB, free: 94.34 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/5.409, allocations: 6.625 kB / 2.503 GB, free: 94.34 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006849/5.409, allocations: 103.5 kB / 2.503 GB, free: 94.34 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.153e-05/5.409, allocations: 75.97 kB / 2.503 GB, free: 94.34 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/5.419, allocations: 2.874 MB / 2.506 GB, free: 94.31 MB / 0.9948 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.02491/5.444, allocations: 13.45 MB / 2.519 GB, free: 88.42 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/5.449, allocations: 1.57 MB / 2.521 GB, free: 88.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003234/5.452, allocations: 0.9213 MB / 2.522 GB, free: 88.18 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/5.454, allocations: 1.776 MB / 2.523 GB, free: 86.21 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003634/5.457, allocations: 1.268 MB / 2.525 GB, free: 85.93 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=118): time 7.343e-06/5.457, allocations: 1 kB / 2.525 GB, free: 85.93 MB / 0.9948 GB Notification: Performance of matching and sorting (n=124): time 0.06585/5.523, allocations: 16.33 MB / 2.541 GB, free: 79.71 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/5.524, allocations: 0.9388 MB / 2.541 GB, free: 78.59 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004524/5.528, allocations: 2.609 MB / 2.544 GB, free: 78.34 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003662/5.528, allocations: 63.2 kB / 2.544 GB, free: 78.31 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/5.53, allocations: 1.354 MB / 2.545 GB, free: 77.86 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/5.53, allocations: 432 kB / 2.546 GB, free: 77.59 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/5.53, allocations: 35.38 kB / 2.546 GB, free: 77.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001105/5.53, allocations: 368.6 kB / 2.546 GB, free: 77.28 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/5.534, allocations: 0.9829 MB / 2.547 GB, free: 77.28 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/5.538, allocations: 1.628 MB / 2.549 GB, free: 76.59 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006896/5.545, allocations: 2.245 MB / 2.551 GB, free: 76.09 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/5.545, allocations: 5.219 kB / 2.551 GB, free: 76.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.00965/5.555, allocations: 3.141 MB / 2.554 GB, free: 75.84 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002429/5.555, allocations: 488.7 kB / 2.554 GB, free: 75.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/5.555, allocations: 15.59 kB / 2.554 GB, free: 75.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003333/5.558, allocations: 1.165 MB / 2.556 GB, free: 75.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/5.561, allocations: 457.2 kB / 2.556 GB, free: 75.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/5.564, allocations: 2.38 MB / 2.558 GB, free: 74.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/5.569, allocations: 430.3 kB / 2.559 GB, free: 74.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/5.569, allocations: 111.9 kB / 2.559 GB, free: 74.17 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/5.569, allocations: 3.25 kB / 2.559 GB, free: 74.17 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008206/5.578, allocations: 2.805 MB / 2.562 GB, free: 74.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/5.578, allocations: 11.25 kB / 2.562 GB, free: 74.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003264/5.581, allocations: 1.16 MB / 2.563 GB, free: 74.06 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/5.583, allocations: 443.8 kB / 2.563 GB, free: 74.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/5.586, allocations: 2.376 MB / 2.566 GB, free: 72.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004567/5.591, allocations: 369.2 kB / 2.566 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/5.591, allocations: 109 kB / 2.566 GB, free: 72.97 MB / 0.9948 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002071/5.593, allocations: 0.7001 MB / 2.567 GB, free: 72.77 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000972/5.594, allocations: 291 kB / 2.567 GB, free: 72.63 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009058/5.603, allocations: 2.42 MB / 2.569 GB, free: 72.51 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/5.604, allocations: 15.09 kB / 2.569 GB, free: 72.51 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/5.604, allocations: 3.75 kB / 2.569 GB, free: 72.51 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00768/5.611, allocations: 2.207 MB / 2.571 GB, free: 72.21 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02285/5.634, allocations: 7.703 MB / 2.579 GB, free: 70.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/5.634, allocations: 7.562 kB / 2.579 GB, free: 70.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/5.636, allocations: 294.5 kB / 2.579 GB, free: 70.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003034/5.639, allocations: 1.023 MB / 2.58 GB, free: 70.23 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/5.639, allocations: 46.47 kB / 2.58 GB, free: 70.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/5.642, allocations: 2.159 MB / 2.582 GB, free: 69.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/5.642, allocations: 6.938 kB / 2.582 GB, free: 69.17 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/5.66, allocations: 4.306 MB / 2.587 GB, free: 68.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/5.662, allocations: 0.6491 MB / 2.587 GB, free: 68.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/5.664, allocations: 37.08 kB / 2.587 GB, free: 68.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003901/5.668, allocations: 299.1 kB / 2.588 GB, free: 68.34 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/5.668, allocations: 108.6 kB / 2.588 GB, free: 68.33 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/5.668, allocations: 70.55 kB / 2.588 GB, free: 68.33 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003831/5.672, allocations: 1.821 MB / 2.59 GB, free: 68.18 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.71e-07/5.672, allocations: 0 / 2.59 GB, free: 68.18 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006517/5.678, allocations: 1.579 MB / 2.591 GB, free: 68.08 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002762/5.681, allocations: 1.399 MB / 2.592 GB, free: 67.59 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01124/5.692, allocations: 3.694 MB / 2.596 GB, free: 67.36 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-05/5.693, allocations: 11.84 kB / 2.596 GB, free: 67.35 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/5.696, allocations: 1.099 MB / 2.597 GB, free: 67.31 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01103/5.707, allocations: 1.571 MB / 2.599 GB, free: 67.24 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/5.719, allocations: 5.823 MB / 2.604 GB, free: 64.53 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/5.721, allocations: 1.714 MB / 2.606 GB, free: 63.75 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004412/5.725, allocations: 0.6575 MB / 2.607 GB, free: 63.62 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009374/5.726, allocations: 246 kB / 2.607 GB, free: 63.61 MB / 0.9948 GB Notification: Performance of SimCode: time 7.32e-07/5.726, allocations: 0 / 2.607 GB, free: 63.61 MB / 0.9948 GB Notification: Performance of Templates: time 0.1186/5.845, allocations: 81.27 MB / 2.686 GB, free: 58.87 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)