Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009982/0.0009983, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.577/1.577, allocations: 251.9 MB / 0.51 GB, free: 4.887 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005395/0.0005395, allocations: 23.44 kB / 0.6241 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6202/0.6207, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03233/0.6531, allocations: 31.87 MB / 0.7591 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.6714, allocations: 11.05 MB / 0.7699 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/0.6739, allocations: 47.62 kB / 0.7699 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.6765, allocations: 0.6492 MB / 0.7706 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006006/0.6825, allocations: 1.56 MB / 0.7721 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008078/0.6906, allocations: 2.507 MB / 0.7745 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007308/0.6979, allocations: 4.423 MB / 0.7788 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004067/0.702, allocations: 2.751 MB / 0.7815 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004247/0.7063, allocations: 1.822 MB / 0.7833 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/0.7095, allocations: 1.536 MB / 0.7848 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.7098, allocations: 132 kB / 0.7849 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.7122, allocations: 0.6788 MB / 0.7856 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005864/0.7128, allocations: 0.5565 MB / 0.7861 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009457/0.7138, allocations: 0.6408 MB / 0.7868 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004015/0.7178, allocations: 3.881 MB / 0.7906 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7178, allocations: 0 / 0.7906 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7178, allocations: 0 / 0.7906 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.128e-05/0.7179, allocations: 0 / 0.7906 GB, free: 11.19 MB / 0.6075 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.005921/0.7238, allocations: 2.988 MB / 0.7935 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.7239, allocations: 16.02 kB / 0.7935 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009801/0.7249, allocations: 352 kB / 0.7938 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004382/0.7293, allocations: 2.349 MB / 0.7961 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.7294, allocations: 176.6 kB / 0.7963 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.7298, allocations: 235.9 kB / 0.7965 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005167/0.7349, allocations: 3.179 MB / 0.7996 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/0.735, allocations: 3.938 kB / 0.7996 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/0.7352, allocations: 96 kB / 0.7997 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.335e-05/0.7353, allocations: 71.94 kB / 0.7998 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004255/0.7396, allocations: 2.566 MB / 0.8023 GB, free: 14.9 MB / 0.6231 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.01794/0.7575, allocations: 13.8 MB / 0.8158 GB, free: 24 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.7601, allocations: 1.611 MB / 0.8173 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009629/0.7611, allocations: 0.7282 MB / 0.8181 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.7612, allocations: 47.56 kB / 0.8181 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00156/0.7627, allocations: 195.5 kB / 0.8183 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 3.186e-06/0.7627, allocations: 3.938 kB / 0.8183 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126): time 0.00807/0.7708, allocations: 3.388 MB / 0.8216 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.7709, allocations: 145.5 kB / 0.8217 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.7738, allocations: 2.095 MB / 0.8238 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.774, allocations: 57.7 kB / 0.8238 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.7752, allocations: 1.254 MB / 0.8251 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004983/0.7757, allocations: 445.7 kB / 0.8255 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.018e-05/0.7758, allocations: 32 kB / 0.8255 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.776, allocations: 377.9 kB / 0.8259 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.7771, allocations: 0.7339 MB / 0.8266 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.7787, allocations: 1.229 MB / 0.8278 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.7801, allocations: 0.9588 MB / 0.8287 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.7801, allocations: 4 kB / 0.8287 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003848/0.784, allocations: 2.425 MB / 0.8311 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.002364/0.7864, allocations: 5.693 MB / 0.8367 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.7864, allocations: 20 kB / 0.8367 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/0.7884, allocations: 0.4905 MB / 0.8372 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.7898, allocations: 343.5 kB / 0.8375 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.7931, allocations: 3.165 MB / 0.8406 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.7955, allocations: 231.4 kB / 0.8408 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.7956, allocations: 87.97 kB / 0.8409 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.7957, allocations: 7.953 kB / 0.8409 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003477/0.7991, allocations: 2.191 MB / 0.843 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.7992, allocations: 15.94 kB / 0.843 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007736/0.8, allocations: 246.1 kB / 0.8433 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.8013, allocations: 371.4 kB / 0.8436 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004633/0.8059, allocations: 4.216 MB / 0.8478 GB, free: 13.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.8083, allocations: 223.5 kB / 0.848 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.8084, allocations: 79.98 kB / 0.848 GB, free: 13.51 MB / 0.67 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,yTop.u,$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.00222/0.8107, allocations: 1 MB / 0.849 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/0.8112, allocations: 209.4 kB / 0.8492 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/0.8147, allocations: 2.072 MB / 0.8512 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.8147, allocations: 12 kB / 0.8513 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8148, allocations: 8.25 kB / 0.8513 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00235/0.8171, allocations: 1.675 MB / 0.8529 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008038/0.8252, allocations: 4.664 MB / 0.8575 GB, free: 3.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.8252, allocations: 0 / 0.8575 GB, free: 3.746 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/0.8261, allocations: 207.7 kB / 0.8577 GB, free: 3.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.8275, allocations: 429 kB / 0.8581 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/0.8276, allocations: 35.98 kB / 0.8581 GB, free: 3.086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/0.8307, allocations: 3.074 MB / 0.8611 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8307, allocations: 0 / 0.8611 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004473/0.8352, allocations: 3.051 MB / 0.8641 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.8366, allocations: 0.5412 MB / 0.8646 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.8368, allocations: 28 kB / 0.8646 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.8382, allocations: 199.7 kB / 0.8648 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.8384, allocations: 97.09 kB / 0.8649 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.8385, allocations: 63.91 kB / 0.865 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002136/0.8407, allocations: 1.443 MB / 0.8664 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8407, allocations: 4 kB / 0.8664 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00393/0.8446, allocations: 1.488 MB / 0.8678 GB, free: 8.836 MB / 0.6856 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,yTop.u,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.0008214/0.8455, allocations: 379.9 kB / 0.8682 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005179/0.8506, allocations: 3.376 MB / 0.8715 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.8507, allocations: 0 / 0.8715 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.8521, allocations: 1.025 MB / 0.8725 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004897/0.857, allocations: 1.143 MB / 0.8736 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009413/0.8664, allocations: 6.275 MB / 0.8797 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/0.8683, allocations: 2.206 MB / 0.8819 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003243/0.8715, allocations: 0.9462 MB / 0.8828 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.872, allocations: 179.3 kB / 0.883 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of SimCode: time 2.375e-06/0.872, allocations: 0 / 0.883 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of Templates: time 0.5395/1.411, allocations: 45.04 MB / 0.927 GB, free: 157.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) Environment - environmentSimulation: