Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.165/2.165, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 191.1 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 117.5 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 57.61 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2965, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.0964/0.393, allocations: 130 MB / 1.345 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.03878/0.4318, allocations: 25.23 MB / 1.37 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006279/0.4382, allocations: 123.2 kB / 1.37 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.005967/0.4442, allocations: 1.418 MB / 1.371 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01378/0.458, allocations: 4.153 MB / 1.375 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009583/0.4676, allocations: 3.19 MB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01596/0.4836, allocations: 11.42 MB / 1.389 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006442/0.4901, allocations: 2.601 MB / 1.392 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008373/0.4985, allocations: 2.882 MB / 1.395 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005371/0.5039, allocations: 2.415 MB / 1.397 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.5054, allocations: 172 kB / 1.397 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008336/0.5137, allocations: 2.51 MB / 1.4 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002004/0.5158, allocations: 0.6885 MB / 1.4 GB, free: 9.832 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004364/0.5202, allocations: 1.769 MB / 1.402 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.5335, allocations: 6.178 MB / 1.408 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.5336, allocations: 4 kB / 1.408 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5336, allocations: 0 / 1.408 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002557/0.5338, allocations: 0 / 1.408 GB, free: 1.855 MB / 0.9011 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.01316/0.547, allocations: 4.071 MB / 1.412 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.5471, allocations: 19.97 kB / 1.412 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.5587, allocations: 1.373 MB / 1.414 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006311/0.565, allocations: 2.939 MB / 1.416 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003371/0.5654, allocations: 255.9 kB / 1.417 GB, free: 9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007383/0.5661, allocations: 232 kB / 1.417 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009342/0.5755, allocations: 3.214 MB / 1.42 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.35e-05/0.5756, allocations: 3.938 kB / 1.42 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005563/0.5762, allocations: 103.9 kB / 1.42 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.575e-05/0.5763, allocations: 79.91 kB / 1.42 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009914/0.5862, allocations: 2.827 MB / 1.423 GB, free: 2.344 MB / 0.9167 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.5319/1.118, allocations: 13.61 MB / 1.436 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004413/1.123, allocations: 1.475 MB / 1.438 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/1.126, allocations: 0.9083 MB / 1.439 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/1.127, allocations: 1.78 MB / 1.44 GB, free: 186.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003905/1.131, allocations: 1.186 MB / 1.442 GB, free: 186 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=126): time 3.968e-06/1.131, allocations: 0 / 1.442 GB, free: 186 MB / 0.9167 GB Notification: Performance of matching and sorting (n=132): time 0.05545/1.187, allocations: 11.66 MB / 1.453 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.187, allocations: 0.588 MB / 1.453 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005167/1.192, allocations: 2.608 MB / 1.456 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005187/1.193, allocations: 65.58 kB / 1.456 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.194, allocations: 1.32 MB / 1.457 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006904/1.195, allocations: 458.3 kB / 1.458 GB, free: 178 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/1.196, allocations: 469.8 kB / 1.458 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/1.196, allocations: 301.1 kB / 1.459 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003608/1.199, allocations: 0.9897 MB / 1.46 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004158/1.204, allocations: 1.571 MB / 1.461 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007607/1.211, allocations: 2.256 MB / 1.463 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/1.211, allocations: 4.156 kB / 1.463 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02234/1.234, allocations: 4.153 MB / 1.467 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.164e-05/1.234, allocations: 37.2 kB / 1.467 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.234, allocations: 10.78 kB / 1.467 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003607/1.237, allocations: 1.172 MB / 1.469 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/1.24, allocations: 450.5 kB / 1.469 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/1.243, allocations: 2.38 MB / 1.471 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00482/1.248, allocations: 393.3 kB / 1.472 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/1.248, allocations: 105.2 kB / 1.472 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004313/1.253, allocations: 1.494 MB / 1.473 GB, free: 168.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003845/1.257, allocations: 1.554 MB / 1.475 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006324/1.263, allocations: 2.225 MB / 1.477 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.298e-06/1.263, allocations: 7.938 kB / 1.477 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.0228/1.286, allocations: 4.13 MB / 1.481 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/1.286, allocations: 41.64 kB / 1.481 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.286, allocations: 12 kB / 1.481 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003417/1.289, allocations: 1.155 MB / 1.482 GB, free: 160.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/1.292, allocations: 447.2 kB / 1.483 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/1.295, allocations: 2.378 MB / 1.485 GB, free: 157.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005204/1.3, allocations: 393.2 kB / 1.485 GB, free: 157 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/1.301, allocations: 107.9 kB / 1.485 GB, free: 156.9 MB / 0.9167 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * 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.0006186/1.301, allocations: 300.4 kB / 1.486 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007681/1.302, allocations: 280.6 kB / 1.486 GB, free: 156.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007682/1.31, allocations: 2.403 MB / 1.488 GB, free: 153.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/1.31, allocations: 16.77 kB / 1.488 GB, free: 153.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.31, allocations: 7.672 kB / 1.488 GB, free: 153.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006293/1.316, allocations: 2.01 MB / 1.49 GB, free: 151.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/1.336, allocations: 7.014 MB / 1.497 GB, free: 144.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.336, allocations: 8 kB / 1.497 GB, free: 144.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/1.338, allocations: 276.2 kB / 1.497 GB, free: 144.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/1.341, allocations: 1.001 MB / 1.498 GB, free: 143.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/1.341, allocations: 55.94 kB / 1.498 GB, free: 143.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/1.344, allocations: 2.15 MB / 1.5 GB, free: 141.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.344, allocations: 8 kB / 1.5 GB, free: 141.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1324/1.476, allocations: 29.28 MB / 1.529 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.478, allocations: 0.5911 MB / 1.53 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000979/1.479, allocations: 36 kB / 1.53 GB, free: 110.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003844/1.483, allocations: 283.6 kB / 1.53 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/1.483, allocations: 108.7 kB / 1.53 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/1.483, allocations: 79.91 kB / 1.53 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00352/1.487, allocations: 1.832 MB / 1.532 GB, free: 108.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.92e-07/1.487, allocations: 0 / 1.532 GB, free: 108.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008067/1.495, allocations: 2.315 MB / 1.534 GB, free: 106 MB / 0.9167 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.002181/1.497, allocations: 0.9201 MB / 1.535 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01165/1.509, allocations: 3.718 MB / 1.539 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/1.509, allocations: 9.438 kB / 1.539 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003521/1.512, allocations: 1.094 MB / 1.54 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007653/1.52, allocations: 1.478 MB / 1.541 GB, free: 98.84 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.531, allocations: 6.972 MB / 1.548 GB, free: 91.73 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.532, allocations: 1.766 MB / 1.55 GB, free: 89.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003584/1.536, allocations: 0.6607 MB / 1.55 GB, free: 89.28 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000615/1.537, allocations: 243.2 kB / 1.551 GB, free: 89.04 MB / 0.9167 GB Notification: Performance of SimCode: time 1.092e-06/1.537, allocations: 0 / 1.551 GB, free: 89.04 MB / 0.9167 GB Notification: Performance of Templates: time 0.1093/1.646, allocations: 85.45 MB / 1.634 GB, free: 4.258 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)