Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.869/1.869, allocations: 292.6 MB / 307.6 MB, free: 5.234 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.001302/0.001302, allocations: 177.1 kB / 377.1 MB, free: 1.543 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.849/1.849, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.001032/0.001031, allocations: 90.53 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004002, allocations: 12 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3286, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.707/2.036, allocations: 428.4 MB / 1.407 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/2.036, allocations: 99.53 kB / 1.407 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.05/5.086, allocations: 0.9729 GB / 2.38 GB, free: 72.29 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.966e-06/5.086, allocations: 3.938 kB / 2.38 GB, free: 72.29 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005896/5.087, allocations: 73 kB / 2.38 GB, free: 72.22 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: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01262/5.099, allocations: 3.161 MB / 2.383 GB, free: 69.03 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/5.099, allocations: 12.03 kB / 2.383 GB, free: 69.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/5.102, allocations: 352 kB / 2.383 GB, free: 68.67 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009051/5.111, allocations: 3.044 MB / 2.386 GB, free: 65.61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/5.111, allocations: 176.6 kB / 2.386 GB, free: 65.44 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/5.112, allocations: 243.5 kB / 2.387 GB, free: 65.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008019/5.12, allocations: 3.03 MB / 2.39 GB, free: 62.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/5.121, allocations: 11.84 kB / 2.39 GB, free: 62.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006457/5.121, allocations: 102.3 kB / 2.39 GB, free: 61.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.806e-05/5.121, allocations: 63.98 kB / 2.39 GB, free: 61.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004838/5.126, allocations: 2.387 MB / 2.392 GB, free: 59.46 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.01761/5.144, allocations: 12.98 MB / 2.405 GB, free: 45.63 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/5.146, allocations: 1.644 MB / 2.406 GB, free: 43.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/5.147, allocations: 0.7127 MB / 2.407 GB, free: 43.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/5.147, allocations: 47.56 kB / 2.407 GB, free: 43.05 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002117/5.149, allocations: 231.5 kB / 2.407 GB, free: 42.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 6.161e-06/5.149, allocations: 0 / 2.407 GB, free: 42.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.009629/5.159, allocations: 3.447 MB / 2.411 GB, free: 39.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/5.159, allocations: 141.5 kB / 2.411 GB, free: 39.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/5.162, allocations: 1.874 MB / 2.413 GB, free: 37.24 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003763/5.163, allocations: 69.64 kB / 2.413 GB, free: 37.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001324/5.164, allocations: 1.258 MB / 2.414 GB, free: 35.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000507/5.164, allocations: 437.8 kB / 2.414 GB, free: 35.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.804e-05/5.164, allocations: 32 kB / 2.414 GB, free: 35.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001373/5.165, allocations: 377.8 kB / 2.415 GB, free: 35.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/5.166, allocations: 0.7105 MB / 2.415 GB, free: 34.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/5.167, allocations: 1.233 MB / 2.417 GB, free: 32.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/5.168, allocations: 0.9353 MB / 2.418 GB, free: 31.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/5.168, allocations: 8 kB / 2.418 GB, free: 31.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003857/5.172, allocations: 2.355 MB / 2.42 GB, free: 29.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001795/5.174, allocations: 5.704 MB / 2.425 GB, free: 23.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/5.174, allocations: 16 kB / 2.425 GB, free: 23.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/5.176, allocations: 489.1 kB / 2.426 GB, free: 22.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/5.177, allocations: 351.4 kB / 2.426 GB, free: 22.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/5.18, allocations: 3.125 MB / 2.429 GB, free: 19.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/5.183, allocations: 235.3 kB / 2.429 GB, free: 19.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/5.183, allocations: 79.97 kB / 2.43 GB, free: 18.96 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/5.183, allocations: 4 kB / 2.43 GB, free: 18.95 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00293/5.186, allocations: 2.144 MB / 2.432 GB, free: 16.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/5.186, allocations: 16.91 kB / 2.432 GB, free: 16.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/5.186, allocations: 241.5 kB / 2.432 GB, free: 16.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/5.188, allocations: 371.4 kB / 2.432 GB, free: 16.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/5.191, allocations: 4.208 MB / 2.436 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/5.194, allocations: 215.6 kB / 2.437 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/5.194, allocations: 83.97 kB / 2.437 GB, free: 11.41 MB / 0.948 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 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.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 (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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002097/5.196, allocations: 1.004 MB / 2.438 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006408/5.197, allocations: 205.5 kB / 2.438 GB, free: 10.19 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/5.2, allocations: 2.003 MB / 2.44 GB, free: 8.164 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/5.2, allocations: 23.94 kB / 2.44 GB, free: 8.141 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/5.2, allocations: 0 / 2.44 GB, free: 8.141 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001836/5.202, allocations: 1.617 MB / 2.441 GB, free: 6.508 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007839/5.21, allocations: 4.575 MB / 2.446 GB, free: 1.844 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/5.21, allocations: 4 kB / 2.446 GB, free: 1.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/5.211, allocations: 211.8 kB / 2.446 GB, free: 1.633 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/5.212, allocations: 442.6 kB / 2.446 GB, free: 1.195 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-05/5.212, allocations: 35.98 kB / 2.447 GB, free: 1.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5939/5.806, allocations: 3.035 MB / 2.449 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/5.806, allocations: 0 / 2.449 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006956/5.813, allocations: 2.973 MB / 2.452 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/5.815, allocations: 0.5219 MB / 2.453 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/5.816, allocations: 28.34 kB / 2.453 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/5.818, allocations: 196.7 kB / 2.453 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/5.818, allocations: 99.23 kB / 2.453 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/5.819, allocations: 60.12 kB / 2.453 GB, free: 152.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003162/5.822, allocations: 1.448 MB / 2.455 GB, free: 152.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.162e-06/5.822, allocations: 0 / 2.455 GB, free: 152.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006042/5.828, allocations: 1.521 MB / 2.456 GB, free: 152.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001434/5.829, allocations: 0.5676 MB / 2.457 GB, free: 152.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007281/5.837, allocations: 3.303 MB / 2.46 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/5.837, allocations: 1.844 kB / 2.46 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/5.838, allocations: 0.9921 MB / 2.461 GB, free: 151.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006054/5.844, allocations: 1.129 MB / 2.462 GB, free: 151.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00983/5.854, allocations: 6.243 MB / 2.468 GB, free: 149.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002265/5.857, allocations: 2.202 MB / 2.47 GB, free: 148.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004695/5.861, allocations: 0.9426 MB / 2.471 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/5.862, allocations: 176.9 kB / 2.471 GB, free: 148.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/5.862, allocations: 3.562 kB / 2.471 GB, free: 148.5 MB / 0.948 GB Notification: Performance of Templates: time 0.07398/5.936, allocations: 47.26 MB / 2.518 GB, free: 147.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)