Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000942/0.000942, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 170.5 kB / 24.97 MB, free: 8.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.044/1.044, allocations: 177.1 MB / 205.4 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.991/1.991, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.776 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.976e-05, allocations: 2.312 kB / 0.776 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.01132/0.01133, allocations: 13.01 MB / 0.7887 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.008993/0.02033, allocations: 5.576 MB / 0.7941 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.02165, allocations: 63.5 kB / 0.7942 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007313/0.02239, allocations: 345.8 kB / 0.7945 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.02448, allocations: 1.187 MB / 0.7957 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.02665, allocations: 1.192 MB / 0.7968 GB, free: 64 kB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006215/0.03286, allocations: 8.295 MB / 0.8049 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/0.03661, allocations: 2.827 MB / 0.8077 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.04159, allocations: 3.872 MB / 0.8115 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.04429, allocations: 2.396 MB / 0.8138 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005151/0.04481, allocations: 352 kB / 0.8141 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.04626, allocations: 0.8544 MB / 0.815 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006025/0.04686, allocations: 0.9498 MB / 0.8159 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.04809, allocations: 1.291 MB / 0.8172 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003392/0.05148, allocations: 3.306 MB / 0.8204 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.05149, allocations: 1.969 kB / 0.8204 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.192e-06/0.05149, allocations: 0 / 0.8204 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.496e-05/0.05155, allocations: 7.938 kB / 0.8204 GB, free: 7.891 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.003558/0.05511, allocations: 3.275 MB / 0.8236 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.05516, allocations: 9.344 kB / 0.8236 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000804/0.05596, allocations: 497.9 kB / 0.8241 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.05793, allocations: 1.578 MB / 0.8256 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.05803, allocations: 172.6 kB / 0.8258 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.05827, allocations: 244.6 kB / 0.826 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.06053, allocations: 2.284 MB / 0.8283 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.881e-05/0.06056, allocations: 7.891 kB / 0.8283 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.06071, allocations: 96 kB / 0.8284 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.157e-05/0.06077, allocations: 67.98 kB / 0.8284 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.06177, allocations: 0.7609 MB / 0.8292 GB, free: 14.56 MB / 0.7917 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.006697/0.06847, allocations: 6.505 MB / 0.8355 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008595/0.06933, allocations: 0.7115 MB / 0.8362 GB, free: 7.199 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.06984, allocations: 484.2 kB / 0.8367 GB, free: 6.727 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.0701, allocations: 94 kB / 0.8368 GB, free: 6.637 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.07014, allocations: 51.56 kB / 0.8368 GB, free: 6.574 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004817/0.07062, allocations: 172.1 kB / 0.837 GB, free: 6.41 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=126): time 3.517e-06/0.07062, allocations: 0 / 0.837 GB, free: 6.41 MB / 0.7917 GB Notification: Performance of matching and sorting (n=126): time 0.002784/0.0734, allocations: 1.483 MB / 0.8384 GB, free: 4.922 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.07346, allocations: 141.5 kB / 0.8386 GB, free: 4.754 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.07466, allocations: 1.542 MB / 0.8401 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.922e-05/0.07474, allocations: 61.7 kB / 0.8401 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.07523, allocations: 0.9939 MB / 0.8411 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.07549, allocations: 456.1 kB / 0.8415 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/0.07587, allocations: 323.2 kB / 0.8418 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.07594, allocations: 309.1 kB / 0.8421 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.07622, allocations: 219.5 kB / 0.8423 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.07675, allocations: 0.8966 MB / 0.8432 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.07757, allocations: 1.004 MB / 0.8442 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.07758, allocations: 4 kB / 0.8442 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00118/0.07876, allocations: 1.059 MB / 0.8452 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.07878, allocations: 12 kB / 0.8453 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.0788, allocations: 12 kB / 0.8453 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009561/0.07975, allocations: 376.3 kB / 0.8456 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/0.08047, allocations: 367.4 kB / 0.846 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.08205, allocations: 2.351 MB / 0.8483 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/0.08273, allocations: 83.8 kB / 0.8483 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.08291, allocations: 67.97 kB / 0.8484 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005679/0.08348, allocations: 329.6 kB / 0.8487 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005269/0.084, allocations: 0.9044 MB / 0.8496 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000823/0.08483, allocations: 0.9932 MB / 0.8506 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.124e-06/0.08483, allocations: 4 kB / 0.8506 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.001229/0.08606, allocations: 1.055 MB / 0.8516 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.08608, allocations: 8 kB / 0.8516 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.08609, allocations: 20.78 kB / 0.8516 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/0.08657, allocations: 209.6 kB / 0.8518 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/0.08731, allocations: 379.3 kB / 0.8522 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.08949, allocations: 3.294 MB / 0.8554 GB, free: 2.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007311/0.09023, allocations: 79.98 kB / 0.8555 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/0.09031, allocations: 59.98 kB / 0.8556 GB, free: 2.02 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 (onOffHea.y,$PRE.onOffHea.y,yTop.u,and2.y,onOffMid.y,$PRE.onOffMid.y,onOffBot.y,$PRE.onOffBot.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0003037/0.09062, allocations: 291.8 kB / 0.8558 GB, free: 1.727 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.09082, allocations: 167.7 kB / 0.856 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.09203, allocations: 0.9001 MB / 0.8569 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005887/0.09262, allocations: 0.5392 MB / 0.8574 GB, free: 100 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.09262, allocations: 0 / 0.8574 GB, free: 100 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/0.09308, allocations: 262.5 kB / 0.8576 GB, free: 15.84 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.09322, allocations: 31.98 kB / 0.8577 GB, free: 15.81 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.09369, allocations: 51.97 kB / 0.8577 GB, free: 15.76 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.09383, allocations: 101.1 kB / 0.8578 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001231/0.09507, allocations: 0.8892 MB / 0.8587 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001123/0.09619, allocations: 1.147 MB / 0.8598 GB, free: 13.59 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003026/0.09649, allocations: 288.8 kB / 0.8601 GB, free: 13.31 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006964/0.09719, allocations: 0.7748 MB / 0.8608 GB, free: 12.51 MB / 0.823 GB Notification: Performance of Backend: time 4.51e-07/0.09719, allocations: 3.938 kB / 0.8608 GB, free: 12.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00273/0.09992, allocations: 1.859 MB / 0.8627 GB, free: 10.6 MB / 0.823 GB Notification: Performance of SimCode: time 0.007655/0.1076, allocations: 5.939 MB / 0.8685 GB, free: 4.59 MB / 0.823 GB Notification: Performance of Templates: time 0.06437/0.1719, allocations: 56.4 MB / 0.9235 GB, free: 13.07 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.86651430092752]