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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.6 MB / 307.6 MB, free: 5.207 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.001268/0.001268, allocations: 184.2 kB / 377.1 MB, free: 1.52 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.83/1.83, allocations: 205.4 MB / 0.6367 GB, free: 9.488 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.0009788/0.0009784, allocations: 97.59 kB / 0.751 GB, free: 62.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 12 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2936, allocations: 116.3 MB / 0.9884 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.809/2.103, allocations: 424.9 MB / 1.403 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/2.103, allocations: 100.8 kB / 1.403 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.495/5.598, allocations: 1.046 GB / 2.449 GB, free: 396 kB / 0.9636 GB Notification: Performance of FrontEnd: time 1.793e-06/5.598, allocations: 0 / 2.449 GB, free: 396 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003541/5.598, allocations: 87.86 kB / 2.449 GB, free: 308 kB / 0.9636 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.01135/5.609, allocations: 3.706 MB / 2.453 GB, free: 12.49 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/5.609, allocations: 8.75 kB / 2.453 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009619/5.619, allocations: 1.213 MB / 2.454 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008609/5.628, allocations: 3.317 MB / 2.457 GB, free: 7.871 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/5.628, allocations: 256 kB / 2.458 GB, free: 7.605 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006114/5.629, allocations: 232 kB / 2.458 GB, free: 7.379 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00865/5.637, allocations: 3.172 MB / 2.461 GB, free: 4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/5.637, allocations: 7.938 kB / 2.461 GB, free: 3.992 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003724/5.638, allocations: 104 kB / 2.461 GB, free: 3.891 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.042e-05/5.638, allocations: 71.94 kB / 2.461 GB, free: 3.82 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/5.648, allocations: 2.803 MB / 2.464 GB, free: 1 MB / 0.9792 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.7173/6.365, allocations: 13.36 MB / 2.477 GB, free: 92.29 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/6.369, allocations: 1.53 MB / 2.479 GB, free: 92.05 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/6.371, allocations: 1.778 MB / 2.48 GB, free: 90.09 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003574/6.375, allocations: 1.202 MB / 2.481 GB, free: 89.81 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 4.308e-06/6.375, allocations: 0 / 2.481 GB, free: 89.81 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.04237/6.417, allocations: 13.33 MB / 2.494 GB, free: 83.66 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002874/6.417, allocations: 0.9383 MB / 2.495 GB, free: 82.53 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005589/6.423, allocations: 2.423 MB / 2.498 GB, free: 82.31 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000549/6.423, allocations: 60.16 kB / 2.498 GB, free: 82.28 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001412/6.425, allocations: 1.364 MB / 2.499 GB, free: 81.92 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006253/6.426, allocations: 426 kB / 2.5 GB, free: 81.72 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/6.426, allocations: 32.16 kB / 2.5 GB, free: 81.72 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001203/6.426, allocations: 362.5 kB / 2.5 GB, free: 81.41 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003759/6.43, allocations: 0.93 MB / 2.501 GB, free: 81.41 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00405/6.434, allocations: 1.563 MB / 2.502 GB, free: 80.73 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/6.437, allocations: 1.068 MB / 2.503 GB, free: 80.68 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/6.437, allocations: 3.594 kB / 2.503 GB, free: 80.68 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01015/6.448, allocations: 2.987 MB / 2.506 GB, free: 80.43 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009992/6.449, allocations: 5.263 MB / 2.511 GB, free: 74.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/6.449, allocations: 15.16 kB / 2.511 GB, free: 74.96 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/6.452, allocations: 0.9159 MB / 2.512 GB, free: 74.94 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/6.454, allocations: 457.9 kB / 2.513 GB, free: 74.94 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/6.457, allocations: 2.202 MB / 2.515 GB, free: 73.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005913/6.463, allocations: 412 kB / 2.515 GB, free: 73.85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/6.464, allocations: 107.7 kB / 2.515 GB, free: 73.85 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/6.464, allocations: 7.328 kB / 2.515 GB, free: 73.85 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008653/6.472, allocations: 2.639 MB / 2.518 GB, free: 73.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/6.472, allocations: 19.73 kB / 2.518 GB, free: 73.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/6.475, allocations: 0.9206 MB / 2.519 GB, free: 73.75 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/6.478, allocations: 441.3 kB / 2.519 GB, free: 73.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/6.48, allocations: 2.187 MB / 2.521 GB, free: 72.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005298/6.486, allocations: 360 kB / 2.522 GB, free: 72.67 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004408/6.486, allocations: 107.1 kB / 2.522 GB, free: 72.67 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 (152): * Single equations (assignments): 149 * 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.002295/6.489, allocations: 0.6983 MB / 2.523 GB, free: 72.48 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/6.49, allocations: 291.7 kB / 2.523 GB, free: 72.34 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009764/6.499, allocations: 2.348 MB / 2.525 GB, free: 72.21 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-05/6.499, allocations: 14.66 kB / 2.525 GB, free: 72.21 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/6.499, allocations: 5.406 kB / 2.525 GB, free: 72.21 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00862/6.508, allocations: 2.121 MB / 2.527 GB, free: 71.92 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/6.525, allocations: 6.761 MB / 2.534 GB, free: 69.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.461e-05/6.526, allocations: 7.469 kB / 2.534 GB, free: 69.99 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/6.527, allocations: 281.2 kB / 2.534 GB, free: 69.99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/6.53, allocations: 0.7951 MB / 2.535 GB, free: 69.96 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002209/6.53, allocations: 50.81 kB / 2.535 GB, free: 69.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/6.533, allocations: 1.955 MB / 2.537 GB, free: 68.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/6.533, allocations: 15.23 kB / 2.537 GB, free: 68.91 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/6.545, allocations: 4.114 MB / 2.541 GB, free: 67.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002736/6.548, allocations: 0.657 MB / 2.542 GB, free: 67.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/6.55, allocations: 37.2 kB / 2.542 GB, free: 67.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004613/6.554, allocations: 276.5 kB / 2.542 GB, free: 67.26 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003376/6.555, allocations: 112.6 kB / 2.542 GB, free: 67.25 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003027/6.555, allocations: 77.02 kB / 2.542 GB, free: 67.25 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0051/6.56, allocations: 1.9 MB / 2.544 GB, free: 67.11 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.51e-07/6.56, allocations: 4.078 kB / 2.544 GB, free: 67.11 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01008/6.57, allocations: 1.651 MB / 2.545 GB, free: 67.11 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 (80): * Single equations (assignments): 74 * 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.00481/6.575, allocations: 1.49 MB / 2.547 GB, free: 66.82 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01414/6.589, allocations: 3.549 MB / 2.55 GB, free: 66.64 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.109e-05/6.589, allocations: 4.188 kB / 2.55 GB, free: 66.64 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/6.593, allocations: 1.044 MB / 2.551 GB, free: 66.62 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008988/6.602, allocations: 1.522 MB / 2.553 GB, free: 66.59 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/6.621, allocations: 5.983 MB / 2.559 GB, free: 64.04 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002727/6.624, allocations: 1.776 MB / 2.561 GB, free: 63.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004542/6.629, allocations: 0.6657 MB / 2.561 GB, free: 63.27 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007419/6.63, allocations: 236.6 kB / 2.561 GB, free: 63.26 MB / 0.9792 GB Notification: Performance of SimCode: time 1.252e-06/6.63, allocations: 0 / 2.561 GB, free: 63.26 MB / 0.9792 GB Notification: Performance of Templates: time 0.1361/6.766, allocations: 76.58 MB / 2.636 GB, free: 58.94 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)