Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.665/1.665, allocations: 288.4 MB / 304.3 MB, free: 8.113 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.001038/0.001038, allocations: 186.3 kB / 373 MB, free: 10.14 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.749/1.749, allocations: 205.4 MB / 0.6317 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009252/0.0009253, allocations: 96.12 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004104, allocations: 13 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2501, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.28, allocations: 424.4 MB / 1.395 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/1.28, allocations: 106.4 kB / 1.395 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.421/4.701, allocations: 1.028 GB / 2.423 GB, free: 66.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/4.701, allocations: 0 / 2.423 GB, free: 66.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002902/4.701, allocations: 83.92 kB / 2.423 GB, free: 66.08 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.009103/4.711, allocations: 3.664 MB / 2.427 GB, free: 62.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/4.711, allocations: 8.031 kB / 2.427 GB, free: 62.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009545/4.72, allocations: 1.32 MB / 2.428 GB, free: 60.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006473/4.727, allocations: 3.329 MB / 2.431 GB, free: 57.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/4.727, allocations: 248 kB / 2.432 GB, free: 57.32 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005362/4.727, allocations: 236 kB / 2.432 GB, free: 57.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00712/4.735, allocations: 3.227 MB / 2.435 GB, free: 53.67 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/4.735, allocations: 7.938 kB / 2.435 GB, free: 53.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/4.735, allocations: 100 kB / 2.435 GB, free: 53.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/4.735, allocations: 78.05 kB / 2.435 GB, free: 53.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008844/4.744, allocations: 2.878 MB / 2.438 GB, free: 50.59 MB / 0.948 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.01875/4.763, allocations: 13.27 MB / 2.451 GB, free: 36.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/4.766, allocations: 1.589 MB / 2.453 GB, free: 35.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00283/4.769, allocations: 0.9471 MB / 2.453 GB, free: 34.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/4.771, allocations: 1.777 MB / 2.455 GB, free: 32.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00327/4.774, allocations: 1.28 MB / 2.456 GB, free: 30.67 MB / 0.948 GB Notification: Performance of pre-optimization done (n=122): time 3.066e-06/4.774, allocations: 0 / 2.456 GB, free: 30.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.03761/4.812, allocations: 6.156 MB / 2.462 GB, free: 24.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002523/4.812, allocations: 0.9435 MB / 2.463 GB, free: 23.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004416/4.816, allocations: 2.518 MB / 2.466 GB, free: 20.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005103/4.817, allocations: 61.7 kB / 2.466 GB, free: 20.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/4.818, allocations: 1.361 MB / 2.467 GB, free: 19.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/4.818, allocations: 426 kB / 2.468 GB, free: 18.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/4.818, allocations: 32 kB / 2.468 GB, free: 18.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/4.819, allocations: 373.8 kB / 2.468 GB, free: 18.49 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/4.822, allocations: 0.9954 MB / 2.469 GB, free: 17.49 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003754/4.826, allocations: 1.637 MB / 2.471 GB, free: 15.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006303/4.832, allocations: 2.241 MB / 2.473 GB, free: 13.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/4.832, allocations: 11.94 kB / 2.473 GB, free: 13.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01621/4.848, allocations: 3.655 MB / 2.476 GB, free: 9.508 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002793/4.849, allocations: 489.2 kB / 2.477 GB, free: 8.863 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/4.849, allocations: 12 kB / 2.477 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003058/4.852, allocations: 0.9499 MB / 2.478 GB, free: 7.926 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/4.854, allocations: 479.2 kB / 2.478 GB, free: 7.457 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/4.857, allocations: 1.991 MB / 2.48 GB, free: 5.414 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005074/4.862, allocations: 0.5287 MB / 2.481 GB, free: 4.883 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/4.862, allocations: 111.9 kB / 2.481 GB, free: 4.773 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/4.862, allocations: 4 kB / 2.481 GB, free: 4.77 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01515/4.878, allocations: 3.324 MB / 2.484 GB, free: 1.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/4.878, allocations: 12 kB / 2.484 GB, free: 1.418 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/4.881, allocations: 0.9614 MB / 2.485 GB, free: 492 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/4.883, allocations: 459.2 kB / 2.485 GB, free: 32 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/4.886, allocations: 1.991 MB / 2.487 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004673/4.891, allocations: 446 kB / 2.488 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/4.891, allocations: 107.9 kB / 2.488 GB, free: 13.45 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 () * 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.001832/4.893, allocations: 0.705 MB / 2.489 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006395/4.894, allocations: 278.4 kB / 2.489 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01541/4.909, allocations: 2.945 MB / 2.492 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/4.909, allocations: 16 kB / 2.492 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/4.909, allocations: 4 kB / 2.492 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01436/4.924, allocations: 2.712 MB / 2.494 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/4.945, allocations: 7.628 MB / 2.502 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/4.945, allocations: 12.03 kB / 2.502 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/4.946, allocations: 299.5 kB / 2.502 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003037/4.95, allocations: 0.9315 MB / 2.503 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/4.95, allocations: 54.31 kB / 2.503 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/4.953, allocations: 1.987 MB / 2.505 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/4.953, allocations: 4 kB / 2.505 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/4.964, allocations: 3.671 MB / 2.509 GB, free: 7.781 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/4.966, allocations: 0.6573 MB / 2.509 GB, free: 7.102 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005438/4.967, allocations: 36 kB / 2.509 GB, free: 7.066 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003232/4.97, allocations: 295.1 kB / 2.51 GB, free: 6.781 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/4.97, allocations: 120.7 kB / 2.51 GB, free: 6.664 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/4.971, allocations: 71.92 kB / 2.51 GB, free: 6.594 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003384/4.974, allocations: 1.743 MB / 2.512 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.91e-07/4.974, allocations: 0 / 2.512 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005779/4.98, allocations: 1.778 MB / 2.513 GB, free: 3.066 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.002582/4.982, allocations: 1.395 MB / 2.515 GB, free: 1.699 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.4828/5.465, allocations: 3.651 MB / 2.518 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/5.465, allocations: 3.531 kB / 2.518 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003849/5.469, allocations: 1.091 MB / 2.519 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009507/5.479, allocations: 1.448 MB / 2.521 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/5.491, allocations: 5.946 MB / 2.526 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/5.492, allocations: 1.711 MB / 2.528 GB, free: 129.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004053/5.496, allocations: 0.69 MB / 2.529 GB, free: 129.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/5.497, allocations: 243.6 kB / 2.529 GB, free: 129.9 MB / 0.9792 GB Notification: Performance of SimCode: time 8.42e-07/5.497, allocations: 2.625 kB / 2.529 GB, free: 129.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.1154/5.612, allocations: 75.85 MB / 2.603 GB, free: 126.6 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)