Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 164.5 kB / 327.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008379/0.0008381, allocations: 82.34 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003484, allocations: 9.375 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1051/0.302, allocations: 127.9 MB / 1.026 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03943/0.3415, allocations: 25.01 MB / 1.051 GB, free: 6.137 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005953/0.3475, allocations: 119.2 kB / 1.051 GB, free: 6.02 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005626/0.3532, allocations: 1.406 MB / 1.052 GB, free: 4.605 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01451/0.3677, allocations: 4.128 MB / 1.056 GB, free: 476 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.4104/0.7782, allocations: 3.167 MB / 1.059 GB, free: 40.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01628/0.7945, allocations: 11.3 MB / 1.07 GB, free: 40.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006281/0.8008, allocations: 2.504 MB / 1.073 GB, free: 40.06 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008444/0.8093, allocations: 2.789 MB / 1.076 GB, free: 40.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005836/0.8152, allocations: 2.293 MB / 1.078 GB, free: 39.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.8164, allocations: 129.4 kB / 1.078 GB, free: 39.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01111/0.8275, allocations: 2.58 MB / 1.08 GB, free: 39.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.8295, allocations: 0.6062 MB / 1.081 GB, free: 39.83 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004169/0.8337, allocations: 1.692 MB / 1.083 GB, free: 39.3 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00804/0.8418, allocations: 4.874 MB / 1.087 GB, free: 39.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.8418, allocations: 0 / 1.087 GB, free: 39.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8418, allocations: 0 / 1.087 GB, free: 39.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001677/0.842, allocations: 0 / 1.087 GB, free: 39.11 MB / 0.698 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.00743/0.8494, allocations: 3.398 MB / 1.091 GB, free: 37.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.8495, allocations: 14.03 kB / 1.091 GB, free: 37.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.8603, allocations: 1.455 MB / 1.092 GB, free: 37.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/0.8657, allocations: 2.903 MB / 1.095 GB, free: 36.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.866, allocations: 256.9 kB / 1.095 GB, free: 36.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005148/0.8665, allocations: 235.7 kB / 1.096 GB, free: 36.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008128/0.8747, allocations: 3.215 MB / 1.099 GB, free: 35.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.377e-05/0.8748, allocations: 6.312 kB / 1.099 GB, free: 35.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002984/0.8751, allocations: 102.9 kB / 1.099 GB, free: 35.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.8752, allocations: 71.42 kB / 1.099 GB, free: 35.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.886, allocations: 2.897 MB / 1.102 GB, free: 35.79 MB / 0.698 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.01994/0.906, allocations: 13.63 MB / 1.115 GB, free: 27.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/0.9103, allocations: 1.506 MB / 1.116 GB, free: 27.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/0.9133, allocations: 0.9393 MB / 1.117 GB, free: 27.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.9148, allocations: 1.787 MB / 1.119 GB, free: 25.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003499/0.9183, allocations: 1.189 MB / 1.12 GB, free: 24.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 3.536e-06/0.9183, allocations: 0 / 1.12 GB, free: 24.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=132): time 0.05044/0.9687, allocations: 11.92 MB / 1.132 GB, free: 18.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.9689, allocations: 0.5797 MB / 1.132 GB, free: 18.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003979/0.9729, allocations: 2.611 MB / 1.135 GB, free: 17.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004169/0.9733, allocations: 59.05 kB / 1.135 GB, free: 17.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009307/0.9743, allocations: 1.325 MB / 1.136 GB, free: 16.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005603/0.9749, allocations: 456.3 kB / 1.137 GB, free: 16.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.975, allocations: 39.28 kB / 1.137 GB, free: 16.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.9751, allocations: 372.8 kB / 1.137 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003565/0.9787, allocations: 1.017 MB / 1.138 GB, free: 15.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004179/0.9829, allocations: 1.613 MB / 1.14 GB, free: 14.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006734/0.9896, allocations: 2.307 MB / 1.142 GB, free: 12.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.9897, allocations: 4 kB / 1.142 GB, free: 12.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02125/1.011, allocations: 4.215 MB / 1.146 GB, free: 8.828 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002713/1.011, allocations: 490.5 kB / 1.147 GB, free: 8.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/1.011, allocations: 12 kB / 1.147 GB, free: 8.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/1.015, allocations: 1.127 MB / 1.148 GB, free: 7.285 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002581/1.018, allocations: 470.2 kB / 1.148 GB, free: 6.859 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/1.021, allocations: 2.397 MB / 1.151 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005247/1.026, allocations: 415.7 kB / 1.151 GB, free: 4.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/1.027, allocations: 107.6 kB / 1.151 GB, free: 4.457 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.027, allocations: 4 kB / 1.151 GB, free: 4.453 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02062/1.048, allocations: 3.928 MB / 1.155 GB, free: 1.414 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-05/1.048, allocations: 16.03 kB / 1.155 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003779/1.051, allocations: 1.112 MB / 1.156 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/1.054, allocations: 465 kB / 1.156 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004471/1.059, allocations: 2.4 MB / 1.159 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.064, allocations: 386.1 kB / 1.159 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005065/1.064, allocations: 103.9 kB / 1.159 GB, free: 13.12 MB / 0.7136 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,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.002324/1.067, allocations: 0.6987 MB / 1.16 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.068, allocations: 280.6 kB / 1.16 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008931/1.077, allocations: 2.46 MB / 1.163 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.077, allocations: 19.19 kB / 1.163 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/1.077, allocations: 7.938 kB / 1.163 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007111/1.084, allocations: 2.064 MB / 1.165 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02272/1.107, allocations: 7.049 MB / 1.172 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/1.107, allocations: 8 kB / 1.172 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/1.109, allocations: 285.2 kB / 1.172 GB, free: 192 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003642/1.112, allocations: 0.9882 MB / 1.173 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/1.113, allocations: 55.94 kB / 1.173 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003584/1.116, allocations: 2.166 MB / 1.175 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.116, allocations: 11 kB / 1.175 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.13, allocations: 3.817 MB / 1.179 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002067/1.132, allocations: 0.6456 MB / 1.179 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009517/1.133, allocations: 39.98 kB / 1.179 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003969/1.137, allocations: 302.2 kB / 1.18 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/1.137, allocations: 116.1 kB / 1.18 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.138, allocations: 67.92 kB / 1.18 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003952/1.142, allocations: 1.832 MB / 1.182 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/1.142, allocations: 0 / 1.182 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006168/1.148, allocations: 1.523 MB / 1.183 GB, free: 4.512 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * 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 (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002334/1.15, allocations: 0.874 MB / 1.184 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.164, allocations: 3.828 MB / 1.188 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/1.164, allocations: 7.656 kB / 1.188 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003842/1.167, allocations: 1.057 MB / 1.189 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01158/1.179, allocations: 1.575 MB / 1.19 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.192, allocations: 6.157 MB / 1.196 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/1.194, allocations: 1.705 MB / 1.198 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/1.195, allocations: 286.8 kB / 1.198 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/1.195, allocations: 4 kB / 1.198 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of Templates: time 0.1158/1.311, allocations: 82.15 MB / 1.278 GB, free: 3.434 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)