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.651/1.651, allocations: 285.4 MB / 298 MB, free: 6.02 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.001081/0.001081, allocations: 180.8 kB / 366.4 MB, free: 2.105 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.657/1.657, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008721/0.0008724, allocations: 99.84 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.27e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7585/0.7585, allocations: 115.3 MB / 0.9709 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.862, allocations: 424.3 MB / 1.385 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/1.862, allocations: 87.08 kB / 1.385 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.222/6.084, allocations: 1.042 GB / 2.428 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.735e-06/6.084, allocations: 0 / 2.428 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007143/6.085, allocations: 79.52 kB / 2.428 GB, free: 108.8 MB / 0.9636 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.01266/6.098, allocations: 3.182 MB / 2.431 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/6.098, allocations: 8.938 kB / 2.431 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/6.109, allocations: 1.32 MB / 2.432 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/6.12, allocations: 3.297 MB / 2.435 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005573/6.12, allocations: 250.7 kB / 2.436 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001368/6.122, allocations: 232.5 kB / 2.436 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/6.133, allocations: 2.837 MB / 2.439 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.072e-05/6.133, allocations: 5.219 kB / 2.439 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005869/6.134, allocations: 103.8 kB / 2.439 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/6.134, allocations: 67.95 kB / 2.439 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008293/6.142, allocations: 2.171 MB / 2.441 GB, free: 106.3 MB / 0.9636 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.04007/6.182, allocations: 13.53 MB / 2.454 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/6.186, allocations: 1.22 MB / 2.455 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/6.188, allocations: 0.6388 MB / 2.456 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00263/6.19, allocations: 1.778 MB / 2.458 GB, free: 98.23 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002992/6.194, allocations: 0.9713 MB / 2.459 GB, free: 97.95 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 1.558e-05/6.194, allocations: 3.469 kB / 2.459 GB, free: 97.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.0317/6.225, allocations: 10.1 MB / 2.468 GB, free: 91.93 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003/6.226, allocations: 0.9416 MB / 2.469 GB, free: 90.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007389/6.233, allocations: 2.343 MB / 2.472 GB, free: 90.55 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0007491/6.234, allocations: 59.52 kB / 2.472 GB, free: 90.52 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002095/6.236, allocations: 1.356 MB / 2.473 GB, free: 90.06 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009767/6.237, allocations: 423.8 kB / 2.473 GB, free: 89.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/6.237, allocations: 30.06 kB / 2.473 GB, free: 89.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000164/6.237, allocations: 369.5 kB / 2.474 GB, free: 89.49 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/6.24, allocations: 0.6338 MB / 2.474 GB, free: 89.49 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002811/6.242, allocations: 1.275 MB / 2.476 GB, free: 88.79 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/6.245, allocations: 0.7668 MB / 2.476 GB, free: 88.74 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/6.245, allocations: 3.594 kB / 2.476 GB, free: 88.74 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.008726/6.254, allocations: 2.379 MB / 2.479 GB, free: 88.49 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001677/6.255, allocations: 5.252 MB / 2.484 GB, free: 83.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.361e-05/6.255, allocations: 18.06 kB / 2.484 GB, free: 83.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00585/6.261, allocations: 1.052 MB / 2.485 GB, free: 82.99 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/6.266, allocations: 445.2 kB / 2.485 GB, free: 82.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/6.271, allocations: 2.2 MB / 2.487 GB, free: 81.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/6.282, allocations: 436.2 kB / 2.488 GB, free: 81.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008473/6.283, allocations: 115.7 kB / 2.488 GB, free: 81.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/6.283, allocations: 5 kB / 2.488 GB, free: 81.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008405/6.291, allocations: 2.092 MB / 2.49 GB, free: 81.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.483e-05/6.291, allocations: 15.91 kB / 2.49 GB, free: 81.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004877/6.296, allocations: 1.057 MB / 2.491 GB, free: 81.79 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/6.299, allocations: 437.1 kB / 2.492 GB, free: 81.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/6.301, allocations: 2.192 MB / 2.494 GB, free: 80.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005398/6.307, allocations: 380.2 kB / 2.494 GB, free: 80.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005028/6.307, allocations: 108.1 kB / 2.494 GB, free: 80.7 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 () * 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.0009909/6.308, allocations: 210.8 kB / 2.494 GB, free: 80.59 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/6.31, allocations: 286.7 kB / 2.495 GB, free: 80.45 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005848/6.315, allocations: 1.766 MB / 2.496 GB, free: 80.32 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/6.315, allocations: 18.56 kB / 2.496 GB, free: 80.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/6.316, allocations: 8.219 kB / 2.496 GB, free: 80.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003859/6.319, allocations: 1.528 MB / 2.498 GB, free: 80.03 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/6.331, allocations: 6.434 MB / 2.504 GB, free: 78.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/6.331, allocations: 3.875 kB / 2.504 GB, free: 78.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/6.333, allocations: 276.4 kB / 2.504 GB, free: 78.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/6.336, allocations: 0.8955 MB / 2.505 GB, free: 78.05 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/6.336, allocations: 44.84 kB / 2.505 GB, free: 78.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/6.338, allocations: 1.982 MB / 2.507 GB, free: 76.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/6.338, allocations: 13.12 kB / 2.507 GB, free: 76.98 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006604/6.344, allocations: 3.411 MB / 2.511 GB, free: 75.58 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/6.347, allocations: 0.6674 MB / 2.511 GB, free: 75.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007507/6.348, allocations: 42.67 kB / 2.511 GB, free: 75.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003742/6.351, allocations: 290.7 kB / 2.512 GB, free: 75.33 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/6.352, allocations: 110.8 kB / 2.512 GB, free: 75.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/6.352, allocations: 70.64 kB / 2.512 GB, free: 75.32 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003166/6.355, allocations: 1.819 MB / 2.513 GB, free: 75.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/6.355, allocations: 0 / 2.513 GB, free: 75.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007558/6.363, allocations: 1.647 MB / 2.515 GB, free: 75.04 MB / 0.9636 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.003218/6.366, allocations: 1.51 MB / 2.517 GB, free: 74.64 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005677/6.372, allocations: 2.844 MB / 2.519 GB, free: 74.44 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/6.372, allocations: 8.125 kB / 2.519 GB, free: 74.43 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/6.373, allocations: 0.8043 MB / 2.52 GB, free: 74.42 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008131/6.381, allocations: 1.509 MB / 2.522 GB, free: 74.39 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007691/6.389, allocations: 3.674 MB / 2.525 GB, free: 73.28 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/6.39, allocations: 1.767 MB / 2.527 GB, free: 72.54 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004403/6.395, allocations: 0.8334 MB / 2.528 GB, free: 72.51 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/6.395, allocations: 188.8 kB / 2.528 GB, free: 72.5 MB / 0.9636 GB Notification: Performance of SimCode: time 7.72e-07/6.395, allocations: 0 / 2.528 GB, free: 72.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.1221/6.517, allocations: 84.53 MB / 2.61 GB, free: 67.69 MB / 0.9636 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)