Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.692/1.692, allocations: 297.8 MB / 313.7 MB, free: 152 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.0009524/0.0009523, allocations: 184.5 kB / 384.6 MB, free: 10.86 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.389/1.389, allocations: 223.2 MB / 0.6626 GB, free: 4.352 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.0008958/0.0008959, allocations: 94.42 kB / 0.7808 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004316, allocations: 12 kB / 0.9088 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6714/0.6719, allocations: 120.3 MB / 1.026 GB, free: 56.29 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.68, allocations: 427.4 MB / 1.444 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.68, allocations: 106.2 kB / 1.444 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.889/5.569, allocations: 1.047 GB / 2.491 GB, free: 96.93 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.023e-06/5.57, allocations: 1.406 kB / 2.491 GB, free: 96.93 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005113/5.57, allocations: 79.45 kB / 2.491 GB, free: 96.93 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01204/5.582, allocations: 3.666 MB / 2.495 GB, free: 95.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/5.582, allocations: 12.59 kB / 2.495 GB, free: 95.57 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008351/5.591, allocations: 1.218 MB / 2.496 GB, free: 95.39 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009345/5.6, allocations: 3.295 MB / 2.499 GB, free: 94.86 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004082/5.6, allocations: 249.3 kB / 2.5 GB, free: 94.79 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00093/5.601, allocations: 245.3 kB / 2.5 GB, free: 94.78 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/5.612, allocations: 3.189 MB / 2.503 GB, free: 94.27 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/5.612, allocations: 8.812 kB / 2.503 GB, free: 94.27 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007434/5.613, allocations: 101.6 kB / 2.503 GB, free: 94.27 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/5.613, allocations: 68.67 kB / 2.503 GB, free: 94.27 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009345/5.622, allocations: 2.806 MB / 2.506 GB, free: 94.23 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.0246/5.647, allocations: 13.3 MB / 2.519 GB, free: 88.45 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/5.651, allocations: 1.51 MB / 2.52 GB, free: 88.23 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/5.654, allocations: 0.8661 MB / 2.521 GB, free: 88.21 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/5.655, allocations: 1.777 MB / 2.523 GB, free: 86.25 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003331/5.659, allocations: 1.206 MB / 2.524 GB, free: 85.96 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=118): time 4.599e-06/5.659, allocations: 0 / 2.524 GB, free: 85.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=124): time 0.03641/5.695, allocations: 13.4 MB / 2.537 GB, free: 79.73 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003847/5.695, allocations: 0.9401 MB / 2.538 GB, free: 78.6 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007165/5.703, allocations: 2.616 MB / 2.541 GB, free: 78.35 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006951/5.703, allocations: 64.05 kB / 2.541 GB, free: 78.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001733/5.705, allocations: 1.363 MB / 2.542 GB, free: 77.86 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007026/5.706, allocations: 426.4 kB / 2.542 GB, free: 77.59 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/5.706, allocations: 31.44 kB / 2.542 GB, free: 77.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001782/5.706, allocations: 369.1 kB / 2.543 GB, free: 77.29 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/5.71, allocations: 0.9297 MB / 2.544 GB, free: 77.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004013/5.714, allocations: 1.576 MB / 2.545 GB, free: 76.59 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006454/5.72, allocations: 2.163 MB / 2.547 GB, free: 76.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/5.72, allocations: 3.781 kB / 2.547 GB, free: 76.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01016/5.731, allocations: 3.002 MB / 2.55 GB, free: 75.85 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003018/5.731, allocations: 487.4 kB / 2.551 GB, free: 75.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/5.731, allocations: 13.09 kB / 2.551 GB, free: 75.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/5.734, allocations: 0.9288 MB / 2.552 GB, free: 75.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/5.737, allocations: 472.3 kB / 2.552 GB, free: 75.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/5.739, allocations: 2.18 MB / 2.554 GB, free: 74.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005243/5.745, allocations: 418.8 kB / 2.555 GB, free: 74.19 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/5.745, allocations: 112.3 kB / 2.555 GB, free: 74.19 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/5.745, allocations: 4.625 kB / 2.555 GB, free: 74.19 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007622/5.753, allocations: 2.662 MB / 2.557 GB, free: 74.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/5.753, allocations: 14.09 kB / 2.557 GB, free: 74.11 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/5.755, allocations: 0.9257 MB / 2.558 GB, free: 74.08 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/5.758, allocations: 449.5 kB / 2.559 GB, free: 74.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/5.76, allocations: 2.192 MB / 2.561 GB, free: 73 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/5.765, allocations: 364.9 kB / 2.561 GB, free: 72.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/5.766, allocations: 106.1 kB / 2.561 GB, free: 72.98 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 (154): * Single equations (assignments): 151 * 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 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002219/5.768, allocations: 0.7064 MB / 2.562 GB, free: 72.78 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008894/5.769, allocations: 283.5 kB / 2.562 GB, free: 72.64 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008163/5.777, allocations: 2.354 MB / 2.565 GB, free: 72.52 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/5.777, allocations: 15.81 kB / 2.565 GB, free: 72.52 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/5.777, allocations: 12.62 kB / 2.565 GB, free: 72.52 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006989/5.784, allocations: 2.123 MB / 2.567 GB, free: 72.22 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/5.799, allocations: 6.889 MB / 2.573 GB, free: 70.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/5.799, allocations: 6.125 kB / 2.573 GB, free: 70.28 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/5.8, allocations: 302.6 kB / 2.574 GB, free: 70.28 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002197/5.803, allocations: 0.787 MB / 2.574 GB, free: 70.25 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/5.803, allocations: 48.91 kB / 2.575 GB, free: 70.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/5.805, allocations: 1.958 MB / 2.576 GB, free: 69.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/5.805, allocations: 10.31 kB / 2.576 GB, free: 69.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/5.815, allocations: 3.595 MB / 2.58 GB, free: 68.62 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/5.817, allocations: 0.6379 MB / 2.581 GB, free: 68.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006553/5.818, allocations: 41.38 kB / 2.581 GB, free: 68.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/5.821, allocations: 275.9 kB / 2.581 GB, free: 68.37 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/5.821, allocations: 116.8 kB / 2.581 GB, free: 68.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/5.821, allocations: 76.55 kB / 2.581 GB, free: 68.36 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003011/5.824, allocations: 1.82 MB / 2.583 GB, free: 68.22 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.4e-07/5.824, allocations: 0 / 2.583 GB, free: 68.22 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006191/5.831, allocations: 1.577 MB / 2.584 GB, free: 68.12 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 (82): * Single equations (assignments): 76 * 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 17,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.002494/5.833, allocations: 1.383 MB / 2.586 GB, free: 67.74 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01037/5.843, allocations: 3.568 MB / 2.589 GB, free: 67.56 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/5.843, allocations: 4.531 kB / 2.589 GB, free: 67.56 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003053/5.847, allocations: 1.048 MB / 2.59 GB, free: 67.55 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009815/5.856, allocations: 1.579 MB / 2.592 GB, free: 67.53 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/5.868, allocations: 6.027 MB / 2.598 GB, free: 64.95 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/5.869, allocations: 1.715 MB / 2.599 GB, free: 64.17 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003841/5.873, allocations: 0.6459 MB / 2.6 GB, free: 64.04 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00067/5.874, allocations: 256.5 kB / 2.6 GB, free: 64.03 MB / 0.9948 GB Notification: Performance of SimCode: time 1.153e-06/5.874, allocations: 0 / 2.6 GB, free: 64.03 MB / 0.9948 GB Notification: Performance of Templates: time 0.1142/5.988, allocations: 79.16 MB / 2.678 GB, free: 59.33 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)