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 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_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.777/0.777, allocations: 140.1 MB / 156 MB, free: 5.16 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.001091/0.001091, allocations: 180.8 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.725/1.725, allocations: 205.4 MB / 426.3 MB, free: 8.375 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.0008532/0.0008533, allocations: 81.31 kB / 0.4945 GB, free: 8.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001649/0.001649, allocations: 268.9 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004745, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4394, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8143/1.254, allocations: 393 MB / 1.123 GB, free: 192 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.254, allocations: 100.5 kB / 1.123 GB, free: 136 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.734/4.988, allocations: 1.028 GB / 2.151 GB, free: 33.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/4.989, allocations: 3.938 kB / 2.151 GB, free: 33.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004739/4.989, allocations: 82.38 kB / 2.151 GB, free: 33.21 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01119/5, allocations: 3.651 MB / 2.155 GB, free: 29.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/5, allocations: 12.03 kB / 2.155 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008727/5.009, allocations: 1.21 MB / 2.156 GB, free: 28.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/5.02, allocations: 3.301 MB / 2.159 GB, free: 24.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003845/5.02, allocations: 255.9 kB / 2.16 GB, free: 24.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/5.021, allocations: 235.9 kB / 2.16 GB, free: 24.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009585/5.031, allocations: 3.152 MB / 2.163 GB, free: 21.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/5.031, allocations: 7.938 kB / 2.163 GB, free: 21.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000649/5.032, allocations: 99.98 kB / 2.163 GB, free: 20.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.11e-05/5.032, allocations: 68 kB / 2.163 GB, free: 20.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009041/5.041, allocations: 2.768 MB / 2.166 GB, free: 18.06 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.02072/5.061, allocations: 13.08 MB / 2.179 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/5.065, allocations: 1.49 MB / 2.18 GB, free: 2.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/5.068, allocations: 0.8924 MB / 2.181 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/5.069, allocations: 1.773 MB / 2.183 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003517/5.073, allocations: 1.22 MB / 2.184 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 5.38e-06/5.073, allocations: 3.938 kB / 2.184 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.02021/5.093, allocations: 4.304 MB / 2.188 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005576/5.094, allocations: 0.9396 MB / 2.189 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006227/5.1, allocations: 2.514 MB / 2.191 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004424/5.1, allocations: 69.69 kB / 2.191 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/5.102, allocations: 1.364 MB / 2.193 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007282/5.103, allocations: 414.1 kB / 2.193 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/5.103, allocations: 36 kB / 2.193 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002229/5.103, allocations: 361.9 kB / 2.194 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003576/5.107, allocations: 0.9407 MB / 2.194 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00416/5.111, allocations: 1.567 MB / 2.196 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4315/5.542, allocations: 2.154 MB / 2.198 GB, free: 72.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/5.543, allocations: 2.938 kB / 2.198 GB, free: 72.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01038/5.553, allocations: 2.907 MB / 2.201 GB, free: 72.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002607/5.553, allocations: 477 kB / 2.201 GB, free: 71.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/5.553, allocations: 13.12 kB / 2.201 GB, free: 71.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/5.556, allocations: 0.7231 MB / 2.202 GB, free: 71.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/5.558, allocations: 483.6 kB / 2.203 GB, free: 71.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/5.56, allocations: 1.793 MB / 2.204 GB, free: 70.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004817/5.565, allocations: 0.5095 MB / 2.205 GB, free: 70.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/5.565, allocations: 110.4 kB / 2.205 GB, free: 70.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/5.565, allocations: 5.062 kB / 2.205 GB, free: 70.67 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007499/5.573, allocations: 2.585 MB / 2.207 GB, free: 70.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/5.573, allocations: 13 kB / 2.207 GB, free: 70.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/5.575, allocations: 0.7205 MB / 2.208 GB, free: 70.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/5.577, allocations: 469.7 kB / 2.209 GB, free: 70.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/5.579, allocations: 1.802 MB / 2.21 GB, free: 69.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/5.583, allocations: 434.2 kB / 2.211 GB, free: 69.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/5.584, allocations: 103.4 kB / 2.211 GB, free: 69.53 MB / 0.7136 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.001875/5.586, allocations: 0.6875 MB / 2.212 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007767/5.586, allocations: 276 kB / 2.212 GB, free: 69.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008003/5.594, allocations: 2.271 MB / 2.214 GB, free: 69.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/5.594, allocations: 16.73 kB / 2.214 GB, free: 69.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/5.594, allocations: 6.781 kB / 2.214 GB, free: 69.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007011/5.601, allocations: 2.061 MB / 2.216 GB, free: 68.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/5.615, allocations: 6.946 MB / 2.223 GB, free: 66.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/5.615, allocations: 7.469 kB / 2.223 GB, free: 66.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/5.617, allocations: 303.1 kB / 2.223 GB, free: 66.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/5.619, allocations: 0.7073 MB / 2.224 GB, free: 66.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/5.619, allocations: 47.73 kB / 2.224 GB, free: 66.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/5.621, allocations: 1.786 MB / 2.226 GB, free: 65.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/5.621, allocations: 15.03 kB / 2.226 GB, free: 65.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/5.631, allocations: 3.449 MB / 2.229 GB, free: 65.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/5.633, allocations: 0.6486 MB / 2.23 GB, free: 65.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004687/5.633, allocations: 36.97 kB / 2.23 GB, free: 65.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/5.636, allocations: 288.1 kB / 2.23 GB, free: 65.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/5.636, allocations: 104.9 kB / 2.23 GB, free: 65.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/5.636, allocations: 70.22 kB / 2.23 GB, free: 65.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003054/5.64, allocations: 1.752 MB / 2.232 GB, free: 64.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/5.64, allocations: 1.188 kB / 2.232 GB, free: 64.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005691/5.645, allocations: 1.759 MB / 2.234 GB, free: 64.8 MB / 0.7136 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.002761/5.648, allocations: 1.377 MB / 2.235 GB, free: 64.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01095/5.659, allocations: 3.489 MB / 2.238 GB, free: 64.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.939e-05/5.659, allocations: 5.594 kB / 2.238 GB, free: 64.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003302/5.662, allocations: 1.04 MB / 2.239 GB, free: 64.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01075/5.673, allocations: 1.431 MB / 2.241 GB, free: 64.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/5.69, allocations: 6.118 MB / 2.247 GB, free: 61.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003818/5.693, allocations: 1.712 MB / 2.248 GB, free: 60.99 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005495/5.699, allocations: 0.6802 MB / 2.249 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/5.7, allocations: 241.8 kB / 2.249 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of SimCode: time 1.483e-06/5.7, allocations: 2.531 kB / 2.249 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.1145/5.815, allocations: 73.21 MB / 2.321 GB, free: 56.44 MB / 0.7136 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)