Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.567/2.567, allocations: 284.8 MB / 297.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 180.8 kB / 365.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.2 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 104.4 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.54e-05, allocations: 8 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.8664, allocations: 115.2 MB / 0.97 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.363/2.23, allocations: 424.2 MB / 1.384 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/2.23, allocations: 89.45 kB / 1.384 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.843/8.073, allocations: 1.042 GB / 2.427 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.961e-06/8.073, allocations: 3.656 kB / 2.427 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007591/8.074, allocations: 84.44 kB / 2.427 GB, free: 113.1 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.01621/8.09, allocations: 3.183 MB / 2.43 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.325e-05/8.09, allocations: 9.531 kB / 2.43 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02117/8.112, allocations: 1.317 MB / 2.431 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/8.123, allocations: 3.3 MB / 2.434 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004473/8.124, allocations: 254.8 kB / 2.434 GB, free: 111 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/8.125, allocations: 233.3 kB / 2.435 GB, free: 111 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009413/8.134, allocations: 2.832 MB / 2.437 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/8.135, allocations: 3.562 kB / 2.437 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006849/8.135, allocations: 108.4 kB / 2.438 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/8.135, allocations: 72.25 kB / 2.438 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007688/8.143, allocations: 2.164 MB / 2.44 GB, free: 110.5 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.03485/8.178, allocations: 13.53 MB / 2.453 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/8.181, allocations: 1.22 MB / 2.454 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/8.183, allocations: 0.635 MB / 2.455 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002292/8.185, allocations: 1.783 MB / 2.457 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002525/8.188, allocations: 0.9808 MB / 2.457 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 6.261e-06/8.188, allocations: 0 / 2.457 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.02794/8.216, allocations: 10.11 MB / 2.467 GB, free: 96.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002918/8.216, allocations: 0.937 MB / 2.468 GB, free: 94.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005717/8.222, allocations: 2.333 MB / 2.471 GB, free: 94.66 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005594/8.223, allocations: 61.58 kB / 2.471 GB, free: 94.63 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001803/8.224, allocations: 1.355 MB / 2.472 GB, free: 94.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007567/8.225, allocations: 429.7 kB / 2.472 GB, free: 93.91 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/8.225, allocations: 33.34 kB / 2.472 GB, free: 93.91 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000128/8.226, allocations: 365.9 kB / 2.473 GB, free: 93.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/8.228, allocations: 0.636 MB / 2.473 GB, free: 93.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002609/8.23, allocations: 1.264 MB / 2.475 GB, free: 92.91 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/8.233, allocations: 0.7731 MB / 2.475 GB, free: 92.85 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/8.233, allocations: 3.25 kB / 2.475 GB, free: 92.85 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007876/8.241, allocations: 2.381 MB / 2.478 GB, free: 92.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001185/8.242, allocations: 5.258 MB / 2.483 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.112e-05/8.242, allocations: 14.5 kB / 2.483 GB, free: 87.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005024/8.247, allocations: 1.053 MB / 2.484 GB, free: 87.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004954/8.252, allocations: 448.1 kB / 2.484 GB, free: 87.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/8.256, allocations: 2.201 MB / 2.486 GB, free: 86.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009442/8.265, allocations: 443.2 kB / 2.487 GB, free: 86.01 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006321/8.266, allocations: 103.1 kB / 2.487 GB, free: 86.01 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/8.266, allocations: 4.656 kB / 2.487 GB, free: 86.01 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006197/8.272, allocations: 2.093 MB / 2.489 GB, free: 85.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/8.272, allocations: 13.19 kB / 2.489 GB, free: 85.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004694/8.277, allocations: 1.053 MB / 2.49 GB, free: 85.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004783/8.282, allocations: 433.8 kB / 2.49 GB, free: 85.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/8.286, allocations: 2.206 MB / 2.493 GB, free: 84.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008428/8.294, allocations: 380.1 kB / 2.493 GB, free: 84.81 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006294/8.295, allocations: 104.1 kB / 2.493 GB, free: 84.81 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.0008004/8.296, allocations: 226.7 kB / 2.493 GB, free: 84.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/8.297, allocations: 280.5 kB / 2.494 GB, free: 84.55 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008557/8.306, allocations: 1.775 MB / 2.495 GB, free: 84.43 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-05/8.306, allocations: 13.53 kB / 2.495 GB, free: 84.43 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/8.306, allocations: 10.31 kB / 2.495 GB, free: 84.43 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007039/8.313, allocations: 1.525 MB / 2.497 GB, free: 84.14 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/8.329, allocations: 6.432 MB / 2.503 GB, free: 82.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/8.329, allocations: 6.688 kB / 2.503 GB, free: 82.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00337/8.333, allocations: 271.4 kB / 2.503 GB, free: 82.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004186/8.337, allocations: 0.8895 MB / 2.504 GB, free: 82.16 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003614/8.337, allocations: 56.73 kB / 2.504 GB, free: 82.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/8.341, allocations: 1.971 MB / 2.506 GB, free: 81.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/8.341, allocations: 7.906 kB / 2.506 GB, free: 81.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/8.352, allocations: 3.421 MB / 2.51 GB, free: 79.69 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002705/8.354, allocations: 0.6687 MB / 2.51 GB, free: 79.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/8.356, allocations: 37.19 kB / 2.51 GB, free: 79.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007647/8.363, allocations: 296.2 kB / 2.51 GB, free: 79.44 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000452/8.364, allocations: 103.5 kB / 2.511 GB, free: 79.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003249/8.364, allocations: 72.75 kB / 2.511 GB, free: 79.43 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004616/8.369, allocations: 1.821 MB / 2.512 GB, free: 79.27 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.52e-07/8.369, allocations: 0 / 2.512 GB, free: 79.27 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008613/8.378, allocations: 1.656 MB / 2.514 GB, free: 79.15 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.004083/8.382, allocations: 1.488 MB / 2.515 GB, free: 78.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008556/8.39, allocations: 2.848 MB / 2.518 GB, free: 78.55 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.747e-05/8.39, allocations: 7.188 kB / 2.518 GB, free: 78.55 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/8.393, allocations: 0.8125 MB / 2.519 GB, free: 78.53 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01289/8.406, allocations: 1.51 MB / 2.521 GB, free: 78.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/8.419, allocations: 3.669 MB / 2.524 GB, free: 77.39 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/8.42, allocations: 1.774 MB / 2.526 GB, free: 76.65 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.007019/8.428, allocations: 0.8358 MB / 2.527 GB, free: 76.62 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008362/8.428, allocations: 184.9 kB / 2.527 GB, free: 76.61 MB / 0.9636 GB Notification: Performance of SimCode: time 1.473e-06/8.428, allocations: 2.531 kB / 2.527 GB, free: 76.61 MB / 0.9636 GB Notification: Performance of Templates: time 0.1924/8.621, allocations: 84.52 MB / 2.609 GB, free: 66.07 MB / 0.9636 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)