Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.594/1.594, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001395/0.001395, allocations: 176.9 kB / 361.4 MB, free: 6.852 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.667/1.667, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.00119/0.001189, allocations: 100.9 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.785e-05, allocations: 4 kB / 0.8517 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7048/0.7048, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.812, allocations: 423.7 MB / 1.378 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/1.813, allocations: 90.23 kB / 1.378 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.967/5.78, allocations: 1.037 GB / 2.415 GB, free: 103.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/5.78, allocations: 0 / 2.415 GB, free: 103.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003026/5.78, allocations: 81.17 kB / 2.415 GB, free: 103.8 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008107/5.788, allocations: 3.187 MB / 2.418 GB, free: 102.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/5.788, allocations: 8.875 kB / 2.418 GB, free: 102.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009482/5.798, allocations: 1.321 MB / 2.42 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007021/5.805, allocations: 3.302 MB / 2.423 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/5.805, allocations: 168.7 kB / 2.423 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/5.805, allocations: 141 kB / 2.423 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003648/5.809, allocations: 2.014 MB / 2.425 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/5.813, allocations: 2.507 MB / 2.428 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/5.813, allocations: 6.625 kB / 2.428 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/5.813, allocations: 9.656 kB / 2.428 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-05/5.813, allocations: 66.75 kB / 2.428 GB, free: 101.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01825/5.831, allocations: 12.97 MB / 2.44 GB, free: 95.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/5.833, allocations: 1.189 MB / 2.442 GB, free: 95.21 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/5.834, allocations: 0.6011 MB / 2.442 GB, free: 95.19 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/5.835, allocations: 1.779 MB / 2.444 GB, free: 93.22 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/5.837, allocations: 0.9408 MB / 2.445 GB, free: 92.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 3.246e-06/5.837, allocations: 0 / 2.445 GB, free: 92.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.02143/5.858, allocations: 10.56 MB / 2.455 GB, free: 86.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/5.858, allocations: 0.9321 MB / 2.456 GB, free: 85.78 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/5.861, allocations: 1.836 MB / 2.458 GB, free: 85.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002922/5.861, allocations: 37.08 kB / 2.458 GB, free: 85.53 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/5.862, allocations: 1.373 MB / 2.459 GB, free: 84.97 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/5.863, allocations: 421.3 kB / 2.46 GB, free: 84.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/5.863, allocations: 0 / 2.46 GB, free: 84.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/5.863, allocations: 368 kB / 2.46 GB, free: 84.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009341/5.864, allocations: 0.607 MB / 2.461 GB, free: 84.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/5.865, allocations: 1.218 MB / 2.462 GB, free: 83.72 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/5.868, allocations: 0.9672 MB / 2.463 GB, free: 83.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/5.868, allocations: 6.219 kB / 2.463 GB, free: 83.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005879/5.874, allocations: 2.396 MB / 2.465 GB, free: 83.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009512/5.875, allocations: 5.123 MB / 2.47 GB, free: 78.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/5.875, allocations: 10.53 kB / 2.47 GB, free: 78.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/5.877, allocations: 0.8945 MB / 2.471 GB, free: 78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/5.879, allocations: 448.4 kB / 2.471 GB, free: 78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/5.882, allocations: 2.325 MB / 2.474 GB, free: 76.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004641/5.886, allocations: 368.2 kB / 2.474 GB, free: 76.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/5.886, allocations: 115.2 kB / 2.474 GB, free: 76.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/5.887, allocations: 2.875 kB / 2.474 GB, free: 76.92 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005217/5.892, allocations: 2.118 MB / 2.476 GB, free: 76.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/5.892, allocations: 13.19 kB / 2.476 GB, free: 76.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/5.893, allocations: 0.8917 MB / 2.477 GB, free: 76.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/5.896, allocations: 432.1 kB / 2.477 GB, free: 76.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/5.898, allocations: 2.333 MB / 2.48 GB, free: 75.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/5.903, allocations: 315.3 kB / 2.48 GB, free: 75.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/5.903, allocations: 108.5 kB / 2.48 GB, free: 75.75 MB / 0.948 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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * 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 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005408/5.903, allocations: 152.6 kB / 2.48 GB, free: 75.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005335/5.904, allocations: 253.3 kB / 2.481 GB, free: 75.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00641/5.91, allocations: 1.889 MB / 2.482 GB, free: 75.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/5.91, allocations: 14.03 kB / 2.482 GB, free: 75.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/5.91, allocations: 12.53 kB / 2.482 GB, free: 75.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00533/5.916, allocations: 1.707 MB / 2.484 GB, free: 75.08 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/5.927, allocations: 6.26 MB / 2.49 GB, free: 73.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/5.927, allocations: 6.719 kB / 2.49 GB, free: 73.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/5.928, allocations: 272.2 kB / 2.49 GB, free: 73.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/5.93, allocations: 0.7816 MB / 2.491 GB, free: 73.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.984e-05/5.93, allocations: 38.59 kB / 2.491 GB, free: 73.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/5.932, allocations: 2.068 MB / 2.493 GB, free: 72.08 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/5.932, allocations: 13.34 kB / 2.493 GB, free: 72.08 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008052/5.94, allocations: 3.407 MB / 2.497 GB, free: 70.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/5.942, allocations: 0.616 MB / 2.497 GB, free: 70.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004248/5.943, allocations: 21.12 kB / 2.497 GB, free: 70.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/5.946, allocations: 258.1 kB / 2.497 GB, free: 70.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/5.946, allocations: 112.8 kB / 2.498 GB, free: 70.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/5.946, allocations: 69.75 kB / 2.498 GB, free: 70.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001962/5.948, allocations: 1.378 MB / 2.499 GB, free: 70.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/5.948, allocations: 0 / 2.499 GB, free: 70.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005348/5.953, allocations: 1.558 MB / 2.501 GB, free: 70.39 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 70 * 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,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.003295/5.957, allocations: 1.501 MB / 2.502 GB, free: 69.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004927/5.962, allocations: 2.68 MB / 2.505 GB, free: 69.79 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/5.962, allocations: 6.188 kB / 2.505 GB, free: 69.79 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/5.963, allocations: 0.7747 MB / 2.505 GB, free: 69.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005602/5.969, allocations: 1.097 MB / 2.506 GB, free: 69.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007171/5.976, allocations: 3.528 MB / 2.51 GB, free: 68.64 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/5.977, allocations: 1.77 MB / 2.512 GB, free: 67.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003888/5.981, allocations: 0.7147 MB / 2.512 GB, free: 67.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/5.981, allocations: 169.7 kB / 2.512 GB, free: 67.87 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/5.981, allocations: 0 / 2.512 GB, free: 67.87 MB / 0.948 GB Notification: Performance of Templates: time 0.09401/6.075, allocations: 67 MB / 2.578 GB, free: 63.53 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)