Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_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.00494/0.004944, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001103/0.001103, allocations: 193.3 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.066/2.066, allocations: 390.3 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 0.9504 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6527/0.6539, allocations: 140.4 MB / 1.087 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04845/0.7024, allocations: 49.3 MB / 1.136 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.7252, allocations: 13.82 MB / 1.149 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002995/0.7282, allocations: 75.78 kB / 1.149 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.7303, allocations: 0.8014 MB / 1.15 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006031/0.7364, allocations: 2.256 MB / 1.152 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.7395, allocations: 1.31 MB / 1.153 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01867/0.7582, allocations: 19.61 MB / 1.173 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.7698, allocations: 9.907 MB / 1.182 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01374/0.7836, allocations: 6.512 MB / 1.189 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01023/0.7938, allocations: 5.755 MB / 1.194 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001417/0.7952, allocations: 0.8438 MB / 1.195 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005182/0.8004, allocations: 1.598 MB / 1.197 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00187/0.8023, allocations: 2.127 MB / 1.199 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005345/0.8077, allocations: 4.287 MB / 1.203 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.8183, allocations: 12.06 MB / 1.215 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.8184, allocations: 0 / 1.215 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8184, allocations: 3.938 kB / 1.215 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002188/0.8186, allocations: 3.984 kB / 1.215 GB, free: 11.77 MB / 0.9512 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.01215/0.8308, allocations: 7.725 MB / 1.222 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.8308, allocations: 8.031 kB / 1.222 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000884/0.8317, allocations: 0.7681 MB / 1.223 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.8339, allocations: 0.7891 MB / 1.224 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009982/0.8439, allocations: 6.307 MB / 1.23 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.8441, allocations: 419.1 kB / 1.23 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007382/0.8449, allocations: 0.5428 MB / 1.231 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.8556, allocations: 8.065 MB / 1.239 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-05/0.8557, allocations: 11.88 kB / 1.239 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004911/0.8562, allocations: 240 kB / 1.239 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.8564, allocations: 171.9 kB / 1.239 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008679/0.8651, allocations: 6.52 MB / 1.245 GB, free: 11.81 MB / 0.9825 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.03027/0.8953, allocations: 31.21 MB / 1.276 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.8999, allocations: 3.644 MB / 1.28 GB, free: 7.129 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003308/0.9032, allocations: 2.796 MB / 1.282 GB, free: 4.324 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008338/0.904, allocations: 0.828 MB / 1.283 GB, free: 3.328 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.9041, allocations: 68.67 kB / 1.283 GB, free: 3.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 4.339e-06/0.9041, allocations: 4 kB / 1.283 GB, free: 3.246 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.009278/0.9134, allocations: 5.759 MB / 1.289 GB, free: 13.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.9134, allocations: 81.52 kB / 1.289 GB, free: 13.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005799/0.9193, allocations: 5.231 MB / 1.294 GB, free: 8.062 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/0.9195, allocations: 81.7 kB / 1.294 GB, free: 7.977 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/0.9214, allocations: 2.86 MB / 1.297 GB, free: 5.086 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008226/0.9223, allocations: 0.9398 MB / 1.298 GB, free: 4.133 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000857/0.9231, allocations: 0.7113 MB / 1.298 GB, free: 3.414 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.9232, allocations: 309.1 kB / 1.299 GB, free: 3.109 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.9254, allocations: 1.678 MB / 1.3 GB, free: 1.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/0.9283, allocations: 2.936 MB / 1.303 GB, free: 13.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005365/0.9337, allocations: 4.959 MB / 1.308 GB, free: 8.383 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.9337, allocations: 12 kB / 1.308 GB, free: 8.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007362/0.941, allocations: 5.434 MB / 1.313 GB, free: 2.883 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.9411, allocations: 24.22 kB / 1.313 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/0.9411, allocations: 44 kB / 1.313 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008596/0.942, allocations: 423.7 kB / 1.314 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.9447, allocations: 0.858 MB / 1.315 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/0.9498, allocations: 5.71 MB / 1.32 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/0.9528, allocations: 0.5184 MB / 1.321 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/0.9531, allocations: 176 kB / 1.321 GB, free: 10.86 MB / 1.061 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.003061/0.9562, allocations: 2.284 MB / 1.323 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007629/0.9569, allocations: 486.1 kB / 1.324 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00577/0.9627, allocations: 4.181 MB / 1.328 GB, free: 3.848 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.9627, allocations: 28 kB / 1.328 GB, free: 3.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.9627, allocations: 4 kB / 1.328 GB, free: 3.816 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004433/0.9672, allocations: 3.647 MB / 1.331 GB, free: 56 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/0.9806, allocations: 10.25 MB / 1.341 GB, free: 5.629 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.9806, allocations: 7.938 kB / 1.341 GB, free: 5.621 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/0.9826, allocations: 0.5037 MB / 1.342 GB, free: 5.117 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007217/0.9834, allocations: 375.3 kB / 1.342 GB, free: 4.746 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.9835, allocations: 75.97 kB / 1.342 GB, free: 4.672 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0049/0.9884, allocations: 5.643 MB / 1.348 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.9885, allocations: 7.938 kB / 1.348 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008044/0.9965, allocations: 6.246 MB / 1.354 GB, free: 8.32 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/0.9988, allocations: 1.096 MB / 1.355 GB, free: 7.199 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005643/0.9994, allocations: 63.98 kB / 1.355 GB, free: 7.137 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/1.002, allocations: 175.5 kB / 1.355 GB, free: 6.965 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/1.002, allocations: 173.6 kB / 1.355 GB, free: 6.797 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002197/1.002, allocations: 127.9 kB / 1.355 GB, free: 6.672 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004504/1.007, allocations: 3.839 MB / 1.359 GB, free: 2.848 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.3e-07/1.007, allocations: 0 / 1.359 GB, free: 2.848 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004104/1.011, allocations: 1.804 MB / 1.361 GB, free: 1.039 MB / 1.092 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.008748/1.02, allocations: 7.203 MB / 1.368 GB, free: 9.664 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005579/1.025, allocations: 4.28 MB / 1.372 GB, free: 5.344 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.025, allocations: 0 / 1.372 GB, free: 5.344 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002427/1.028, allocations: 2.041 MB / 1.374 GB, free: 3.273 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01209/1.04, allocations: 3.456 MB / 1.378 GB, free: 15.91 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.056/1.096, allocations: 46.93 MB / 1.423 GB, free: 15.32 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/1.099, allocations: 4.303 MB / 1.428 GB, free: 10.98 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.004468/1.104, allocations: 1.858 MB / 1.429 GB, free: 9.129 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002794/1.106, allocations: 2.44 MB / 1.432 GB, free: 6.688 MB / 1.17 GB Notification: Performance of SimCode: time 1.042e-06/1.106, allocations: 0 / 1.432 GB, free: 6.688 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.45/4.557, allocations: 154.1 MB / 1.582 GB, free: 421 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.06/25.61, allocations: 19.12 kB / 1.582 GB, free: 421 MB / 1.311 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)