Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8672/0.8672, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 177 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.2 MB / 447.7 MB, free: 4.781 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 96.3 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 268.5 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004728, allocations: 20.78 kB / 0.6929 GB, free: 59.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1861, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.383, allocations: 395.6 MB / 1.16 GB, free: 266.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.384, allocations: 104.8 kB / 1.16 GB, free: 266.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.367/4.751, allocations: 1.065 GB / 2.225 GB, free: 25.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.545e-06/4.751, allocations: 0 / 2.225 GB, free: 25.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003182/4.751, allocations: 79.91 kB / 2.225 GB, free: 25.63 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01029/4.761, allocations: 3.68 MB / 2.228 GB, free: 21.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/4.761, allocations: 12.03 kB / 2.228 GB, free: 21.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009652/4.771, allocations: 1.213 MB / 2.23 GB, free: 20.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007912/4.779, allocations: 3.311 MB / 2.233 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/4.779, allocations: 243.9 kB / 2.233 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005454/4.78, allocations: 228 kB / 2.233 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007643/4.787, allocations: 3.13 MB / 2.236 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.994e-05/4.788, allocations: 7.938 kB / 2.236 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003274/4.788, allocations: 107.9 kB / 2.236 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.809e-05/4.788, allocations: 68.84 kB / 2.237 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008775/4.797, allocations: 2.768 MB / 2.239 GB, free: 10.48 MB / 0.7136 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.02148/4.818, allocations: 13.15 MB / 2.252 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/4.823, allocations: 1.498 MB / 2.254 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001993/4.825, allocations: 1.773 MB / 2.255 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003934/4.829, allocations: 1.207 MB / 2.256 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=118): time 4.028e-06/4.829, allocations: 0 / 2.256 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of matching and sorting (n=118): time 0.02211/4.851, allocations: 4.29 MB / 2.261 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004396/4.851, allocations: 0.9357 MB / 2.262 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/4.856, allocations: 2.328 MB / 2.264 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005606/4.857, allocations: 61.7 kB / 2.264 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/4.858, allocations: 1.352 MB / 2.265 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006384/4.859, allocations: 414.2 kB / 2.266 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/4.859, allocations: 33.2 kB / 2.266 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001646/4.859, allocations: 369.9 kB / 2.266 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003634/4.863, allocations: 0.9446 MB / 2.267 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004246/4.867, allocations: 1.559 MB / 2.268 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004075/4.871, allocations: 1.079 MB / 2.269 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/4.871, allocations: 8 kB / 2.269 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01038/4.882, allocations: 2.902 MB / 2.272 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002008/4.884, allocations: 5.028 MB / 2.277 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/4.884, allocations: 12 kB / 2.277 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/4.886, allocations: 0.7246 MB / 2.278 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/4.889, allocations: 499.2 kB / 2.278 GB, free: 272 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5102/5.4, allocations: 1.789 MB / 2.28 GB, free: 75.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006715/5.406, allocations: 0.5189 MB / 2.281 GB, free: 75.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005275/5.407, allocations: 104.7 kB / 2.281 GB, free: 75.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/5.407, allocations: 2.531 kB / 2.281 GB, free: 75.19 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009084/5.416, allocations: 2.586 MB / 2.283 GB, free: 75.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/5.416, allocations: 12.06 kB / 2.283 GB, free: 75.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/5.419, allocations: 0.7236 MB / 2.284 GB, free: 75.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003143/5.422, allocations: 479.5 kB / 2.284 GB, free: 75.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/5.424, allocations: 1.8 MB / 2.286 GB, free: 74.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005427/5.43, allocations: 443 kB / 2.287 GB, free: 74.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004786/5.43, allocations: 103.7 kB / 2.287 GB, free: 74.07 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002213/5.432, allocations: 0.6921 MB / 2.287 GB, free: 73.88 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009629/5.433, allocations: 282.7 kB / 2.288 GB, free: 73.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/5.444, allocations: 2.265 MB / 2.29 GB, free: 73.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.053e-05/5.444, allocations: 17.8 kB / 2.29 GB, free: 73.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/5.444, allocations: 5.312 kB / 2.29 GB, free: 73.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009732/5.453, allocations: 2.064 MB / 2.292 GB, free: 73.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/5.475, allocations: 6.978 MB / 2.299 GB, free: 71.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/5.475, allocations: 7.812 kB / 2.299 GB, free: 71.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/5.477, allocations: 293.2 kB / 2.299 GB, free: 71.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002656/5.479, allocations: 0.7075 MB / 2.3 GB, free: 71.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/5.48, allocations: 49.78 kB / 2.3 GB, free: 71.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/5.482, allocations: 1.788 MB / 2.302 GB, free: 70.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/5.482, allocations: 8.344 kB / 2.302 GB, free: 70.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/5.494, allocations: 4.101 MB / 2.306 GB, free: 68.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/5.497, allocations: 0.6584 MB / 2.306 GB, free: 68.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006236/5.497, allocations: 37.61 kB / 2.306 GB, free: 68.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003456/5.501, allocations: 280.5 kB / 2.306 GB, free: 68.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/5.501, allocations: 114.7 kB / 2.307 GB, free: 68.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/5.501, allocations: 67.59 kB / 2.307 GB, free: 68.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003282/5.504, allocations: 1.823 MB / 2.308 GB, free: 68.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.9e-07/5.504, allocations: 0 / 2.308 GB, free: 68.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008111/5.512, allocations: 1.842 MB / 2.31 GB, free: 68.52 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (84): * Single equations (assignments): 78 * 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,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003559/5.516, allocations: 1.493 MB / 2.312 GB, free: 68.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01242/5.529, allocations: 3.493 MB / 2.315 GB, free: 68.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/5.529, allocations: 5.656 kB / 2.315 GB, free: 68.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003779/5.532, allocations: 1.032 MB / 2.316 GB, free: 68.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009284/5.542, allocations: 1.401 MB / 2.318 GB, free: 68.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/5.556, allocations: 6.092 MB / 2.323 GB, free: 65.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/5.557, allocations: 1.767 MB / 2.325 GB, free: 64.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004097/5.561, allocations: 0.6901 MB / 2.326 GB, free: 64.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000694/5.562, allocations: 238.4 kB / 2.326 GB, free: 64.73 MB / 0.7448 GB Notification: Performance of SimCode: time 1.051e-06/5.562, allocations: 2.438 kB / 2.326 GB, free: 64.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.111/5.673, allocations: 72.21 MB / 2.397 GB, free: 60.45 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)