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.8008/0.8008, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 189.5 kB / 187.3 MB, free: 11.88 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.5/1.5, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.001054/0.001055, allocations: 91.17 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001886/0.001886, allocations: 262.3 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.151e-05/4.162e-05, allocations: 8 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4794, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7846/1.264, allocations: 395.6 MB / 1.151 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.264, allocations: 94.27 kB / 1.151 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.751/5.016, allocations: 1.061 GB / 2.212 GB, free: 39.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.555e-06/5.016, allocations: 0 / 2.212 GB, free: 39.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004893/5.016, allocations: 85.39 kB / 2.212 GB, free: 39.22 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.01237/5.029, allocations: 3.182 MB / 2.215 GB, free: 35.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/5.029, allocations: 8.031 kB / 2.215 GB, free: 35.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/5.042, allocations: 1.213 MB / 2.216 GB, free: 34.72 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006938/5.049, allocations: 3.28 MB / 2.22 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/5.049, allocations: 247.9 kB / 2.22 GB, free: 31.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005588/5.05, allocations: 235.9 kB / 2.22 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/5.054, allocations: 2.787 MB / 2.223 GB, free: 27.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/5.054, allocations: 7.938 kB / 2.223 GB, free: 27.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/5.055, allocations: 104 kB / 2.223 GB, free: 27.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.028e-05/5.055, allocations: 64 kB / 2.223 GB, free: 27.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/5.058, allocations: 2.109 MB / 2.225 GB, free: 25.61 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.01751/5.076, allocations: 13.14 MB / 2.238 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/5.077, allocations: 1.169 MB / 2.239 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/5.078, allocations: 0.6356 MB / 2.24 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/5.079, allocations: 1.774 MB / 2.241 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/5.081, allocations: 0.9495 MB / 2.242 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.968e-06/5.081, allocations: 4 kB / 2.242 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.004587/5.085, allocations: 1.696 MB / 2.244 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/5.085, allocations: 0.9397 MB / 2.245 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0036/5.089, allocations: 2.238 MB / 2.247 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004865/5.089, allocations: 57.7 kB / 2.247 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/5.091, allocations: 1.357 MB / 2.248 GB, free: 320 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005421/5.091, allocations: 422.3 kB / 2.249 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/5.091, allocations: 28 kB / 2.249 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001595/5.091, allocations: 369.9 kB / 2.249 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/5.093, allocations: 0.621 MB / 2.25 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/5.094, allocations: 1.24 MB / 2.251 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/5.096, allocations: 0.7679 MB / 2.252 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/5.096, allocations: 8 kB / 2.252 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004975/5.101, allocations: 2.235 MB / 2.254 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002036/5.103, allocations: 5.032 MB / 2.259 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/5.103, allocations: 12 kB / 2.259 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/5.105, allocations: 0.6363 MB / 2.259 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/5.108, allocations: 0.4914 MB / 2.26 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/5.11, allocations: 1.686 MB / 2.262 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005709/5.116, allocations: 0.5209 MB / 2.262 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004215/5.116, allocations: 103.9 kB / 2.262 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/5.117, allocations: 7.938 kB / 2.262 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003906/5.12, allocations: 1.955 MB / 2.264 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/5.12, allocations: 16.98 kB / 2.264 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/5.123, allocations: 0.6396 MB / 2.265 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/5.125, allocations: 483.2 kB / 2.265 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/5.127, allocations: 1.699 MB / 2.267 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005019/5.132, allocations: 433.9 kB / 2.267 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/5.133, allocations: 111.7 kB / 2.267 GB, free: 12.04 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 () * 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.0006241/5.133, allocations: 219.8 kB / 2.268 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009498/5.134, allocations: 276.7 kB / 2.268 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005328/5.14, allocations: 1.714 MB / 2.27 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/5.14, allocations: 19.98 kB / 2.27 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/5.14, allocations: 4 kB / 2.27 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003879/5.144, allocations: 1.498 MB / 2.271 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/5.156, allocations: 6.412 MB / 2.277 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/5.156, allocations: 8 kB / 2.277 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/5.158, allocations: 291.6 kB / 2.278 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002019/5.16, allocations: 0.6319 MB / 2.278 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/5.16, allocations: 55.94 kB / 2.278 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5102/5.67, allocations: 1.667 MB / 2.28 GB, free: 82.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.698e-05/5.67, allocations: 11.58 kB / 2.28 GB, free: 82.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006805/5.677, allocations: 3.278 MB / 2.283 GB, free: 80.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/5.68, allocations: 0.6542 MB / 2.284 GB, free: 80.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009645/5.681, allocations: 38.2 kB / 2.284 GB, free: 80.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004102/5.685, allocations: 283.9 kB / 2.284 GB, free: 80.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/5.685, allocations: 116.9 kB / 2.284 GB, free: 80.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/5.685, allocations: 70.61 kB / 2.284 GB, free: 80.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00428/5.69, allocations: 1.739 MB / 2.286 GB, free: 80.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.2e-07/5.69, allocations: 0 / 2.286 GB, free: 80.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007395/5.697, allocations: 1.837 MB / 2.288 GB, free: 80.38 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) * 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.003353/5.7, allocations: 1.494 MB / 2.289 GB, free: 80.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005216/5.706, allocations: 2.706 MB / 2.292 GB, free: 79.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/5.706, allocations: 4.062 kB / 2.292 GB, free: 79.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/5.707, allocations: 0.766 MB / 2.293 GB, free: 79.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007629/5.715, allocations: 1.401 MB / 2.294 GB, free: 79.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/5.726, allocations: 3.976 MB / 2.298 GB, free: 78.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/5.728, allocations: 1.772 MB / 2.3 GB, free: 78.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005204/5.733, allocations: 0.8575 MB / 2.3 GB, free: 78.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/5.734, allocations: 186.5 kB / 2.301 GB, free: 78.07 MB / 0.7448 GB Notification: Performance of SimCode: time 1.142e-06/5.734, allocations: 0 / 2.301 GB, free: 78.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.1115/5.845, allocations: 77.86 MB / 2.377 GB, free: 74.08 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)