Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.453/0.453, allocations: 90.82 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 221.3 MB / 348.3 MB, free: 432 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008594/0.0008596, allocations: 100.1 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.988e-05, allocations: 4 kB / 0.4896 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3087, allocations: 72.31 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8959/1.205, allocations: 388.5 MB / 0.9396 GB, free: 230.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.205, allocations: 88.45 kB / 0.9397 GB, free: 230.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.564/4.769, allocations: 1.066 GB / 2.006 GB, free: 49.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.445e-06/4.769, allocations: 0 / 2.006 GB, free: 49.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004957/4.769, allocations: 87.52 kB / 2.006 GB, free: 49.89 MB / 0.6355 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.009164/4.779, allocations: 3.178 MB / 2.009 GB, free: 48.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/4.779, allocations: 17.3 kB / 2.009 GB, free: 48.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008686/4.787, allocations: 1.205 MB / 2.01 GB, free: 48.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008601/4.796, allocations: 3.323 MB / 2.013 GB, free: 47.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/4.796, allocations: 249.2 kB / 2.014 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000989/4.797, allocations: 229.5 kB / 2.014 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00642/4.804, allocations: 2.79 MB / 2.017 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.964e-05/4.804, allocations: 11.14 kB / 2.017 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003106/4.804, allocations: 105.7 kB / 2.017 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.138e-05/4.804, allocations: 70.17 kB / 2.017 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/4.808, allocations: 2.105 MB / 2.019 GB, free: 46.89 MB / 0.6355 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.01845/4.826, allocations: 13.13 MB / 2.032 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/4.828, allocations: 1.167 MB / 2.033 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008454/4.829, allocations: 0.6301 MB / 2.033 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/4.83, allocations: 1.78 MB / 2.035 GB, free: 38.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/4.832, allocations: 0.9485 MB / 2.036 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=118): time 3.938e-06/4.832, allocations: 0 / 2.036 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118): time 0.004806/4.836, allocations: 1.691 MB / 2.038 GB, free: 38.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/4.837, allocations: 0.9378 MB / 2.039 GB, free: 37.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/4.84, allocations: 2.252 MB / 2.041 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002891/4.84, allocations: 60.14 kB / 2.041 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/4.841, allocations: 1.373 MB / 2.042 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003665/4.842, allocations: 421 kB / 2.043 GB, free: 36.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/4.842, allocations: 30.94 kB / 2.043 GB, free: 36.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/4.842, allocations: 372.6 kB / 2.043 GB, free: 35.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/4.843, allocations: 0.6185 MB / 2.044 GB, free: 35.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/4.844, allocations: 1.231 MB / 2.045 GB, free: 35.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/4.846, allocations: 0.7688 MB / 2.045 GB, free: 35.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/4.846, allocations: 3.219 kB / 2.045 GB, free: 35.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004162/4.85, allocations: 2.23 MB / 2.048 GB, free: 34.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001499/4.851, allocations: 5.039 MB / 2.053 GB, free: 29.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/4.851, allocations: 10 kB / 2.053 GB, free: 29.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/4.853, allocations: 0.6384 MB / 2.053 GB, free: 29.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/4.856, allocations: 499.3 kB / 2.054 GB, free: 29.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/4.858, allocations: 1.689 MB / 2.055 GB, free: 28.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005012/4.863, allocations: 0.5096 MB / 2.056 GB, free: 28.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/4.863, allocations: 108.8 kB / 2.056 GB, free: 28.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/4.863, allocations: 3.094 kB / 2.056 GB, free: 28.29 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003175/4.866, allocations: 1.96 MB / 2.058 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/4.866, allocations: 11.06 kB / 2.058 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/4.868, allocations: 0.6508 MB / 2.059 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/4.87, allocations: 477.2 kB / 2.059 GB, free: 27.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/4.872, allocations: 1.695 MB / 2.061 GB, free: 26.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004389/4.876, allocations: 438.8 kB / 2.061 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/4.876, allocations: 104.9 kB / 2.061 GB, free: 26.27 MB / 0.6355 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.0005782/4.877, allocations: 220 kB / 2.061 GB, free: 26.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007707/4.878, allocations: 280.2 kB / 2.062 GB, free: 25.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004683/4.882, allocations: 1.7 MB / 2.063 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/4.882, allocations: 22.02 kB / 2.063 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/4.882, allocations: 7.125 kB / 2.063 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00346/4.886, allocations: 1.491 MB / 2.065 GB, free: 24.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/4.897, allocations: 6.415 MB / 2.071 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/4.897, allocations: 6.219 kB / 2.071 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/4.898, allocations: 291.5 kB / 2.071 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/4.9, allocations: 0.6302 MB / 2.072 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/4.9, allocations: 48.09 kB / 2.072 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/4.902, allocations: 1.681 MB / 2.074 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/4.902, allocations: 15.56 kB / 2.074 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/4.907, allocations: 3.283 MB / 2.077 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/4.909, allocations: 0.6621 MB / 2.077 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006209/4.91, allocations: 35.47 kB / 2.078 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003119/4.913, allocations: 279.8 kB / 2.078 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/4.913, allocations: 116.9 kB / 2.078 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/4.913, allocations: 67.12 kB / 2.078 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002594/4.916, allocations: 1.747 MB / 2.08 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/4.916, allocations: 0 / 2.08 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005825/4.921, allocations: 1.838 MB / 2.081 GB, free: 15.19 MB / 0.6355 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.002729/4.924, allocations: 1.494 MB / 2.083 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004636/4.929, allocations: 2.708 MB / 2.086 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/4.929, allocations: 6.281 kB / 2.086 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/4.93, allocations: 0.7735 MB / 2.086 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007074/4.937, allocations: 1.384 MB / 2.088 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009458/4.947, allocations: 3.981 MB / 2.092 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/4.948, allocations: 1.774 MB / 2.093 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.004402/4.952, allocations: 0.8566 MB / 2.094 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/4.953, allocations: 178.4 kB / 2.094 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of SimCode: time 1.292e-06/4.953, allocations: 0 / 2.094 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.6096/5.562, allocations: 77.35 MB / 2.17 GB, free: 63.45 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)