Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001155/0.001155, allocations: 180.8 kB / 366.7 MB, free: 1.66 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.69/1.69, allocations: 205.2 MB / 0.626 GB, free: 7.129 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.0009896/0.0009894, allocations: 93.09 kB / 0.74 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.068e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.728/0.728, allocations: 116.3 MB / 0.9732 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.89, allocations: 424.7 MB / 1.388 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.89, allocations: 95.5 kB / 1.388 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.877/5.767, allocations: 1.037 GB / 2.425 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.674e-06/5.767, allocations: 0 / 2.425 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003555/5.768, allocations: 85.86 kB / 2.425 GB, free: 109.2 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00841/5.776, allocations: 3.184 MB / 2.428 GB, free: 108 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/5.776, allocations: 8.75 kB / 2.428 GB, free: 108 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009897/5.786, allocations: 1.317 MB / 2.43 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008961/5.795, allocations: 3.3 MB / 2.433 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/5.796, allocations: 163.7 kB / 2.433 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/5.797, allocations: 144.7 kB / 2.433 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005712/5.802, allocations: 2.018 MB / 2.435 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005006/5.807, allocations: 2.509 MB / 2.438 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.517e-05/5.807, allocations: 6.906 kB / 2.438 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002982/5.808, allocations: 6.719 kB / 2.438 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.503e-05/5.808, allocations: 71.48 kB / 2.438 GB, free: 106.8 MB / 0.9636 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.0199/5.828, allocations: 12.98 MB / 2.45 GB, free: 101 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/5.829, allocations: 1.175 MB / 2.451 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007309/5.83, allocations: 0.6036 MB / 2.452 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/5.832, allocations: 1.775 MB / 2.454 GB, free: 98.82 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/5.833, allocations: 0.9452 MB / 2.455 GB, free: 98.52 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 3.346e-06/5.833, allocations: 0 / 2.455 GB, free: 98.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.02095/5.854, allocations: 10.55 MB / 2.465 GB, free: 92.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001929/5.854, allocations: 0.9391 MB / 2.466 GB, free: 91.37 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/5.856, allocations: 1.842 MB / 2.468 GB, free: 91.15 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003071/5.857, allocations: 35.53 kB / 2.468 GB, free: 91.12 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009948/5.858, allocations: 1.382 MB / 2.469 GB, free: 90.56 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/5.858, allocations: 407.8 kB / 2.469 GB, free: 90.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/5.858, allocations: 4.562 kB / 2.469 GB, free: 90.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.253e-05/5.858, allocations: 367.8 kB / 2.47 GB, free: 89.99 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000905/5.859, allocations: 0.604 MB / 2.47 GB, free: 89.99 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/5.861, allocations: 1.227 MB / 2.472 GB, free: 89.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/5.864, allocations: 0.9591 MB / 2.473 GB, free: 89.29 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/5.864, allocations: 3.844 kB / 2.473 GB, free: 89.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006114/5.87, allocations: 2.397 MB / 2.475 GB, free: 89.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001096/5.871, allocations: 5.128 MB / 2.48 GB, free: 83.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/5.871, allocations: 13.75 kB / 2.48 GB, free: 83.62 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/5.873, allocations: 0.8933 MB / 2.481 GB, free: 83.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/5.875, allocations: 448 kB / 2.481 GB, free: 83.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/5.878, allocations: 2.323 MB / 2.483 GB, free: 82.53 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004849/5.883, allocations: 382.6 kB / 2.484 GB, free: 82.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/5.883, allocations: 108 kB / 2.484 GB, free: 82.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/5.883, allocations: 3.969 kB / 2.484 GB, free: 82.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005496/5.889, allocations: 2.117 MB / 2.486 GB, free: 82.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/5.889, allocations: 12.25 kB / 2.486 GB, free: 82.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/5.89, allocations: 0.8884 MB / 2.487 GB, free: 82.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/5.893, allocations: 435.3 kB / 2.487 GB, free: 82.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/5.895, allocations: 2.326 MB / 2.49 GB, free: 81.35 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004398/5.9, allocations: 321.5 kB / 2.49 GB, free: 81.33 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/5.9, allocations: 104.2 kB / 2.49 GB, free: 81.33 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (148): * Single equations (assignments): 145 * 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 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005419/5.901, allocations: 153 kB / 2.49 GB, free: 81.22 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005535/5.901, allocations: 247 kB / 2.49 GB, free: 81.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006607/5.908, allocations: 1.885 MB / 2.492 GB, free: 80.97 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/5.908, allocations: 21.28 kB / 2.492 GB, free: 80.97 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/5.908, allocations: 11.19 kB / 2.492 GB, free: 80.97 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005336/5.913, allocations: 1.707 MB / 2.494 GB, free: 80.67 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/5.925, allocations: 6.274 MB / 2.5 GB, free: 78.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/5.925, allocations: 3.094 kB / 2.5 GB, free: 78.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/5.926, allocations: 279.2 kB / 2.5 GB, free: 78.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/5.928, allocations: 0.773 MB / 2.501 GB, free: 78.72 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/5.928, allocations: 36.72 kB / 2.501 GB, free: 78.72 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/5.93, allocations: 2.073 MB / 2.503 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/5.93, allocations: 12 kB / 2.503 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008111/5.938, allocations: 3.41 MB / 2.506 GB, free: 76.47 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/5.941, allocations: 0.6183 MB / 2.507 GB, free: 76.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006801/5.941, allocations: 12.91 kB / 2.507 GB, free: 76.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/5.945, allocations: 263.3 kB / 2.507 GB, free: 76.24 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/5.945, allocations: 111.9 kB / 2.507 GB, free: 76.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/5.945, allocations: 67.72 kB / 2.508 GB, free: 76.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002244/5.948, allocations: 1.374 MB / 2.509 GB, free: 76.09 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.21e-07/5.948, allocations: 0 / 2.509 GB, free: 76.09 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007177/5.955, allocations: 1.559 MB / 2.51 GB, free: 75.97 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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 (76): * Single equations (assignments): 70 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00323/5.958, allocations: 1.501 MB / 2.512 GB, free: 75.57 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004928/5.963, allocations: 2.686 MB / 2.514 GB, free: 75.38 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/5.963, allocations: 6.062 kB / 2.514 GB, free: 75.38 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/5.964, allocations: 0.7658 MB / 2.515 GB, free: 75.35 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00641/5.971, allocations: 1.087 MB / 2.516 GB, free: 75.34 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008189/5.979, allocations: 3.528 MB / 2.52 GB, free: 74.24 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/5.98, allocations: 1.773 MB / 2.521 GB, free: 73.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004228/5.985, allocations: 0.7072 MB / 2.522 GB, free: 73.48 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/5.985, allocations: 170.9 kB / 2.522 GB, free: 73.47 MB / 0.9636 GB Notification: Performance of SimCode: time 1.022e-06/5.985, allocations: 0 / 2.522 GB, free: 73.47 MB / 0.9636 GB Notification: Performance of Templates: time 0.1002/6.085, allocations: 67.01 MB / 2.588 GB, free: 69.39 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)