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.7901/0.7901, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001231/0.001231, allocations: 187.4 kB / 191.5 MB, free: 5.754 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.41/1.41, allocations: 223.2 MB / 447.7 MB, free: 4.848 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.0008637/0.0008636, allocations: 96.31 kB / 0.5188 GB, free: 1.203 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001752, allocations: 278.1 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004522, allocations: 18.52 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1859, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.435, allocations: 396.1 MB / 1.161 GB, free: 266.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.436, allocations: 99.3 kB / 1.161 GB, free: 266.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.167/4.603, allocations: 1.065 GB / 2.225 GB, free: 25.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.382e-06/4.603, allocations: 0 / 2.225 GB, free: 25.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002777/4.603, allocations: 71.98 kB / 2.225 GB, free: 25.14 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.008465/4.612, allocations: 3.708 MB / 2.229 GB, free: 21.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/4.612, allocations: 8.031 kB / 2.229 GB, free: 21.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/4.622, allocations: 1.315 MB / 2.23 GB, free: 20 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007357/4.629, allocations: 3.319 MB / 2.234 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/4.63, allocations: 251.9 kB / 2.234 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004621/4.63, allocations: 240 kB / 2.234 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007565/4.638, allocations: 3.198 MB / 2.237 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.987e-05/4.638, allocations: 11.53 kB / 2.237 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003051/4.638, allocations: 100 kB / 2.237 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.504e-05/4.638, allocations: 72.78 kB / 2.237 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008896/4.647, allocations: 2.878 MB / 2.24 GB, free: 9.656 MB / 0.7136 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.01996/4.667, allocations: 13.33 MB / 2.253 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/4.672, allocations: 1.601 MB / 2.255 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/4.674, allocations: 1.774 MB / 2.257 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004254/4.678, allocations: 1.288 MB / 2.258 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=122): time 4.658e-06/4.678, allocations: 0 / 2.258 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of matching and sorting (n=122): time 0.04149/4.719, allocations: 6.124 MB / 2.264 GB, free: 424 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004069/4.72, allocations: 0.9396 MB / 2.265 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004908/4.725, allocations: 2.324 MB / 2.267 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005161/4.725, allocations: 61.7 kB / 2.267 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001527/4.727, allocations: 1.367 MB / 2.268 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000823/4.728, allocations: 423.4 kB / 2.269 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/4.728, allocations: 28 kB / 2.269 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002083/4.728, allocations: 369.9 kB / 2.269 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004148/4.732, allocations: 0.9993 MB / 2.27 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004807/4.737, allocations: 1.626 MB / 2.272 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004485/4.742, allocations: 1.129 MB / 2.273 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/4.742, allocations: 4 kB / 2.273 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.02116/4.763, allocations: 3.646 MB / 2.276 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.3816/5.145, allocations: 5.029 MB / 2.281 GB, free: 74.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-05/5.145, allocations: 12.91 kB / 2.281 GB, free: 74.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/5.148, allocations: 0.9601 MB / 2.282 GB, free: 73.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/5.151, allocations: 0.489 MB / 2.283 GB, free: 73.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/5.154, allocations: 1.984 MB / 2.285 GB, free: 72.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005492/5.16, allocations: 0.5323 MB / 2.285 GB, free: 72.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002835/5.16, allocations: 109.8 kB / 2.285 GB, free: 72.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/5.16, allocations: 3.75 kB / 2.285 GB, free: 72.95 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01736/5.177, allocations: 3.323 MB / 2.289 GB, free: 72.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/5.177, allocations: 13.89 kB / 2.289 GB, free: 72.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003178/5.181, allocations: 0.9576 MB / 2.289 GB, free: 72.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003041/5.184, allocations: 483 kB / 2.29 GB, free: 72.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/5.187, allocations: 1.99 MB / 2.292 GB, free: 71.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005393/5.192, allocations: 457.9 kB / 2.292 GB, free: 71.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003868/5.193, allocations: 106.4 kB / 2.292 GB, free: 71.82 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 () * 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.002013/5.195, allocations: 0.7016 MB / 2.293 GB, free: 71.63 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008233/5.196, allocations: 278.2 kB / 2.293 GB, free: 71.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/5.213, allocations: 2.938 MB / 2.296 GB, free: 71.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-05/5.213, allocations: 15.97 kB / 2.296 GB, free: 71.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/5.213, allocations: 13.47 kB / 2.296 GB, free: 71.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01577/5.229, allocations: 2.715 MB / 2.299 GB, free: 71.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02129/5.25, allocations: 7.652 MB / 2.306 GB, free: 69.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/5.25, allocations: 8.812 kB / 2.306 GB, free: 69.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/5.252, allocations: 287.6 kB / 2.307 GB, free: 69.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003119/5.255, allocations: 0.9463 MB / 2.308 GB, free: 69.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/5.256, allocations: 51.75 kB / 2.308 GB, free: 69.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/5.258, allocations: 1.979 MB / 2.31 GB, free: 68.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/5.258, allocations: 14.95 kB / 2.31 GB, free: 68.21 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/5.27, allocations: 4.313 MB / 2.314 GB, free: 66.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/5.272, allocations: 0.672 MB / 2.314 GB, free: 66.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005147/5.273, allocations: 37.61 kB / 2.314 GB, free: 66.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003336/5.276, allocations: 292.2 kB / 2.315 GB, free: 66.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/5.276, allocations: 114.2 kB / 2.315 GB, free: 66.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/5.276, allocations: 73.42 kB / 2.315 GB, free: 66.49 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002744/5.279, allocations: 1.823 MB / 2.317 GB, free: 66.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.81e-07/5.279, allocations: 0 / 2.317 GB, free: 66.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004842/5.284, allocations: 1.866 MB / 2.319 GB, free: 66.26 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) * 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.002331/5.286, allocations: 1.515 MB / 2.32 GB, free: 65.99 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01185/5.298, allocations: 3.658 MB / 2.324 GB, free: 65.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/5.298, allocations: 6.281 kB / 2.324 GB, free: 65.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003602/5.302, allocations: 1.087 MB / 2.325 GB, free: 65.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006048/5.308, allocations: 1.409 MB / 2.326 GB, free: 65.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/5.32, allocations: 5.928 MB / 2.332 GB, free: 63.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/5.321, allocations: 1.771 MB / 2.334 GB, free: 62.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004128/5.325, allocations: 0.6958 MB / 2.334 GB, free: 62.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006746/5.326, allocations: 234.5 kB / 2.334 GB, free: 62.43 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/5.326, allocations: 0 / 2.334 GB, free: 62.43 MB / 0.7448 GB Notification: Performance of Templates: time 0.09698/5.423, allocations: 74.85 MB / 2.408 GB, free: 57.76 MB / 0.7448 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)