Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7876/0.7876, allocations: 140 MB / 156 MB, free: 8.43 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.001314/0.001314, allocations: 190.2 kB / 188.5 MB, free: 9 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.771/1.771, allocations: 205.4 MB / 426.3 MB, free: 8.055 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.0007953/0.0007954, allocations: 90.3 kB / 0.4945 GB, free: 7.98 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001781/0.00178, allocations: 273.8 kB / 0.5728 GB, free: 66.14 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004539, allocations: 20 kB / 0.662 GB, free: 6.734 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4033, allocations: 79.3 MB / 0.7395 GB, free: 46.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7638/1.167, allocations: 393.5 MB / 1.124 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.167, allocations: 99.52 kB / 1.124 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.362/4.53, allocations: 1.028 GB / 2.152 GB, free: 31.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.953e-06/4.53, allocations: 0 / 2.152 GB, free: 31.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003621/4.53, allocations: 79.03 kB / 2.152 GB, free: 31.89 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008675/4.539, allocations: 3.666 MB / 2.156 GB, free: 28.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/4.539, allocations: 8.031 kB / 2.156 GB, free: 28.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008647/4.548, allocations: 1.324 MB / 2.157 GB, free: 26.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006932/4.555, allocations: 3.32 MB / 2.16 GB, free: 23.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/4.555, allocations: 247.9 kB / 2.16 GB, free: 23.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007362/4.556, allocations: 236 kB / 2.161 GB, free: 22.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007946/4.564, allocations: 3.22 MB / 2.164 GB, free: 19.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-05/4.564, allocations: 7.938 kB / 2.164 GB, free: 19.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/4.564, allocations: 104 kB / 2.164 GB, free: 19.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.008e-05/4.564, allocations: 79.92 kB / 2.164 GB, free: 19.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008352/4.573, allocations: 2.878 MB / 2.167 GB, free: 16.41 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.01817/4.591, allocations: 13.26 MB / 2.18 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/4.595, allocations: 1.578 MB / 2.181 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/4.597, allocations: 0.952 MB / 2.182 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002123/4.6, allocations: 1.773 MB / 2.184 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003646/4.603, allocations: 1.29 MB / 2.185 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=122): time 4.839e-06/4.603, allocations: 0 / 2.185 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.03811/4.641, allocations: 6.157 MB / 2.191 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004464/4.642, allocations: 0.944 MB / 2.192 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005818/4.648, allocations: 2.525 MB / 2.195 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004729/4.648, allocations: 61.7 kB / 2.195 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/4.65, allocations: 1.359 MB / 2.196 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007606/4.651, allocations: 425.9 kB / 2.196 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/4.651, allocations: 36 kB / 2.196 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002246/4.651, allocations: 377.8 kB / 2.197 GB, free: 308 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4324/5.084, allocations: 0.9927 MB / 2.198 GB, free: 72.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004451/5.088, allocations: 1.622 MB / 2.199 GB, free: 71.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006806/5.095, allocations: 2.25 MB / 2.201 GB, free: 71.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/5.095, allocations: 4 kB / 2.201 GB, free: 71.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01709/5.112, allocations: 3.647 MB / 2.205 GB, free: 71.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002897/5.112, allocations: 482.2 kB / 2.206 GB, free: 70.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.11e-05/5.112, allocations: 17.38 kB / 2.206 GB, free: 70.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/5.116, allocations: 0.9515 MB / 2.206 GB, free: 70.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/5.118, allocations: 485.1 kB / 2.207 GB, free: 70.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/5.122, allocations: 1.985 MB / 2.209 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005474/5.127, allocations: 0.5253 MB / 2.209 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005033/5.128, allocations: 107 kB / 2.209 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/5.128, allocations: 6.156 kB / 2.209 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01566/5.143, allocations: 3.329 MB / 2.213 GB, free: 69.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.486e-05/5.143, allocations: 11.56 kB / 2.213 GB, free: 69.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/5.147, allocations: 0.9561 MB / 2.214 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003892/5.151, allocations: 460.1 kB / 2.214 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004538/5.155, allocations: 1.997 MB / 2.216 GB, free: 68.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007095/5.162, allocations: 452 kB / 2.216 GB, free: 68.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006283/5.163, allocations: 106.2 kB / 2.217 GB, free: 68.29 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.002846/5.166, allocations: 0.6992 MB / 2.217 GB, free: 68.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/5.167, allocations: 278.8 kB / 2.218 GB, free: 68.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02236/5.19, allocations: 2.935 MB / 2.22 GB, free: 67.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.169e-05/5.19, allocations: 20.16 kB / 2.22 GB, free: 67.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/5.19, allocations: 5.969 kB / 2.22 GB, free: 67.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01956/5.209, allocations: 2.712 MB / 2.223 GB, free: 67.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03167/5.241, allocations: 7.629 MB / 2.231 GB, free: 65.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/5.241, allocations: 5.969 kB / 2.231 GB, free: 65.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/5.244, allocations: 305.5 kB / 2.231 GB, free: 65.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005112/5.249, allocations: 0.9409 MB / 2.232 GB, free: 65.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004254/5.249, allocations: 48.5 kB / 2.232 GB, free: 65.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/5.254, allocations: 1.985 MB / 2.234 GB, free: 64.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/5.254, allocations: 12.81 kB / 2.234 GB, free: 64.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01741/5.271, allocations: 3.668 MB / 2.237 GB, free: 64.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002579/5.274, allocations: 0.6541 MB / 2.238 GB, free: 63.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/5.275, allocations: 39.34 kB / 2.238 GB, free: 63.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005056/5.28, allocations: 296.9 kB / 2.238 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/5.281, allocations: 115.5 kB / 2.238 GB, free: 63.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003252/5.281, allocations: 72.48 kB / 2.238 GB, free: 63.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005473/5.287, allocations: 1.748 MB / 2.24 GB, free: 63.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/5.287, allocations: 0 / 2.24 GB, free: 63.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009136/5.296, allocations: 1.768 MB / 2.242 GB, free: 63.57 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003946/5.3, allocations: 1.404 MB / 2.243 GB, free: 63.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0179/5.318, allocations: 3.654 MB / 2.247 GB, free: 63.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/5.318, allocations: 3.062 kB / 2.247 GB, free: 63.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.005641/5.323, allocations: 1.096 MB / 2.248 GB, free: 63.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01584/5.339, allocations: 1.449 MB / 2.249 GB, free: 63.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/5.357, allocations: 5.948 MB / 2.255 GB, free: 60.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/5.359, allocations: 1.719 MB / 2.257 GB, free: 59.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.006837/5.366, allocations: 0.6878 MB / 2.257 GB, free: 59.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/5.367, allocations: 243.8 kB / 2.258 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/5.367, allocations: 0 / 2.258 GB, free: 59.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.1684/5.536, allocations: 75.88 MB / 2.332 GB, free: 54.73 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)