Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008066/0.0008065, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001089/0.001089, allocations: 172.7 kB / 15.95 MB, free: 208 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.475/1.475, allocations: 205.4 MB / 222.1 MB, free: 5.867 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.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.0005742/0.0005743, allocations: 17.09 kB / 0.6737 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2386, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04229/0.2809, allocations: 45.34 MB / 0.8316 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.2988, allocations: 12.89 MB / 0.8441 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.3013, allocations: 55.62 kB / 0.8442 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.3031, allocations: 0.5821 MB / 0.8448 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0058/0.3089, allocations: 1.768 MB / 0.8465 GB, free: 15.15 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.3117, allocations: 0.9331 MB / 0.8474 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01955/0.3313, allocations: 21.6 MB / 0.8685 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009177/0.3405, allocations: 6.523 MB / 0.8749 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/0.3507, allocations: 4.774 MB / 0.8795 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01021/0.3609, allocations: 4.936 MB / 0.8844 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001699/0.3627, allocations: 304 kB / 0.8846 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005095/0.3678, allocations: 0.7372 MB / 0.8854 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002096/0.3699, allocations: 1.354 MB / 0.8867 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004546/0.3744, allocations: 1.471 MB / 0.8881 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.3849, allocations: 9.422 MB / 0.8973 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3849, allocations: 0 / 0.8973 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3849, allocations: 0 / 0.8973 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003853/0.3853, allocations: 0 / 0.8973 GB, free: 10.89 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.0137/0.399, allocations: 6.248 MB / 0.9034 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3991, allocations: 8.031 kB / 0.9034 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003687/0.4028, allocations: 0.7844 MB / 0.9042 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4479/0.8507, allocations: 5.977 MB / 0.91 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004403/0.8512, allocations: 413 kB / 0.9104 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/0.853, allocations: 0.5432 MB / 0.911 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.8691, allocations: 8.027 MB / 0.9188 GB, free: 107 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/0.8693, allocations: 18.8 kB / 0.9188 GB, free: 107 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000625/0.8699, allocations: 235.3 kB / 0.919 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.8701, allocations: 165.9 kB / 0.9192 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/0.8848, allocations: 6.483 MB / 0.9255 GB, free: 104.6 MB / 0.7169 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.04685/0.9317, allocations: 31.12 MB / 0.9559 GB, free: 80.92 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005684/0.9374, allocations: 3.641 MB / 0.9595 GB, free: 79.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004032/0.9415, allocations: 2.886 MB / 0.9623 GB, free: 77.71 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007772/0.9423, allocations: 0.8396 MB / 0.9631 GB, free: 76.81 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.834e-05/0.9424, allocations: 70.48 kB / 0.9632 GB, free: 76.74 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 5.36e-06/0.9424, allocations: 2.25 kB / 0.9632 GB, free: 76.74 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01011/0.9525, allocations: 5.732 MB / 0.9688 GB, free: 71.96 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.9525, allocations: 77.52 kB / 0.9689 GB, free: 71.88 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008445/0.961, allocations: 4.907 MB / 0.9736 GB, free: 66.97 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005885/0.9616, allocations: 81.45 kB / 0.9737 GB, free: 66.89 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/0.9638, allocations: 2.84 MB / 0.9765 GB, free: 64.04 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.965, allocations: 0.9363 MB / 0.9774 GB, free: 63.11 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003438/0.9653, allocations: 76 kB / 0.9775 GB, free: 63.03 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000242/0.9656, allocations: 464.1 kB / 0.9779 GB, free: 62.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/0.968, allocations: 1.662 MB / 0.9796 GB, free: 60.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/0.971, allocations: 2.916 MB / 0.9824 GB, free: 57.44 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00299/0.974, allocations: 2.269 MB / 0.9846 GB, free: 55.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.79e-05/0.974, allocations: 12 kB / 0.9846 GB, free: 55.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008178/0.9822, allocations: 5.402 MB / 0.9899 GB, free: 49.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.9823, allocations: 23.98 kB / 0.9899 GB, free: 49.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-05/0.9823, allocations: 40 kB / 0.99 GB, free: 49.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008732/0.9832, allocations: 426.8 kB / 0.9904 GB, free: 49.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/0.9859, allocations: 0.8619 MB / 0.9912 GB, free: 48.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/0.9906, allocations: 5.256 MB / 0.9963 GB, free: 42.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005229/0.9958, allocations: 0.6394 MB / 0.997 GB, free: 42.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006376/0.9965, allocations: 187.2 kB / 0.9971 GB, free: 42 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004104/1.001, allocations: 2.261 MB / 0.9994 GB, free: 39.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/1.002, allocations: 478.2 kB / 0.9998 GB, free: 39.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006888/1.009, allocations: 4.174 MB / 1.004 GB, free: 35.03 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/1.009, allocations: 24 kB / 1.004 GB, free: 35 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.009, allocations: 4 kB / 1.004 GB, free: 35 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004239/1.013, allocations: 3.612 MB / 1.007 GB, free: 31.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/1.031, allocations: 10.17 MB / 1.017 GB, free: 20.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.031, allocations: 4 kB / 1.017 GB, free: 20.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/1.032, allocations: 0.5038 MB / 1.018 GB, free: 20.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006778/1.033, allocations: 377.3 kB / 1.018 GB, free: 20.11 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/1.033, allocations: 74.27 kB / 1.018 GB, free: 20.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/1.037, allocations: 5.21 MB / 1.023 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.037, allocations: 8 kB / 1.023 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007197/1.044, allocations: 6.218 MB / 1.029 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/1.047, allocations: 1.166 MB / 1.031 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009301/1.048, allocations: 59.98 kB / 1.031 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/1.051, allocations: 330.4 kB / 1.031 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/1.051, allocations: 173.7 kB / 1.031 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/1.051, allocations: 127.9 kB / 1.031 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005144/1.057, allocations: 3.583 MB / 1.035 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.81e-07/1.057, allocations: 0 / 1.035 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006165/1.063, allocations: 1.777 MB / 1.036 GB, free: 0.9844 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/1.064, allocations: 461.8 kB / 1.037 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006302/1.07, allocations: 4.235 MB / 1.041 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.07, allocations: 0 / 1.041 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/1.073, allocations: 2.038 MB / 1.043 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0164/1.09, allocations: 3.282 MB / 1.046 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/1.111, allocations: 14.52 MB / 1.06 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003953/1.115, allocations: 4.282 MB / 1.065 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.006478/1.121, allocations: 1.906 MB / 1.066 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.123, allocations: 415.2 kB / 1.067 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of SimCode: time 1.713e-06/1.123, allocations: 0 / 1.067 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of Templates: time 0.173/1.296, allocations: 107.2 MB / 1.172 GB, free: 7.473 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) Environment - environmentSimulation: