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 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.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.821/0.821, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001082/0.001082, allocations: 180.8 kB / 182.2 MB, free: 9.445 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.572/1.572, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009126/0.0009128, allocations: 84.12 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001671, allocations: 274.7 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.727e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5285, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9392/1.468, allocations: 395.4 MB / 1.144 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.468, allocations: 100.6 kB / 1.144 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.939/5.408, allocations: 1.056 GB / 2.2 GB, free: 48.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.213e-06/5.408, allocations: 0 / 2.2 GB, free: 48.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004347/5.408, allocations: 77.52 kB / 2.2 GB, free: 48.18 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009305/5.417, allocations: 3.19 MB / 2.203 GB, free: 44.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/5.417, allocations: 8.031 kB / 2.203 GB, free: 44.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009827/5.427, allocations: 1.322 MB / 2.204 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008266/5.436, allocations: 3.293 MB / 2.208 GB, free: 40.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/5.436, allocations: 171.5 kB / 2.208 GB, free: 40.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000798/5.437, allocations: 140 kB / 2.208 GB, free: 39.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004941/5.442, allocations: 2.028 MB / 2.21 GB, free: 37.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005541/5.447, allocations: 2.499 MB / 2.212 GB, free: 35.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.605e-05/5.447, allocations: 3.938 kB / 2.212 GB, free: 35.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/5.448, allocations: 8 kB / 2.212 GB, free: 35.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/5.448, allocations: 75.92 kB / 2.212 GB, free: 35.17 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.02066/5.468, allocations: 12.81 MB / 2.225 GB, free: 21.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/5.47, allocations: 1.192 MB / 2.226 GB, free: 20.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/5.471, allocations: 0.6253 MB / 2.227 GB, free: 20.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/5.473, allocations: 1.776 MB / 2.228 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/5.474, allocations: 0.9512 MB / 2.229 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=122): time 6.352e-06/5.474, allocations: 4 kB / 2.229 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.007584/5.482, allocations: 1.836 MB / 2.231 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/5.482, allocations: 0.9285 MB / 2.232 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003807/5.486, allocations: 1.852 MB / 2.234 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004298/5.486, allocations: 37.69 kB / 2.234 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/5.488, allocations: 1.373 MB / 2.235 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/5.488, allocations: 414.8 kB / 2.236 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/5.488, allocations: 0 / 2.236 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001219/5.488, allocations: 365.9 kB / 2.236 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/5.49, allocations: 0.6288 MB / 2.237 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/5.491, allocations: 1.232 MB / 2.238 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/5.495, allocations: 0.9862 MB / 2.239 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/5.495, allocations: 4 kB / 2.239 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.0146/5.509, allocations: 2.93 MB / 2.242 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001397/5.511, allocations: 4.942 MB / 2.247 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-05/5.511, allocations: 12 kB / 2.247 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/5.513, allocations: 0.7094 MB / 2.247 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/5.516, allocations: 499.1 kB / 2.248 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/5.518, allocations: 1.901 MB / 2.25 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005752/5.524, allocations: 469.8 kB / 2.25 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000445/5.525, allocations: 107.9 kB / 2.25 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/5.525, allocations: 8 kB / 2.25 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01438/5.539, allocations: 2.639 MB / 2.253 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.46e-05/5.539, allocations: 16.22 kB / 2.253 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/5.541, allocations: 0.7106 MB / 2.253 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/5.544, allocations: 487.2 kB / 2.254 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/5.546, allocations: 1.908 MB / 2.256 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/5.552, allocations: 378.5 kB / 2.256 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004858/5.552, allocations: 103.9 kB / 2.256 GB, free: 4.355 MB / 0.7292 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007405/5.553, allocations: 157.1 kB / 2.256 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000958/5.554, allocations: 245.1 kB / 2.257 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/5.568, allocations: 2.437 MB / 2.259 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-05/5.569, allocations: 22.83 kB / 2.259 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/5.569, allocations: 4 kB / 2.259 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5249/6.094, allocations: 2.249 MB / 2.261 GB, free: 73.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02082/6.114, allocations: 6.829 MB / 2.268 GB, free: 71.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/6.115, allocations: 13.5 kB / 2.268 GB, free: 71.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/6.116, allocations: 289.5 kB / 2.268 GB, free: 71.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/6.118, allocations: 0.6996 MB / 2.269 GB, free: 71.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/6.118, allocations: 34.47 kB / 2.269 GB, free: 71.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/6.12, allocations: 1.897 MB / 2.271 GB, free: 70.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/6.12, allocations: 11.06 kB / 2.271 GB, free: 70.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006977/6.127, allocations: 3.407 MB / 2.274 GB, free: 69.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/6.129, allocations: 0.6395 MB / 2.275 GB, free: 69.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005123/6.129, allocations: 11.62 kB / 2.275 GB, free: 69.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/6.133, allocations: 265.1 kB / 2.275 GB, free: 69.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/6.133, allocations: 114.6 kB / 2.275 GB, free: 69.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/6.133, allocations: 77.77 kB / 2.275 GB, free: 69.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00216/6.135, allocations: 1.385 MB / 2.276 GB, free: 69.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/6.135, allocations: 2.156 kB / 2.276 GB, free: 69.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006126/6.142, allocations: 1.824 MB / 2.278 GB, free: 69.22 MB / 0.7292 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003256/6.145, allocations: 1.506 MB / 2.28 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004778/6.15, allocations: 2.639 MB / 2.282 GB, free: 68.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/6.15, allocations: 0.7188 kB / 2.282 GB, free: 68.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/6.151, allocations: 0.7674 MB / 2.283 GB, free: 68.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006424/6.157, allocations: 1.09 MB / 2.284 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008309/6.166, allocations: 3.676 MB / 2.288 GB, free: 67.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/6.167, allocations: 1.769 MB / 2.289 GB, free: 66.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004366/6.171, allocations: 0.7652 MB / 2.29 GB, free: 66.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/6.172, allocations: 173.8 kB / 2.29 GB, free: 66.88 MB / 0.7292 GB Notification: Performance of SimCode: time 8.82e-07/6.172, allocations: 0 / 2.29 GB, free: 66.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.1005/6.272, allocations: 65.56 MB / 2.354 GB, free: 63.19 MB / 0.7292 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)