Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 293 MB / 309 MB, free: 4.816 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.0009784/0.0009784, allocations: 178.7 kB / 378.7 MB, free: 1.027 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.685/1.685, allocations: 205.4 MB / 0.6383 GB, free: 8.227 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.000977/0.0009773, allocations: 100.1 kB / 0.7527 GB, free: 62.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004575, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2978, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.601/1.899, allocations: 424.9 MB / 1.405 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.9, allocations: 95.48 kB / 1.405 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.217/5.116, allocations: 1.028 GB / 2.433 GB, free: 1.285 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.314e-06/5.116, allocations: 0 / 2.433 GB, free: 1.285 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004956/5.117, allocations: 87.91 kB / 2.433 GB, free: 1.199 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01218/5.129, allocations: 3.644 MB / 2.437 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/5.129, allocations: 16.03 kB / 2.437 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008841/5.138, allocations: 1.214 MB / 2.438 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009668/5.148, allocations: 3.31 MB / 2.441 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004276/5.148, allocations: 255.9 kB / 2.442 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/5.149, allocations: 228 kB / 2.442 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/5.16, allocations: 3.153 MB / 2.445 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/5.16, allocations: 0 / 2.445 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008211/5.161, allocations: 104 kB / 2.445 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/5.161, allocations: 71.92 kB / 2.445 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/5.172, allocations: 2.764 MB / 2.448 GB, free: 2.035 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.02801/5.2, allocations: 13.09 MB / 2.461 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/5.204, allocations: 1.483 MB / 2.462 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/5.207, allocations: 0.8963 MB / 2.463 GB, free: 1.949 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6277/5.835, allocations: 1.769 MB / 2.465 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003912/5.839, allocations: 1.218 MB / 2.466 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 4.469e-06/5.839, allocations: 1.781 kB / 2.466 GB, free: 100.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=118): time 0.01962/5.858, allocations: 4.304 MB / 2.47 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002474/5.859, allocations: 0.9407 MB / 2.471 GB, free: 98.99 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005599/5.864, allocations: 2.519 MB / 2.473 GB, free: 98.77 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004595/5.865, allocations: 61.3 kB / 2.473 GB, free: 98.73 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/5.866, allocations: 1.36 MB / 2.475 GB, free: 98.53 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005049/5.867, allocations: 411.5 kB / 2.475 GB, free: 98.33 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/5.867, allocations: 36 kB / 2.475 GB, free: 98.33 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001058/5.867, allocations: 367.6 kB / 2.476 GB, free: 98.02 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003235/5.87, allocations: 0.9415 MB / 2.477 GB, free: 98.02 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004015/5.874, allocations: 1.566 MB / 2.478 GB, free: 97.38 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00673/5.881, allocations: 2.154 MB / 2.48 GB, free: 96.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.057e-05/5.881, allocations: 4 kB / 2.48 GB, free: 96.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01011/5.891, allocations: 2.906 MB / 2.483 GB, free: 96.66 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002859/5.891, allocations: 476.6 kB / 2.483 GB, free: 96.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/5.891, allocations: 11.16 kB / 2.483 GB, free: 96.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/5.894, allocations: 0.7281 MB / 2.484 GB, free: 96.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/5.897, allocations: 486.4 kB / 2.485 GB, free: 96.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/5.899, allocations: 1.79 MB / 2.486 GB, free: 95.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005516/5.905, allocations: 0.5149 MB / 2.487 GB, free: 95 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005371/5.905, allocations: 104.9 kB / 2.487 GB, free: 95 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/5.905, allocations: 4 kB / 2.487 GB, free: 95 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00899/5.914, allocations: 2.586 MB / 2.49 GB, free: 94.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/5.915, allocations: 13.16 kB / 2.49 GB, free: 94.91 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/5.917, allocations: 0.7191 MB / 2.49 GB, free: 94.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/5.919, allocations: 473.2 kB / 2.491 GB, free: 94.89 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/5.921, allocations: 1.791 MB / 2.492 GB, free: 93.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004506/5.926, allocations: 436 kB / 2.493 GB, free: 93.79 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004247/5.926, allocations: 104.1 kB / 2.493 GB, free: 93.79 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 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.002454/5.929, allocations: 0.6991 MB / 2.494 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/5.93, allocations: 272.3 kB / 2.494 GB, free: 93.46 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009518/5.94, allocations: 2.272 MB / 2.496 GB, free: 93.36 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-05/5.94, allocations: 14.91 kB / 2.496 GB, free: 93.36 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/5.94, allocations: 3.031 kB / 2.496 GB, free: 93.36 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007125/5.947, allocations: 2.06 MB / 2.498 GB, free: 93.06 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/5.963, allocations: 6.945 MB / 2.505 GB, free: 91.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/5.963, allocations: 6.156 kB / 2.505 GB, free: 91.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/5.965, allocations: 306.7 kB / 2.505 GB, free: 91.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/5.967, allocations: 0.7073 MB / 2.506 GB, free: 91.07 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/5.967, allocations: 49.14 kB / 2.506 GB, free: 91.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/5.969, allocations: 1.787 MB / 2.508 GB, free: 90.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/5.969, allocations: 9.406 kB / 2.508 GB, free: 90.02 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/5.98, allocations: 3.455 MB / 2.511 GB, free: 89.43 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/5.982, allocations: 0.6412 MB / 2.512 GB, free: 89.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/5.983, allocations: 41.98 kB / 2.512 GB, free: 89.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003785/5.987, allocations: 274.9 kB / 2.512 GB, free: 89.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/5.987, allocations: 121.6 kB / 2.512 GB, free: 89.19 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/5.987, allocations: 71.89 kB / 2.512 GB, free: 89.19 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00465/5.992, allocations: 1.743 MB / 2.514 GB, free: 89.04 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.41e-07/5.992, allocations: 0 / 2.514 GB, free: 89.04 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008908/6.001, allocations: 1.763 MB / 2.516 GB, free: 88.96 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003775/6.005, allocations: 1.374 MB / 2.517 GB, free: 88.67 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01202/6.017, allocations: 3.489 MB / 2.52 GB, free: 88.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.908e-05/6.017, allocations: 7.125 kB / 2.52 GB, free: 88.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003481/6.02, allocations: 1.033 MB / 2.521 GB, free: 88.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01157/6.032, allocations: 1.441 MB / 2.523 GB, free: 88.47 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/6.047, allocations: 6.109 MB / 2.529 GB, free: 85.89 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/6.05, allocations: 1.711 MB / 2.53 GB, free: 85.16 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004999/6.055, allocations: 0.6849 MB / 2.531 GB, free: 85.13 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/6.056, allocations: 234 kB / 2.531 GB, free: 85.12 MB / 0.9792 GB Notification: Performance of SimCode: time 8.12e-07/6.056, allocations: 0 / 2.531 GB, free: 85.12 MB / 0.9792 GB Notification: Performance of Templates: time 0.1185/6.174, allocations: 73.19 MB / 2.603 GB, free: 81.14 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)