Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.49/2.49, allocations: 287.5 MB / 303.2 MB, free: 8.285 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.00133/0.001329, allocations: 170.1 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.0009427/0.0009423, allocations: 105.5 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000754/0.0007544, allocations: 16 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.216, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.29/1.506, allocations: 424.3 MB / 1.394 GB, free: 6.02 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/1.506, allocations: 103.4 kB / 1.394 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.39/6.896, allocations: 1.029 GB / 2.422 GB, free: 69.44 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.695e-06/6.896, allocations: 0 / 2.422 GB, free: 69.44 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004806/6.896, allocations: 87.84 kB / 2.422 GB, free: 69.35 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.01289/6.909, allocations: 3.659 MB / 2.426 GB, free: 65.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/6.909, allocations: 8.031 kB / 2.426 GB, free: 65.58 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/6.927, allocations: 1.325 MB / 2.427 GB, free: 64.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/6.937, allocations: 3.295 MB / 2.431 GB, free: 60.88 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/6.938, allocations: 259.9 kB / 2.431 GB, free: 60.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008959/6.939, allocations: 239.9 kB / 2.431 GB, free: 60.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/6.952, allocations: 3.223 MB / 2.434 GB, free: 56.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.044e-05/6.952, allocations: 7.938 kB / 2.434 GB, free: 56.94 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005434/6.953, allocations: 100 kB / 2.434 GB, free: 56.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.656e-05/6.953, allocations: 67.98 kB / 2.434 GB, free: 56.78 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/6.97, allocations: 2.881 MB / 2.437 GB, free: 53.88 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.03156/7.002, allocations: 13.41 MB / 2.45 GB, free: 39.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007573/7.009, allocations: 1.699 MB / 2.452 GB, free: 38.17 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005812/7.015, allocations: 0.9674 MB / 2.453 GB, free: 37.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/7.017, allocations: 1.773 MB / 2.455 GB, free: 35.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006563/7.024, allocations: 1.242 MB / 2.456 GB, free: 33.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 5.3e-06/7.024, allocations: 3.938 kB / 2.456 GB, free: 33.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=132): time 0.1092/7.133, allocations: 13.02 MB / 2.468 GB, free: 20.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/7.134, allocations: 0.6268 MB / 2.469 GB, free: 19.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006258/7.14, allocations: 2.576 MB / 2.472 GB, free: 17.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005931/7.14, allocations: 57.7 kB / 2.472 GB, free: 17.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/7.142, allocations: 1.33 MB / 2.473 GB, free: 15.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007628/7.143, allocations: 457.5 kB / 2.473 GB, free: 15.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/7.143, allocations: 32 kB / 2.473 GB, free: 15.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000121/7.143, allocations: 369.9 kB / 2.474 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006917/7.15, allocations: 0.9798 MB / 2.475 GB, free: 13.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007519/7.158, allocations: 1.611 MB / 2.476 GB, free: 12.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/7.171, allocations: 2.262 MB / 2.479 GB, free: 9.633 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/7.171, allocations: 4 kB / 2.479 GB, free: 9.629 MB / 0.948 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01795/7.189, allocations: 3.14 MB / 2.482 GB, free: 6.469 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000282/7.189, allocations: 493.1 kB / 2.482 GB, free: 5.812 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/7.189, allocations: 12 kB / 2.482 GB, free: 5.801 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005967/7.195, allocations: 1.158 MB / 2.483 GB, free: 4.664 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004762/7.2, allocations: 463.2 kB / 2.484 GB, free: 4.211 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/7.206, allocations: 2.381 MB / 2.486 GB, free: 1.777 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008732/7.215, allocations: 415.2 kB / 2.486 GB, free: 1.371 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005785/7.215, allocations: 103.9 kB / 2.486 GB, free: 1.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/7.215, allocations: 4 kB / 2.486 GB, free: 1.266 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.017/7.232, allocations: 2.804 MB / 2.489 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.726e-05/7.232, allocations: 15.94 kB / 2.489 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00649/7.239, allocations: 1.154 MB / 2.49 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/7.244, allocations: 439.3 kB / 2.491 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006763/7.25, allocations: 2.378 MB / 2.493 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008162/7.259, allocations: 367.2 kB / 2.493 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006571/7.259, allocations: 107.8 kB / 2.494 GB, free: 9.977 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.00265/7.262, allocations: 0.6884 MB / 2.494 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/7.263, allocations: 292.5 kB / 2.494 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01904/7.282, allocations: 2.589 MB / 2.497 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.975e-05/7.282, allocations: 19.98 kB / 2.497 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/7.282, allocations: 3.938 kB / 2.497 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01702/7.299, allocations: 2.193 MB / 2.499 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04241/7.342, allocations: 7.257 MB / 2.506 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.419e-05/7.342, allocations: 8 kB / 2.506 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003511/7.345, allocations: 296.2 kB / 2.507 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006038/7.352, allocations: 1.016 MB / 2.508 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003773/7.352, allocations: 55.94 kB / 2.508 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006142/7.358, allocations: 2.166 MB / 2.51 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.484e-05/7.358, allocations: 11.94 kB / 2.51 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03842/7.397, allocations: 4.414 MB / 2.514 GB, free: 4.539 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002805/7.399, allocations: 0.6418 MB / 2.515 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/7.401, allocations: 39.94 kB / 2.515 GB, free: 3.836 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007403/7.408, allocations: 315.4 kB / 2.515 GB, free: 3.527 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004999/7.409, allocations: 120.7 kB / 2.515 GB, free: 3.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003438/7.409, allocations: 67.92 kB / 2.515 GB, free: 3.344 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00641/7.416, allocations: 1.812 MB / 2.517 GB, free: 1.531 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.22e-07/7.416, allocations: 0 / 2.517 GB, free: 1.531 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.7726/8.188, allocations: 1.563 MB / 2.518 GB, free: 135.2 MB / 0.9792 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,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 (82): * Single equations (assignments): 76 * 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.004786/8.193, allocations: 1.387 MB / 2.52 GB, free: 134.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02443/8.218, allocations: 3.699 MB / 2.523 GB, free: 134.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.101e-05/8.218, allocations: 3.656 kB / 2.523 GB, free: 134.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007535/8.225, allocations: 1.131 MB / 2.525 GB, free: 134.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01986/8.245, allocations: 1.603 MB / 2.526 GB, free: 134.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/8.267, allocations: 5.873 MB / 2.532 GB, free: 132.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/8.269, allocations: 1.715 MB / 2.534 GB, free: 131.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.006384/8.276, allocations: 0.6589 MB / 2.534 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/8.277, allocations: 251.6 kB / 2.534 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of SimCode: time 1.002e-06/8.277, allocations: 0 / 2.534 GB, free: 131.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.2043/8.482, allocations: 80.87 MB / 2.613 GB, free: 127.8 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)