Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 293 MB / 309 MB, free: 4.816 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.001491, allocations: 167.1 kB / 378.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 0.6383 GB, free: 9.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 85.44 kB / 0.7527 GB, free: 62.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004048, allocations: 12 kB / 0.8768 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.31, allocations: 116.4 MB / 0.9904 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.595/1.905, allocations: 425.1 MB / 1.406 GB, free: 278.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/1.905, allocations: 97.61 kB / 1.406 GB, free: 278.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.403/5.308, allocations: 1.029 GB / 2.435 GB, free: 248 kB / 0.948 GB Notification: Performance of FrontEnd: time 1.834e-06/5.309, allocations: 0 / 2.435 GB, free: 248 kB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003993/5.309, allocations: 87.91 kB / 2.435 GB, free: 160 kB / 0.948 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.01058/5.32, allocations: 3.68 MB / 2.438 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/5.32, allocations: 8.031 kB / 2.438 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008335/5.328, allocations: 1.216 MB / 2.44 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008118/5.336, allocations: 3.295 MB / 2.443 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/5.336, allocations: 255.9 kB / 2.443 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008081/5.337, allocations: 232 kB / 2.443 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00884/5.346, allocations: 3.196 MB / 2.446 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.795e-05/5.346, allocations: 7.984 kB / 2.446 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004568/5.347, allocations: 107.9 kB / 2.446 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.223e-05/5.347, allocations: 75.98 kB / 2.447 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008696/5.355, allocations: 2.8 MB / 2.449 GB, free: 0.875 MB / 0.9636 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.02215/5.378, allocations: 13.29 MB / 2.462 GB, free: 3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/5.381, allocations: 1.515 MB / 2.464 GB, free: 1.445 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002663/5.384, allocations: 0.8698 MB / 2.465 GB, free: 0.5703 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5865/5.971, allocations: 1.778 MB / 2.466 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003924/5.975, allocations: 1.206 MB / 2.467 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 6.112e-06/5.975, allocations: 0 / 2.467 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=124): time 0.03704/6.012, allocations: 13.41 MB / 2.481 GB, free: 95.48 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002989/6.012, allocations: 0.9378 MB / 2.482 GB, free: 94.36 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00559/6.018, allocations: 2.618 MB / 2.484 GB, free: 94.12 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005371/6.018, allocations: 62.3 kB / 2.484 GB, free: 94.09 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001537/6.02, allocations: 1.365 MB / 2.485 GB, free: 93.73 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006956/6.021, allocations: 433.3 kB / 2.486 GB, free: 93.52 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/6.021, allocations: 30.69 kB / 2.486 GB, free: 93.52 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001304/6.021, allocations: 368.4 kB / 2.486 GB, free: 93.21 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003564/6.024, allocations: 0.9319 MB / 2.487 GB, free: 93.21 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004429/6.029, allocations: 1.583 MB / 2.489 GB, free: 92.54 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006998/6.036, allocations: 2.166 MB / 2.491 GB, free: 92.05 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/6.036, allocations: 4.625 kB / 2.491 GB, free: 92.05 MB / 0.9792 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009858/6.046, allocations: 2.992 MB / 2.494 GB, free: 91.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002841/6.046, allocations: 494.3 kB / 2.494 GB, free: 91.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/6.046, allocations: 15.98 kB / 2.494 GB, free: 91.24 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002806/6.049, allocations: 0.9228 MB / 2.495 GB, free: 91.22 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/6.051, allocations: 463.8 kB / 2.496 GB, free: 91.22 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/6.054, allocations: 2.189 MB / 2.498 GB, free: 90.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005097/6.059, allocations: 414.4 kB / 2.498 GB, free: 90.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/6.06, allocations: 111.1 kB / 2.498 GB, free: 90.14 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/6.06, allocations: 3.031 kB / 2.498 GB, free: 90.14 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007787/6.067, allocations: 2.668 MB / 2.501 GB, free: 90.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/6.067, allocations: 9.469 kB / 2.501 GB, free: 90.06 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/6.07, allocations: 0.9241 MB / 2.502 GB, free: 90.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/6.072, allocations: 445 kB / 2.502 GB, free: 90.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/6.075, allocations: 2.178 MB / 2.504 GB, free: 88.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/6.079, allocations: 369 kB / 2.505 GB, free: 88.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/6.08, allocations: 104.1 kB / 2.505 GB, free: 88.96 MB / 0.9792 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.002089/6.082, allocations: 0.6951 MB / 2.505 GB, free: 88.77 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007735/6.082, allocations: 286.5 kB / 2.506 GB, free: 88.63 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/6.091, allocations: 2.361 MB / 2.508 GB, free: 88.51 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/6.091, allocations: 18.38 kB / 2.508 GB, free: 88.51 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/6.091, allocations: 8.969 kB / 2.508 GB, free: 88.51 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007299/6.098, allocations: 2.125 MB / 2.51 GB, free: 88.22 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/6.113, allocations: 6.9 MB / 2.517 GB, free: 86.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/6.113, allocations: 11.16 kB / 2.517 GB, free: 86.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/6.115, allocations: 298.4 kB / 2.517 GB, free: 86.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002249/6.117, allocations: 0.7801 MB / 2.518 GB, free: 86.26 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/6.117, allocations: 53.17 kB / 2.518 GB, free: 86.26 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/6.119, allocations: 1.965 MB / 2.52 GB, free: 85.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/6.119, allocations: 9.188 kB / 2.52 GB, free: 85.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/6.13, allocations: 3.591 MB / 2.523 GB, free: 84.62 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/6.132, allocations: 0.6451 MB / 2.524 GB, free: 84.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004951/6.132, allocations: 33.75 kB / 2.524 GB, free: 84.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002843/6.135, allocations: 279.2 kB / 2.524 GB, free: 84.38 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/6.136, allocations: 114.2 kB / 2.524 GB, free: 84.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/6.136, allocations: 70.28 kB / 2.524 GB, free: 84.37 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003048/6.139, allocations: 1.827 MB / 2.526 GB, free: 84.23 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/6.139, allocations: 0 / 2.526 GB, free: 84.23 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005279/6.144, allocations: 1.575 MB / 2.528 GB, free: 84.23 MB / 0.9792 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.002602/6.147, allocations: 1.372 MB / 2.529 GB, free: 83.94 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01094/6.158, allocations: 3.57 MB / 2.533 GB, free: 83.77 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/6.158, allocations: 5.125 kB / 2.533 GB, free: 83.77 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003119/6.161, allocations: 1.054 MB / 2.534 GB, free: 83.75 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01007/6.171, allocations: 1.581 MB / 2.535 GB, free: 83.71 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/6.184, allocations: 6.032 MB / 2.541 GB, free: 81.16 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/6.185, allocations: 1.719 MB / 2.543 GB, free: 80.43 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00417/6.189, allocations: 0.6557 MB / 2.543 GB, free: 80.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007255/6.19, allocations: 251.7 kB / 2.544 GB, free: 80.4 MB / 0.9792 GB Notification: Performance of SimCode: time 1.042e-06/6.19, allocations: 0 / 2.544 GB, free: 80.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.1339/6.324, allocations: 79.15 MB / 2.621 GB, free: 76.03 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)