Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 181.1 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 0.6367 GB, free: 8.52 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 81.59 kB / 0.751 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.000378, allocations: 16 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2943, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.502/1.797, allocations: 425.3 MB / 1.404 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.797, allocations: 95.33 kB / 1.404 GB, free: 253.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.047/4.843, allocations: 1.045 GB / 2.449 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.691e-06/4.844, allocations: 4 kB / 2.449 GB, free: 0.5781 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003092/4.844, allocations: 71.98 kB / 2.449 GB, free: 0.5078 MB / 0.9636 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.0105/4.854, allocations: 3.698 MB / 2.452 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/4.854, allocations: 8.031 kB / 2.452 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/4.865, allocations: 1.319 MB / 2.454 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008342/4.874, allocations: 3.332 MB / 2.457 GB, free: 7.965 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/4.874, allocations: 252 kB / 2.457 GB, free: 7.703 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005551/4.874, allocations: 228 kB / 2.457 GB, free: 7.48 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00831/4.883, allocations: 3.203 MB / 2.461 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.341e-05/4.883, allocations: 11.84 kB / 2.461 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/4.883, allocations: 104 kB / 2.461 GB, free: 3.969 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-05/4.883, allocations: 75.91 kB / 2.461 GB, free: 3.895 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00973/4.893, allocations: 2.878 MB / 2.464 GB, free: 1 MB / 0.9792 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.6774/5.57, allocations: 13.33 MB / 2.477 GB, free: 90.67 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/5.575, allocations: 1.595 MB / 2.478 GB, free: 90.45 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/5.577, allocations: 1.779 MB / 2.48 GB, free: 88.48 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003859/5.58, allocations: 1.281 MB / 2.481 GB, free: 88.21 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=122): time 3.917e-06/5.58, allocations: 0 / 2.481 GB, free: 88.21 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.04325/5.624, allocations: 6.121 MB / 2.487 GB, free: 87.81 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002554/5.624, allocations: 0.9384 MB / 2.488 GB, free: 86.69 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005237/5.629, allocations: 2.336 MB / 2.49 GB, free: 86.47 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004947/5.63, allocations: 57.42 kB / 2.49 GB, free: 86.44 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/5.631, allocations: 1.368 MB / 2.492 GB, free: 86.07 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006116/5.632, allocations: 427.7 kB / 2.492 GB, free: 85.86 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/5.632, allocations: 31.41 kB / 2.492 GB, free: 85.86 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001247/5.632, allocations: 371.8 kB / 2.492 GB, free: 85.56 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00398/5.636, allocations: 0.9976 MB / 2.493 GB, free: 85.56 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00442/5.64, allocations: 1.621 MB / 2.495 GB, free: 84.91 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/5.644, allocations: 1.13 MB / 2.496 GB, free: 84.86 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/5.644, allocations: 3.125 kB / 2.496 GB, free: 84.86 MB / 0.9792 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01792/5.662, allocations: 3.651 MB / 2.5 GB, free: 84.61 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001154/5.663, allocations: 5.037 MB / 2.505 GB, free: 79.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.362e-05/5.664, allocations: 10.28 kB / 2.505 GB, free: 79.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003255/5.667, allocations: 0.9515 MB / 2.506 GB, free: 79.32 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003077/5.67, allocations: 499.2 kB / 2.506 GB, free: 79.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/5.673, allocations: 1.988 MB / 2.508 GB, free: 78.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006272/5.679, allocations: 0.5392 MB / 2.508 GB, free: 78.21 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004396/5.68, allocations: 111.8 kB / 2.509 GB, free: 78.21 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/5.68, allocations: 4.062 kB / 2.509 GB, free: 78.21 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01722/5.697, allocations: 3.328 MB / 2.512 GB, free: 78.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.628e-05/5.697, allocations: 9.469 kB / 2.512 GB, free: 78.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/5.7, allocations: 0.9537 MB / 2.513 GB, free: 78.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/5.703, allocations: 485.8 kB / 2.513 GB, free: 78.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/5.706, allocations: 1.986 MB / 2.515 GB, free: 77.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00616/5.712, allocations: 457.2 kB / 2.516 GB, free: 77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005773/5.713, allocations: 109.2 kB / 2.516 GB, free: 77 MB / 0.9792 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.00257/5.716, allocations: 0.6942 MB / 2.516 GB, free: 76.81 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/5.717, allocations: 282.4 kB / 2.517 GB, free: 76.67 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/5.734, allocations: 2.945 MB / 2.52 GB, free: 76.55 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.495e-05/5.734, allocations: 17.12 kB / 2.52 GB, free: 76.55 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/5.734, allocations: 5.094 kB / 2.52 GB, free: 76.55 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01632/5.751, allocations: 2.726 MB / 2.522 GB, free: 76.25 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03017/5.781, allocations: 7.655 MB / 2.53 GB, free: 74.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/5.781, allocations: 8.219 kB / 2.53 GB, free: 74.26 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/5.783, allocations: 287.8 kB / 2.53 GB, free: 74.26 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003421/5.787, allocations: 0.9326 MB / 2.531 GB, free: 74.24 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003646/5.787, allocations: 50.84 kB / 2.531 GB, free: 74.24 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003172/5.79, allocations: 1.983 MB / 2.533 GB, free: 73.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/5.79, allocations: 11.7 kB / 2.533 GB, free: 73.18 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01366/5.804, allocations: 4.322 MB / 2.537 GB, free: 71.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002666/5.807, allocations: 0.6702 MB / 2.538 GB, free: 71.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/5.808, allocations: 41.28 kB / 2.538 GB, free: 71.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004724/5.813, allocations: 287.9 kB / 2.538 GB, free: 71.46 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/5.813, allocations: 115.7 kB / 2.538 GB, free: 71.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003054/5.813, allocations: 75.95 kB / 2.538 GB, free: 71.45 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004977/5.818, allocations: 1.824 MB / 2.54 GB, free: 71.31 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.02e-07/5.818, allocations: 1.406 kB / 2.54 GB, free: 71.31 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0104/5.829, allocations: 1.852 MB / 2.542 GB, free: 71.23 MB / 0.9792 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.004512/5.833, allocations: 1.516 MB / 2.543 GB, free: 70.96 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01395/5.847, allocations: 3.653 MB / 2.547 GB, free: 70.79 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.461e-05/5.847, allocations: 7.188 kB / 2.547 GB, free: 70.78 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004109/5.852, allocations: 1.095 MB / 2.548 GB, free: 70.77 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008713/5.86, allocations: 1.409 MB / 2.549 GB, free: 70.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/5.877, allocations: 5.936 MB / 2.555 GB, free: 68.13 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/5.879, allocations: 1.766 MB / 2.557 GB, free: 67.39 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005468/5.885, allocations: 0.6932 MB / 2.558 GB, free: 67.36 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/5.886, allocations: 239.3 kB / 2.558 GB, free: 67.36 MB / 0.9792 GB Notification: Performance of SimCode: time 2.284e-06/5.886, allocations: 0 / 2.558 GB, free: 67.36 MB / 0.9792 GB Notification: Performance of Templates: time 0.1433/6.029, allocations: 74.8 MB / 2.631 GB, free: 62.77 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)