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.643/1.643, allocations: 288.4 MB / 304.3 MB, free: 8.094 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.001125/0.001125, allocations: 180.5 kB / 372.9 MB, free: 10.17 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.747/1.747, allocations: 205.4 MB / 0.6317 GB, free: 9.914 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.0008294/0.0008299, allocations: 94.38 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004369, allocations: 12.69 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2324, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.236, allocations: 424.5 MB / 1.395 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.236, allocations: 100.5 kB / 1.395 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.493/4.729, allocations: 1.029 GB / 2.424 GB, free: 66 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/4.729, allocations: 0 / 2.424 GB, free: 66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002886/4.729, allocations: 87.91 kB / 2.424 GB, free: 65.92 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.009416/4.738, allocations: 3.655 MB / 2.428 GB, free: 62.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/4.738, allocations: 12.03 kB / 2.428 GB, free: 62.15 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009518/4.748, allocations: 1.317 MB / 2.429 GB, free: 60.83 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00633/4.754, allocations: 3.307 MB / 2.432 GB, free: 57.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/4.755, allocations: 255.9 kB / 2.432 GB, free: 57.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004524/4.755, allocations: 235.9 kB / 2.433 GB, free: 56.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007077/4.762, allocations: 3.223 MB / 2.436 GB, free: 53.52 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-05/4.762, allocations: 11.94 kB / 2.436 GB, free: 53.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/4.763, allocations: 100 kB / 2.436 GB, free: 53.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.204e-05/4.763, allocations: 67.98 kB / 2.436 GB, free: 53.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008525/4.771, allocations: 2.878 MB / 2.439 GB, free: 50.45 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.01813/4.789, allocations: 13.46 MB / 2.452 GB, free: 36.44 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/4.793, allocations: 1.569 MB / 2.453 GB, free: 34.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/4.796, allocations: 0.9276 MB / 2.454 GB, free: 33.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/4.798, allocations: 1.774 MB / 2.456 GB, free: 31.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003551/4.801, allocations: 1.262 MB / 2.457 GB, free: 30.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 4.98e-06/4.801, allocations: 0 / 2.457 GB, free: 30.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=124): time 0.06002/4.861, allocations: 16.35 MB / 2.473 GB, free: 13.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/4.861, allocations: 0.9396 MB / 2.474 GB, free: 12.63 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/4.865, allocations: 2.621 MB / 2.477 GB, free: 9.992 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000357/4.866, allocations: 65.64 kB / 2.477 GB, free: 9.922 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009581/4.867, allocations: 1.349 MB / 2.478 GB, free: 8.559 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000379/4.867, allocations: 437.8 kB / 2.479 GB, free: 8.125 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/4.867, allocations: 32 kB / 2.479 GB, free: 8.094 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/4.867, allocations: 369.9 kB / 2.479 GB, free: 7.727 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/4.871, allocations: 0.9759 MB / 2.48 GB, free: 6.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003725/4.874, allocations: 1.634 MB / 2.481 GB, free: 4.852 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006201/4.881, allocations: 2.245 MB / 2.484 GB, free: 2.434 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/4.881, allocations: 4 kB / 2.484 GB, free: 2.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009455/4.89, allocations: 3.133 MB / 2.487 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003599/4.89, allocations: 0.4914 MB / 2.487 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/4.89, allocations: 12 kB / 2.487 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/4.894, allocations: 1.154 MB / 2.488 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/4.897, allocations: 463.2 kB / 2.489 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/4.901, allocations: 2.374 MB / 2.491 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005732/4.907, allocations: 435 kB / 2.491 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000464/4.907, allocations: 107.8 kB / 2.492 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/4.907, allocations: 7.938 kB / 2.492 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009592/4.917, allocations: 2.804 MB / 2.494 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/4.917, allocations: 13 kB / 2.494 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/4.921, allocations: 1.147 MB / 2.495 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/4.924, allocations: 443.2 kB / 2.496 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/4.928, allocations: 2.378 MB / 2.498 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005235/4.933, allocations: 371.2 kB / 2.499 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004095/4.934, allocations: 107.9 kB / 2.499 GB, free: 2.762 MB / 0.9636 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.002157/4.936, allocations: 0.6995 MB / 2.499 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009209/4.937, allocations: 288.6 kB / 2.5 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/4.948, allocations: 2.427 MB / 2.502 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/4.948, allocations: 16 kB / 2.502 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/4.948, allocations: 4 kB / 2.502 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009055/4.957, allocations: 2.197 MB / 2.504 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/4.982, allocations: 7.727 MB / 2.512 GB, free: 5.133 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/4.982, allocations: 4 kB / 2.512 GB, free: 5.129 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/4.984, allocations: 291.6 kB / 2.512 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00354/4.987, allocations: 1.007 MB / 2.513 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/4.988, allocations: 47.94 kB / 2.513 GB, free: 3.812 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003546/4.991, allocations: 2.159 MB / 2.515 GB, free: 1.602 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/4.991, allocations: 8 kB / 2.515 GB, free: 1.594 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5135/5.505, allocations: 4.299 MB / 2.519 GB, free: 134.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/5.507, allocations: 0.6475 MB / 2.52 GB, free: 134.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009241/5.508, allocations: 42.7 kB / 2.52 GB, free: 134.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003924/5.512, allocations: 288.6 kB / 2.52 GB, free: 134.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/5.512, allocations: 112.2 kB / 2.52 GB, free: 134.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/5.512, allocations: 77.08 kB / 2.52 GB, free: 134.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004047/5.516, allocations: 1.818 MB / 2.522 GB, free: 134.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.91e-07/5.516, allocations: 0.5938 kB / 2.522 GB, free: 134.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007696/5.524, allocations: 1.579 MB / 2.524 GB, free: 134.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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 (78): * Single equations (assignments): 72 * 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.003385/5.528, allocations: 1.399 MB / 2.525 GB, free: 134 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01402/5.542, allocations: 3.69 MB / 2.529 GB, free: 133.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.186e-05/5.542, allocations: 8.656 kB / 2.529 GB, free: 133.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004037/5.546, allocations: 1.104 MB / 2.53 GB, free: 133.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01274/5.559, allocations: 1.569 MB / 2.531 GB, free: 133.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/5.574, allocations: 5.829 MB / 2.537 GB, free: 131.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/5.577, allocations: 1.719 MB / 2.539 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004883/5.582, allocations: 0.6524 MB / 2.539 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009761/5.583, allocations: 251.8 kB / 2.54 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of SimCode: time 8.31e-07/5.583, allocations: 0.8125 kB / 2.54 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.1158/5.698, allocations: 81.28 MB / 2.619 GB, free: 126.6 MB / 0.9792 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)