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.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_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.1-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 293 MB / 309 MB, free: 4.805 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.001163/0.001162, allocations: 177.7 kB / 378.7 MB, free: 1.035 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.996/1.996, allocations: 205.4 MB / 0.6383 GB, free: 9.164 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.0008467/0.0008468, allocations: 92.5 kB / 0.7527 GB, free: 62.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2786, allocations: 116.4 MB / 0.9904 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.559/1.838, allocations: 425.4 MB / 1.406 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.838, allocations: 97.61 kB / 1.406 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.206/5.044, allocations: 1.028 GB / 2.434 GB, free: 0.6133 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/5.044, allocations: 0 / 2.434 GB, free: 0.6133 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003273/5.045, allocations: 79.97 kB / 2.434 GB, free: 0.5352 MB / 0.948 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.009427/5.054, allocations: 3.663 MB / 2.438 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/5.054, allocations: 12.03 kB / 2.438 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009024/5.063, allocations: 1.316 MB / 2.439 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00728/5.071, allocations: 3.318 MB / 2.442 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/5.071, allocations: 263.9 kB / 2.442 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007185/5.072, allocations: 228 kB / 2.443 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008357/5.08, allocations: 3.22 MB / 2.446 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.018e-05/5.08, allocations: 11.84 kB / 2.446 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003831/5.081, allocations: 103.9 kB / 2.446 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.582e-05/5.081, allocations: 75.92 kB / 2.446 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009204/5.09, allocations: 2.878 MB / 2.449 GB, free: 1.043 MB / 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.02128/5.111, allocations: 13.27 MB / 2.462 GB, free: 3.199 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004098/5.115, allocations: 1.584 MB / 2.463 GB, free: 1.566 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002985/5.118, allocations: 0.9471 MB / 2.464 GB, free: 0.6172 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.496/5.614, allocations: 1.774 MB / 2.466 GB, free: 99.38 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003658/5.618, allocations: 1.283 MB / 2.467 GB, free: 99.11 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=122): time 3.787e-06/5.618, allocations: 0 / 2.467 GB, free: 99.11 MB / 0.9792 GB Notification: Performance of matching and sorting (n=122): time 0.03568/5.654, allocations: 6.158 MB / 2.473 GB, free: 98.86 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/5.654, allocations: 0.9361 MB / 2.474 GB, free: 97.73 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/5.659, allocations: 2.519 MB / 2.477 GB, free: 97.51 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003208/5.659, allocations: 61.14 kB / 2.477 GB, free: 97.48 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/5.66, allocations: 1.363 MB / 2.478 GB, free: 97.27 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004363/5.661, allocations: 427.3 kB / 2.478 GB, free: 97.06 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/5.661, allocations: 32.91 kB / 2.478 GB, free: 97.06 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001149/5.661, allocations: 372.4 kB / 2.479 GB, free: 96.75 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003758/5.665, allocations: 1.004 MB / 2.48 GB, free: 96.75 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003941/5.669, allocations: 1.621 MB / 2.481 GB, free: 96.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006713/5.675, allocations: 2.254 MB / 2.484 GB, free: 95.63 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/5.675, allocations: 3.375 kB / 2.484 GB, free: 95.63 MB / 0.9792 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01685/5.692, allocations: 3.647 MB / 2.487 GB, free: 95.38 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002719/5.693, allocations: 484.3 kB / 2.488 GB, free: 94.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/5.693, allocations: 12.06 kB / 2.488 GB, free: 94.84 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003071/5.696, allocations: 0.9538 MB / 2.489 GB, free: 94.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/5.698, allocations: 483.5 kB / 2.489 GB, free: 94.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/5.701, allocations: 1.984 MB / 2.491 GB, free: 93.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005385/5.706, allocations: 0.5315 MB / 2.491 GB, free: 93.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004233/5.707, allocations: 105.6 kB / 2.492 GB, free: 93.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/5.707, allocations: 6.094 kB / 2.492 GB, free: 93.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01516/5.722, allocations: 3.329 MB / 2.495 GB, free: 93.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/5.722, allocations: 12.75 kB / 2.495 GB, free: 93.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/5.725, allocations: 0.9605 MB / 2.496 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/5.728, allocations: 461.6 kB / 2.496 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/5.73, allocations: 1.99 MB / 2.498 GB, free: 92.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004716/5.735, allocations: 447.5 kB / 2.499 GB, free: 92.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000423/5.736, allocations: 106.9 kB / 2.499 GB, free: 92.5 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.001995/5.738, allocations: 0.6994 MB / 2.499 GB, free: 92.31 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008297/5.738, allocations: 282.3 kB / 2.5 GB, free: 92.17 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/5.753, allocations: 2.93 MB / 2.502 GB, free: 92.06 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.974e-05/5.753, allocations: 16.53 kB / 2.502 GB, free: 92.06 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/5.753, allocations: 13.38 kB / 2.503 GB, free: 92.05 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01408/5.767, allocations: 2.714 MB / 2.505 GB, free: 91.77 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/5.79, allocations: 7.616 MB / 2.513 GB, free: 89.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/5.79, allocations: 6.844 kB / 2.513 GB, free: 89.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/5.792, allocations: 301.3 kB / 2.513 GB, free: 89.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/5.795, allocations: 0.9413 MB / 2.514 GB, free: 89.77 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/5.795, allocations: 56.3 kB / 2.514 GB, free: 89.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/5.798, allocations: 1.974 MB / 2.516 GB, free: 88.72 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/5.798, allocations: 15.62 kB / 2.516 GB, free: 88.71 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/5.808, allocations: 3.663 MB / 2.519 GB, free: 88.14 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/5.81, allocations: 0.6584 MB / 2.52 GB, free: 87.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009118/5.811, allocations: 40.89 kB / 2.52 GB, free: 87.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003451/5.814, allocations: 289.2 kB / 2.52 GB, free: 87.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/5.814, allocations: 119.8 kB / 2.52 GB, free: 87.89 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/5.815, allocations: 70.52 kB / 2.521 GB, free: 87.89 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003464/5.818, allocations: 1.752 MB / 2.522 GB, free: 87.74 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.21e-07/5.818, allocations: 0 / 2.522 GB, free: 87.74 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006747/5.825, allocations: 1.773 MB / 2.524 GB, free: 87.66 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.003156/5.828, allocations: 1.404 MB / 2.525 GB, free: 87.38 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01163/5.84, allocations: 3.656 MB / 2.529 GB, free: 87.21 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/5.84, allocations: 4.156 kB / 2.529 GB, free: 87.21 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003397/5.843, allocations: 1.09 MB / 2.53 GB, free: 87.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009433/5.853, allocations: 1.451 MB / 2.531 GB, free: 87.17 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/5.863, allocations: 5.949 MB / 2.537 GB, free: 84.58 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/5.865, allocations: 1.711 MB / 2.539 GB, free: 83.85 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003695/5.868, allocations: 0.6916 MB / 2.54 GB, free: 83.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006735/5.869, allocations: 235.1 kB / 2.54 GB, free: 83.82 MB / 0.9792 GB Notification: Performance of SimCode: time 6.92e-07/5.869, allocations: 0 / 2.54 GB, free: 83.82 MB / 0.9792 GB Notification: Performance of Templates: time 0.1163/5.985, allocations: 75.84 MB / 2.614 GB, free: 79.33 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)