Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.883/0.883, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 183.5 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 97.53 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001657/0.001657, allocations: 280.5 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00086/0.0008604, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4812, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8136/1.295, allocations: 393.1 MB / 1.123 GB, free: 112 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.295, allocations: 93.33 kB / 1.123 GB, free: 64 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.64/4.935, allocations: 1.029 GB / 2.153 GB, free: 32.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.276e-06/4.935, allocations: 0 / 2.153 GB, free: 32.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005072/4.936, allocations: 79.97 kB / 2.153 GB, free: 32.57 MB / 0.698 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.01173/4.947, allocations: 3.679 MB / 2.156 GB, free: 28.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/4.948, allocations: 11.97 kB / 2.156 GB, free: 28.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008524/4.956, allocations: 1.216 MB / 2.157 GB, free: 27.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009062/4.965, allocations: 3.302 MB / 2.161 GB, free: 24.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004031/4.966, allocations: 255.9 kB / 2.161 GB, free: 23.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/4.967, allocations: 228 kB / 2.161 GB, free: 23.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/4.977, allocations: 3.196 MB / 2.164 GB, free: 20.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/4.977, allocations: 3.938 kB / 2.164 GB, free: 20.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008186/4.978, allocations: 108 kB / 2.164 GB, free: 20.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.535e-05/4.978, allocations: 71.98 kB / 2.164 GB, free: 20.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009499/4.988, allocations: 2.803 MB / 2.167 GB, free: 17.29 MB / 0.698 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.02394/5.012, allocations: 13.29 MB / 2.18 GB, free: 3.457 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/5.016, allocations: 1.516 MB / 2.182 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00257/5.018, allocations: 0.8697 MB / 2.183 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/5.02, allocations: 1.781 MB / 2.184 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00351/5.023, allocations: 1.202 MB / 2.185 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 6.512e-06/5.024, allocations: 4 kB / 2.185 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=124): time 0.5578/5.581, allocations: 13.4 MB / 2.199 GB, free: 73.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003189/5.582, allocations: 0.9353 MB / 2.199 GB, free: 72.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006602/5.588, allocations: 2.627 MB / 2.202 GB, free: 72.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006245/5.589, allocations: 63.64 kB / 2.202 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001701/5.591, allocations: 1.352 MB / 2.203 GB, free: 72.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006921/5.591, allocations: 435.2 kB / 2.204 GB, free: 72.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/5.592, allocations: 34.81 kB / 2.204 GB, free: 72.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000132/5.592, allocations: 370.7 kB / 2.204 GB, free: 71.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/5.595, allocations: 0.9339 MB / 2.205 GB, free: 71.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003544/5.599, allocations: 1.58 MB / 2.207 GB, free: 71.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005664/5.605, allocations: 2.164 MB / 2.209 GB, free: 70.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/5.605, allocations: 1.219 kB / 2.209 GB, free: 70.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.008953/5.614, allocations: 2.997 MB / 2.212 GB, free: 70.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000318/5.614, allocations: 493.8 kB / 2.212 GB, free: 69.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/5.614, allocations: 13.53 kB / 2.212 GB, free: 69.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002944/5.617, allocations: 0.9242 MB / 2.213 GB, free: 69.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/5.619, allocations: 472.2 kB / 2.213 GB, free: 69.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/5.622, allocations: 2.175 MB / 2.216 GB, free: 68.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005137/5.627, allocations: 418.8 kB / 2.216 GB, free: 68.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004184/5.628, allocations: 112.2 kB / 2.216 GB, free: 68.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/5.628, allocations: 2.812 kB / 2.216 GB, free: 68.88 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008333/5.636, allocations: 2.666 MB / 2.219 GB, free: 68.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.764e-05/5.636, allocations: 16.56 kB / 2.219 GB, free: 68.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/5.639, allocations: 0.9202 MB / 2.22 GB, free: 68.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/5.641, allocations: 456.3 kB / 2.22 GB, free: 68.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/5.644, allocations: 2.183 MB / 2.222 GB, free: 67.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004818/5.649, allocations: 353.1 kB / 2.223 GB, free: 67.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003876/5.649, allocations: 106.9 kB / 2.223 GB, free: 67.7 MB / 0.7136 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.002419/5.652, allocations: 0.7031 MB / 2.223 GB, free: 67.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/5.653, allocations: 286.8 kB / 2.224 GB, free: 67.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/5.662, allocations: 2.358 MB / 2.226 GB, free: 67.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.202e-05/5.662, allocations: 18.77 kB / 2.226 GB, free: 67.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/5.662, allocations: 7.5 kB / 2.226 GB, free: 67.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007379/5.669, allocations: 2.129 MB / 2.228 GB, free: 66.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/5.686, allocations: 6.893 MB / 2.235 GB, free: 65.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/5.686, allocations: 5.844 kB / 2.235 GB, free: 65.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/5.688, allocations: 300.5 kB / 2.235 GB, free: 65.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002417/5.69, allocations: 0.7937 MB / 2.236 GB, free: 64.99 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/5.69, allocations: 51.45 kB / 2.236 GB, free: 64.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/5.693, allocations: 1.959 MB / 2.238 GB, free: 63.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/5.693, allocations: 6.5 kB / 2.238 GB, free: 63.94 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/5.704, allocations: 3.589 MB / 2.241 GB, free: 63.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/5.706, allocations: 0.6364 MB / 2.242 GB, free: 63.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/5.708, allocations: 41.45 kB / 2.242 GB, free: 63.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003983/5.712, allocations: 279.5 kB / 2.242 GB, free: 63.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/5.712, allocations: 119 kB / 2.242 GB, free: 63.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/5.712, allocations: 75.97 kB / 2.242 GB, free: 63.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00483/5.717, allocations: 1.822 MB / 2.244 GB, free: 62.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.21e-07/5.717, allocations: 0 / 2.244 GB, free: 62.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008855/5.726, allocations: 1.575 MB / 2.246 GB, free: 62.96 MB / 0.7136 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.004033/5.73, allocations: 1.372 MB / 2.247 GB, free: 62.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01201/5.742, allocations: 3.572 MB / 2.251 GB, free: 62.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.019e-05/5.742, allocations: 7.219 kB / 2.251 GB, free: 62.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/5.745, allocations: 1.05 MB / 2.252 GB, free: 62.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01337/5.759, allocations: 1.578 MB / 2.253 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/5.776, allocations: 6.025 MB / 2.259 GB, free: 59.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/5.778, allocations: 1.715 MB / 2.261 GB, free: 59.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004526/5.783, allocations: 0.6607 MB / 2.261 GB, free: 59.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/5.784, allocations: 247.6 kB / 2.262 GB, free: 59.14 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/5.784, allocations: 2.156 kB / 2.262 GB, free: 59.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.1284/5.912, allocations: 79.18 MB / 2.339 GB, free: 54.15 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)