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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 293 MB / 309 MB, free: 4.82 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.001035/0.001035, allocations: 179.8 kB / 378.7 MB, free: 1.004 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.812/1.812, allocations: 205.4 MB / 0.6383 GB, free: 8.188 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.000835/0.000835, allocations: 92.67 kB / 0.7527 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004186, allocations: 12 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2992, allocations: 116.4 MB / 0.9904 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.562/1.862, allocations: 425.5 MB / 1.406 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.862, allocations: 99.05 kB / 1.406 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.366/5.227, allocations: 1.029 GB / 2.435 GB, free: 36 kB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/5.227, allocations: 0 / 2.435 GB, free: 36 kB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004769/5.228, allocations: 84.02 kB / 2.435 GB, free: 15.95 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.01078/5.239, allocations: 3.653 MB / 2.438 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/5.239, allocations: 12.03 kB / 2.438 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009432/5.248, allocations: 1.318 MB / 2.44 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008655/5.257, allocations: 3.307 MB / 2.443 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003937/5.257, allocations: 259.9 kB / 2.443 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000904/5.258, allocations: 228 kB / 2.443 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009444/5.268, allocations: 3.227 MB / 2.446 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/5.268, allocations: 8 kB / 2.446 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/5.268, allocations: 99.94 kB / 2.447 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-05/5.268, allocations: 71.98 kB / 2.447 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009454/5.278, allocations: 2.878 MB / 2.449 GB, free: 492 kB / 0.9636 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.02169/5.3, allocations: 13.45 MB / 2.463 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/5.304, allocations: 1.568 MB / 2.464 GB, free: 0.832 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5103/5.814, allocations: 0.9225 MB / 2.465 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/5.815, allocations: 1.77 MB / 2.467 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00369/5.819, allocations: 1.27 MB / 2.468 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 3.607e-06/5.819, allocations: 0 / 2.468 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=124): time 0.06098/5.88, allocations: 16.35 MB / 2.484 GB, free: 95.69 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002273/5.88, allocations: 0.9398 MB / 2.485 GB, free: 94.56 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/5.886, allocations: 2.619 MB / 2.487 GB, free: 94.32 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005618/5.886, allocations: 62.36 kB / 2.488 GB, free: 94.29 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/5.888, allocations: 1.347 MB / 2.489 GB, free: 93.94 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005959/5.888, allocations: 434.2 kB / 2.489 GB, free: 93.73 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/5.889, allocations: 34.72 kB / 2.489 GB, free: 93.73 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001152/5.889, allocations: 371.6 kB / 2.49 GB, free: 93.42 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/5.893, allocations: 0.9791 MB / 2.491 GB, free: 93.42 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004691/5.897, allocations: 1.633 MB / 2.492 GB, free: 92.74 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006792/5.904, allocations: 2.24 MB / 2.494 GB, free: 92.25 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/5.904, allocations: 2.906 kB / 2.494 GB, free: 92.25 MB / 0.9792 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01009/5.914, allocations: 3.142 MB / 2.497 GB, free: 92 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000249/5.915, allocations: 498.8 kB / 2.498 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/5.915, allocations: 11.69 kB / 2.498 GB, free: 91.45 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/5.918, allocations: 1.148 MB / 2.499 GB, free: 91.43 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/5.92, allocations: 455.6 kB / 2.499 GB, free: 91.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/5.924, allocations: 2.383 MB / 2.502 GB, free: 90.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005253/5.929, allocations: 431.2 kB / 2.502 GB, free: 90.35 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004658/5.93, allocations: 107 kB / 2.502 GB, free: 90.35 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/5.93, allocations: 5.688 kB / 2.502 GB, free: 90.35 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008464/5.938, allocations: 2.809 MB / 2.505 GB, free: 90.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/5.938, allocations: 13.81 kB / 2.505 GB, free: 90.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003271/5.942, allocations: 1.152 MB / 2.506 GB, free: 90.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/5.944, allocations: 438.3 kB / 2.507 GB, free: 90.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00335/5.947, allocations: 2.377 MB / 2.509 GB, free: 89.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/5.952, allocations: 371.9 kB / 2.509 GB, free: 89.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003559/5.952, allocations: 110.5 kB / 2.509 GB, free: 89.16 MB / 0.9792 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002058/5.954, allocations: 0.6986 MB / 2.51 GB, free: 88.98 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000848/5.955, allocations: 286.3 kB / 2.51 GB, free: 88.84 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009233/5.964, allocations: 2.428 MB / 2.513 GB, free: 88.73 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-05/5.965, allocations: 18.53 kB / 2.513 GB, free: 88.72 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/5.965, allocations: 4.406 kB / 2.513 GB, free: 88.72 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008221/5.973, allocations: 2.2 MB / 2.515 GB, free: 88.43 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02507/5.998, allocations: 7.703 MB / 2.522 GB, free: 86.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/5.998, allocations: 6.844 kB / 2.522 GB, free: 86.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/6, allocations: 291.5 kB / 2.523 GB, free: 86.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/6.003, allocations: 1.021 MB / 2.524 GB, free: 86.45 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/6.003, allocations: 53.56 kB / 2.524 GB, free: 86.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003127/6.007, allocations: 2.148 MB / 2.526 GB, free: 85.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/6.007, allocations: 8.188 kB / 2.526 GB, free: 85.4 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/6.025, allocations: 4.313 MB / 2.53 GB, free: 84.82 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002593/6.027, allocations: 0.6494 MB / 2.531 GB, free: 84.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/6.029, allocations: 37.28 kB / 2.531 GB, free: 84.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004125/6.033, allocations: 291 kB / 2.531 GB, free: 84.58 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/6.033, allocations: 118.7 kB / 2.531 GB, free: 84.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/6.034, allocations: 71.41 kB / 2.531 GB, free: 84.57 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004114/6.038, allocations: 1.824 MB / 2.533 GB, free: 84.43 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.81e-07/6.038, allocations: 0 / 2.533 GB, free: 84.43 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00724/6.045, allocations: 1.582 MB / 2.535 GB, free: 84.43 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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 (78): * Single equations (assignments): 72 * 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.003038/6.048, allocations: 1.388 MB / 2.536 GB, free: 84.14 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01191/6.06, allocations: 3.698 MB / 2.539 GB, free: 83.96 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/6.06, allocations: 4.438 kB / 2.539 GB, free: 83.96 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/6.064, allocations: 1.096 MB / 2.541 GB, free: 83.95 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01193/6.076, allocations: 1.567 MB / 2.542 GB, free: 83.91 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/6.091, allocations: 5.829 MB / 2.548 GB, free: 81.37 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/6.092, allocations: 1.716 MB / 2.549 GB, free: 80.63 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003908/6.096, allocations: 0.6538 MB / 2.55 GB, free: 80.61 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006962/6.097, allocations: 249.8 kB / 2.55 GB, free: 80.61 MB / 0.9792 GB Notification: Performance of SimCode: time 8.21e-07/6.097, allocations: 2.719 kB / 2.55 GB, free: 80.61 MB / 0.9792 GB Notification: Performance of Templates: time 0.1299/6.227, allocations: 81.25 MB / 2.63 GB, free: 75.82 MB / 0.9792 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)