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.001171/0.001171, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.748/1.748, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.002095/0.002095, allocations: 66.48 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2926, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04809/0.3408, allocations: 49.29 MB / 0.8316 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0211/0.3619, allocations: 13.76 MB / 0.845 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003434/0.3654, allocations: 67.62 kB / 0.8451 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.3694, allocations: 0.8071 MB / 0.8459 GB, free: 13.24 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009167/0.3786, allocations: 2.223 MB / 0.8481 GB, free: 11 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004009/0.3826, allocations: 1.289 MB / 0.8493 GB, free: 9.723 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02153/0.4041, allocations: 19.44 MB / 0.8683 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01646/0.4207, allocations: 9.918 MB / 0.878 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01527/0.436, allocations: 6.503 MB / 0.8843 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/0.4466, allocations: 5.755 MB / 0.89 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002955/0.4495, allocations: 0.8438 MB / 0.8908 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009767/0.4593, allocations: 1.6 MB / 0.8923 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005108/0.4645, allocations: 2.115 MB / 0.8944 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.009089/0.4736, allocations: 4.264 MB / 0.8986 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.5807/1.054, allocations: 11.88 MB / 0.9102 GB, free: 43.53 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/1.054, allocations: 0.9062 kB / 0.9102 GB, free: 43.53 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.066e-06/1.054, allocations: 0 / 0.9102 GB, free: 43.53 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006186/1.055, allocations: 0 / 0.9102 GB, free: 43.53 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.03896/1.094, allocations: 7.677 MB / 0.9177 GB, free: 40.96 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/1.094, allocations: 11.8 kB / 0.9177 GB, free: 40.96 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004388/1.099, allocations: 0.7688 MB / 0.9184 GB, free: 40.89 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005503/1.104, allocations: 0.7777 MB / 0.9192 GB, free: 40.53 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/1.118, allocations: 5.925 MB / 0.925 GB, free: 39.64 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006468/1.119, allocations: 415.4 kB / 0.9254 GB, free: 39.63 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003205/1.122, allocations: 0.5443 MB / 0.9259 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02731/1.149, allocations: 8.067 MB / 0.9338 GB, free: 38.85 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00065/1.15, allocations: 18.69 kB / 0.9338 GB, free: 38.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004219/1.154, allocations: 235.8 kB / 0.934 GB, free: 38.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004324/1.155, allocations: 166.6 kB / 0.9342 GB, free: 38.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02457/1.179, allocations: 6.53 MB / 0.9406 GB, free: 38.79 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.05723/1.236, allocations: 31.42 MB / 0.9712 GB, free: 17.74 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007643/1.244, allocations: 3.644 MB / 0.9748 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004658/1.249, allocations: 2.806 MB / 0.9775 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009773/1.25, allocations: 0.8277 MB / 0.9784 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.939e-05/1.25, allocations: 79.64 kB / 0.9784 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 6.693e-06/1.25, allocations: 0 / 0.9784 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01322/1.263, allocations: 5.757 MB / 0.984 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/1.263, allocations: 77.08 kB / 0.9841 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.273, allocations: 5.142 MB / 0.9891 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/1.274, allocations: 81.58 kB / 0.9892 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002812/1.277, allocations: 2.853 MB / 0.992 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001951/1.279, allocations: 0.9395 MB / 0.9929 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002205/1.281, allocations: 0.7118 MB / 0.9936 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.222e-05/1.281, allocations: 305.1 kB / 0.9939 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/1.284, allocations: 1.672 MB / 0.9955 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00356/1.288, allocations: 2.937 MB / 0.9984 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008217/1.296, allocations: 4.964 MB / 1.003 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.528e-05/1.296, allocations: 12 kB / 1.003 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01258/1.309, allocations: 5.426 MB / 1.009 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.747e-05/1.309, allocations: 24.97 kB / 1.009 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-05/1.309, allocations: 40 kB / 1.009 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/1.31, allocations: 424.6 kB / 1.009 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003476/1.314, allocations: 0.8576 MB / 1.01 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/1.321, allocations: 5.698 MB / 1.015 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007305/1.328, allocations: 0.5183 MB / 1.016 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/1.33, allocations: 180 kB / 1.016 GB, free: 12.96 MB / 0.7481 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 (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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00682/1.336, allocations: 2.271 MB / 1.018 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003147/1.34, allocations: 482.2 kB / 1.019 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009737/1.349, allocations: 4.175 MB / 1.023 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/1.349, allocations: 28 kB / 1.023 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/1.349, allocations: 8 kB / 1.023 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005952/1.355, allocations: 3.628 MB / 1.026 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02456/1.38, allocations: 10.27 MB / 1.036 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/1.38, allocations: 4 kB / 1.036 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.382, allocations: 0.5019 MB / 1.037 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009315/1.383, allocations: 373.3 kB / 1.037 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003555/1.384, allocations: 75.95 kB / 1.037 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/1.39, allocations: 5.653 MB / 1.043 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/1.39, allocations: 11.38 kB / 1.043 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/1.402, allocations: 6.239 MB / 1.049 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003771/1.406, allocations: 1.088 MB / 1.05 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/1.408, allocations: 67.92 kB / 1.05 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004396/1.412, allocations: 180.1 kB / 1.05 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004931/1.413, allocations: 168.5 kB / 1.05 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005174/1.413, allocations: 127.9 kB / 1.051 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.008663/1.422, allocations: 3.778 MB / 1.054 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.21e-07/1.422, allocations: 8 kB / 1.054 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009954/1.432, allocations: 1.792 MB / 1.056 GB, free: 3.543 MB / 0.7794 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 (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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01507/1.447, allocations: 7.167 MB / 1.063 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01629/1.463, allocations: 8.076 MB / 1.071 GB, free: 4.305 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.463, allocations: 5.875 kB / 1.071 GB, free: 4.301 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003882/1.467, allocations: 2.035 MB / 1.073 GB, free: 2.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02101/1.488, allocations: 3.48 MB / 1.076 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09063/1.579, allocations: 57.18 MB / 1.132 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004734/1.584, allocations: 4.278 MB / 1.136 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.007085/1.591, allocations: 1.871 MB / 1.138 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005241/1.596, allocations: 2.412 MB / 1.141 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of SimCode: time 1.873e-06/1.596, allocations: 3.938 kB / 1.141 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.701/2.297, allocations: 157.6 MB / 1.294 GB, free: 386.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/16.04, allocations: 5.906 kB / 1.294 GB, free: 386.6 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)