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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 103.3 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.001341/0.001341, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.84/1.84, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.000508/0.000508, allocations: 18.97 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2762, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03877/0.315, allocations: 41.21 MB / 0.8275 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01728/0.3323, allocations: 11.91 MB / 0.8391 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.3351, allocations: 55.62 kB / 0.8391 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.3379, allocations: 0.7501 MB / 0.8399 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007176/0.3451, allocations: 1.959 MB / 0.8418 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.3494, allocations: 1.418 MB / 0.8432 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01274/0.3621, allocations: 10.46 MB / 0.8534 GB, free: 7.957 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.3726, allocations: 6.52 MB / 0.8598 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008298/0.3809, allocations: 3.998 MB / 0.8637 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007038/0.388, allocations: 3.434 MB / 0.867 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001406/0.3895, allocations: 300 kB / 0.8673 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004506/0.394, allocations: 0.7962 MB / 0.8681 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.3961, allocations: 1.312 MB / 0.8694 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003246/0.3994, allocations: 1.463 MB / 0.8708 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.4117, allocations: 9.376 MB / 0.8799 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4117, allocations: 0 / 0.8799 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4117, allocations: 0 / 0.8799 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004245/0.4122, allocations: 0 / 0.8799 GB, free: 12.62 MB / 0.7012 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.01691/0.4291, allocations: 6.233 MB / 0.886 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4291, allocations: 12.03 kB / 0.886 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002961/0.4321, allocations: 0.7756 MB / 0.8868 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00386/0.436, allocations: 0.7767 MB / 0.8876 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.448, allocations: 5.552 MB / 0.893 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004217/0.4485, allocations: 411.1 kB / 0.8934 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/0.4503, allocations: 0.5428 MB / 0.8939 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/0.4682, allocations: 7.986 MB / 0.9017 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.4685, allocations: 11.94 kB / 0.9017 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/0.4695, allocations: 240 kB / 0.9019 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.4696, allocations: 167.9 kB / 0.9021 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4775/0.9472, allocations: 6.484 MB / 0.9084 GB, free: 106.8 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.07679/1.024, allocations: 31.37 MB / 0.9391 GB, free: 87.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.035, allocations: 3.631 MB / 0.9426 GB, free: 85.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/1.036, allocations: 0.8363 MB / 0.9434 GB, free: 84.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/1.036, allocations: 75.5 kB / 0.9435 GB, free: 84.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 1.119e-05/1.037, allocations: 0 / 0.9435 GB, free: 84.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01909/1.056, allocations: 5.785 MB / 0.9492 GB, free: 81.37 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/1.056, allocations: 80.23 kB / 0.9492 GB, free: 81.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01444/1.07, allocations: 5.328 MB / 0.9544 GB, free: 78.54 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000809/1.071, allocations: 76.7 kB / 0.9545 GB, free: 78.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002397/1.073, allocations: 2.837 MB / 0.9573 GB, free: 76.01 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001395/1.075, allocations: 0.9418 MB / 0.9582 GB, free: 75.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/1.075, allocations: 75.84 kB / 0.9583 GB, free: 75.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.075, allocations: 463.2 kB / 0.9587 GB, free: 74.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/1.078, allocations: 1.677 MB / 0.9604 GB, free: 73.86 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/1.08, allocations: 2.922 MB / 0.9632 GB, free: 71.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00293/1.083, allocations: 2.293 MB / 0.9654 GB, free: 70.08 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/1.083, allocations: 14.31 kB / 0.9655 GB, free: 70.08 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008007/1.091, allocations: 5.441 MB / 0.9708 GB, free: 67.24 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/1.091, allocations: 27.39 kB / 0.9708 GB, free: 67.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/1.091, allocations: 40.69 kB / 0.9708 GB, free: 67.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008409/1.092, allocations: 420.6 kB / 0.9712 GB, free: 67.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002869/1.095, allocations: 0.8607 MB / 0.9721 GB, free: 66.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/1.099, allocations: 5.322 MB / 0.9773 GB, free: 61.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/1.105, allocations: 0.6754 MB / 0.9779 GB, free: 60.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005834/1.106, allocations: 188 kB / 0.9781 GB, free: 60.77 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.003648/1.109, allocations: 2.261 MB / 0.9803 GB, free: 58.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.111, allocations: 482.1 kB / 0.9808 GB, free: 58.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005854/1.116, allocations: 4.208 MB / 0.9849 GB, free: 53.76 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/1.116, allocations: 32 kB / 0.9849 GB, free: 53.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.116, allocations: 4 kB / 0.9849 GB, free: 53.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003963/1.12, allocations: 3.653 MB / 0.9885 GB, free: 49.96 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/1.139, allocations: 10.12 MB / 0.9984 GB, free: 39.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.139, allocations: 4 kB / 0.9984 GB, free: 39.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/1.141, allocations: 0.4915 MB / 0.9989 GB, free: 39.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007575/1.142, allocations: 369.7 kB / 0.9992 GB, free: 38.87 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/1.142, allocations: 83.7 kB / 0.9993 GB, free: 38.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004201/1.146, allocations: 5.269 MB / 1.004 GB, free: 33.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.146, allocations: 4 kB / 1.004 GB, free: 33.26 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009063/1.155, allocations: 6.902 MB / 1.011 GB, free: 26.06 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004053/1.159, allocations: 1.244 MB / 1.012 GB, free: 24.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001566/1.161, allocations: 63.98 kB / 1.012 GB, free: 24.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004505/1.166, allocations: 339.6 kB / 1.013 GB, free: 24.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004595/1.166, allocations: 177.7 kB / 1.013 GB, free: 24.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003688/1.166, allocations: 123.9 kB / 1.013 GB, free: 24.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006313/1.173, allocations: 3.919 MB / 1.017 GB, free: 20.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.4e-07/1.173, allocations: 0 / 1.017 GB, free: 20.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007294/1.18, allocations: 1.805 MB / 1.019 GB, free: 18.41 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.01037/1.191, allocations: 8.652 MB / 1.027 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006122/1.197, allocations: 4.289 MB / 1.031 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.197, allocations: 4 kB / 1.031 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/1.199, allocations: 2.058 MB / 1.033 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01675/1.216, allocations: 3.235 MB / 1.036 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1549/1.371, allocations: 72.7 MB / 1.107 GB, free: 4.152 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00658/1.378, allocations: 4.383 MB / 1.112 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.008482/1.386, allocations: 1.956 MB / 1.114 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005911/1.392, allocations: 2.413 MB / 1.116 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of SimCode: time 1.192e-06/1.392, allocations: 4 kB / 1.116 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9171/2.309, allocations: 160.5 MB / 1.273 GB, free: 301.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/2.31, allocations: 248.6 kB / 1.273 GB, free: 301.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/9.195, allocations: 0 / 1.273 GB, free: 301.5 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) Environment - environmentSimulation: