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.638/1.638, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001041/0.001041, allocations: 180.8 kB / 366.7 MB, free: 1.633 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.642/1.642, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0008615/0.0008615, allocations: 86.97 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.858e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7238, allocations: 116.3 MB / 0.9732 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.844, allocations: 424.5 MB / 1.388 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/1.845, allocations: 90.94 kB / 1.388 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.911/5.756, allocations: 1.037 GB / 2.424 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.274e-06/5.756, allocations: 0 / 2.424 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003856/5.757, allocations: 81.8 kB / 2.425 GB, free: 108.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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009291/5.766, allocations: 3.186 MB / 2.428 GB, free: 107 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/5.766, allocations: 9.344 kB / 2.428 GB, free: 107 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/5.776, allocations: 1.314 MB / 2.429 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008545/5.785, allocations: 3.303 MB / 2.432 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003334/5.785, allocations: 174.1 kB / 2.432 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008191/5.786, allocations: 144.9 kB / 2.432 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004932/5.791, allocations: 2.022 MB / 2.434 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005206/5.796, allocations: 2.505 MB / 2.437 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.815e-05/5.796, allocations: 4.031 kB / 2.437 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/5.797, allocations: 6.5 kB / 2.437 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.931e-05/5.797, allocations: 73.67 kB / 2.437 GB, free: 105.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.02081/5.818, allocations: 12.82 MB / 2.449 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/5.819, allocations: 1.192 MB / 2.451 GB, free: 100 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008017/5.82, allocations: 0.6238 MB / 2.451 GB, free: 100 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/5.821, allocations: 1.78 MB / 2.453 GB, free: 98.04 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/5.823, allocations: 0.9585 MB / 2.454 GB, free: 97.74 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=122): time 3.336e-06/5.823, allocations: 0 / 2.454 GB, free: 97.74 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.006805/5.83, allocations: 1.839 MB / 2.456 GB, free: 97.54 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000212/5.83, allocations: 0.9358 MB / 2.457 GB, free: 96.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/5.833, allocations: 1.856 MB / 2.458 GB, free: 96.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003495/5.833, allocations: 37.08 kB / 2.459 GB, free: 96.15 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/5.834, allocations: 1.378 MB / 2.46 GB, free: 95.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/5.835, allocations: 408.4 kB / 2.46 GB, free: 95.33 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/5.835, allocations: 0 / 2.46 GB, free: 95.33 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/5.835, allocations: 369.3 kB / 2.461 GB, free: 95.03 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009307/5.836, allocations: 0.6252 MB / 2.461 GB, free: 95.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/5.837, allocations: 1.227 MB / 2.462 GB, free: 94.37 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003421/5.841, allocations: 0.9846 MB / 2.463 GB, free: 94.36 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/5.841, allocations: 4.406 kB / 2.463 GB, free: 94.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.0138/5.854, allocations: 2.935 MB / 2.466 GB, free: 94.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001047/5.855, allocations: 4.944 MB / 2.471 GB, free: 88.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/5.856, allocations: 10.41 kB / 2.471 GB, free: 88.87 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/5.857, allocations: 0.7122 MB / 2.472 GB, free: 88.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/5.86, allocations: 497.4 kB / 2.472 GB, free: 88.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/5.862, allocations: 1.904 MB / 2.474 GB, free: 87.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005262/5.867, allocations: 460.5 kB / 2.475 GB, free: 87.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003806/5.868, allocations: 107.1 kB / 2.475 GB, free: 87.71 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/5.868, allocations: 7.656 kB / 2.475 GB, free: 87.71 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01283/5.88, allocations: 2.648 MB / 2.477 GB, free: 87.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-05/5.881, allocations: 11.75 kB / 2.477 GB, free: 87.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/5.882, allocations: 0.7099 MB / 2.478 GB, free: 87.64 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/5.884, allocations: 488 kB / 2.478 GB, free: 87.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/5.887, allocations: 1.896 MB / 2.48 GB, free: 86.58 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004815/5.891, allocations: 383 kB / 2.481 GB, free: 86.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003612/5.892, allocations: 110.5 kB / 2.481 GB, free: 86.51 MB / 0.9636 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.0006158/5.893, allocations: 159.7 kB / 2.481 GB, free: 86.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006518/5.893, allocations: 246.1 kB / 2.481 GB, free: 86.28 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/5.906, allocations: 2.438 MB / 2.483 GB, free: 86.16 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/5.906, allocations: 17.8 kB / 2.484 GB, free: 86.15 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/5.906, allocations: 5.375 kB / 2.484 GB, free: 86.15 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01193/5.918, allocations: 2.261 MB / 2.486 GB, free: 85.85 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/5.937, allocations: 6.826 MB / 2.492 GB, free: 83.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/5.938, allocations: 6.688 kB / 2.492 GB, free: 83.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/5.939, allocations: 297.1 kB / 2.493 GB, free: 83.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/5.941, allocations: 0.6939 MB / 2.493 GB, free: 83.88 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/5.941, allocations: 38.89 kB / 2.493 GB, free: 83.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/5.943, allocations: 1.896 MB / 2.495 GB, free: 82.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/5.943, allocations: 11.06 kB / 2.495 GB, free: 82.82 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00713/5.951, allocations: 3.41 MB / 2.499 GB, free: 81.56 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/5.953, allocations: 0.6338 MB / 2.499 GB, free: 81.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/5.954, allocations: 19.11 kB / 2.499 GB, free: 81.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003855/5.957, allocations: 265.8 kB / 2.499 GB, free: 81.32 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/5.958, allocations: 107.6 kB / 2.5 GB, free: 81.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/5.958, allocations: 80.75 kB / 2.5 GB, free: 81.31 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002735/5.961, allocations: 1.383 MB / 2.501 GB, free: 81.17 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.41e-07/5.961, allocations: 0 / 2.501 GB, free: 81.17 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006613/5.967, allocations: 1.825 MB / 2.503 GB, free: 80.84 MB / 0.9636 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.002861/5.97, allocations: 1.506 MB / 2.504 GB, free: 80.41 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004537/5.975, allocations: 2.651 MB / 2.507 GB, free: 80.23 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/5.975, allocations: 4.625 kB / 2.507 GB, free: 80.23 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/5.976, allocations: 0.758 MB / 2.508 GB, free: 80.22 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006027/5.982, allocations: 1.102 MB / 2.509 GB, free: 80.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008537/5.991, allocations: 3.677 MB / 2.512 GB, free: 79.05 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/5.992, allocations: 1.774 MB / 2.514 GB, free: 78.32 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004567/5.997, allocations: 0.7589 MB / 2.515 GB, free: 78.29 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/5.997, allocations: 176.8 kB / 2.515 GB, free: 78.28 MB / 0.9636 GB Notification: Performance of SimCode: time 1.303e-06/5.997, allocations: 3.188 kB / 2.515 GB, free: 78.28 MB / 0.9636 GB Notification: Performance of Templates: time 0.1018/6.099, allocations: 65.49 MB / 2.579 GB, free: 74.04 MB / 0.9636 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)