Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_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.001011/0.001011, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007799/0.007799, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.529/2.529, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 10.53 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2417, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0427/0.2845, allocations: 48 MB / 1.106 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.3005, allocations: 13.66 MB / 1.119 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.3023, allocations: 59.62 kB / 1.119 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.3041, allocations: 0.6564 MB / 1.12 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.309, allocations: 2.092 MB / 1.122 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.3117, allocations: 1.188 MB / 1.123 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.02151/0.3332, allocations: 25.63 MB / 1.148 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009438/0.3427, allocations: 7.809 MB / 1.156 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007272/0.35, allocations: 4.699 MB / 1.16 GB, free: 12.69 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007316/0.3573, allocations: 5.227 MB / 1.165 GB, free: 7.438 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00121/0.3585, allocations: 300 kB / 1.166 GB, free: 7.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/0.3622, allocations: 0.9827 MB / 1.166 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.3638, allocations: 1.428 MB / 1.168 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004223/0.368, allocations: 3.531 MB / 1.171 GB, free: 1.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.009213/0.3772, allocations: 11.26 MB / 1.182 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3773, allocations: 3.938 kB / 1.182 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3773, allocations: 4 kB / 1.182 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001451/0.3774, allocations: 0 / 1.182 GB, free: 5.871 MB / 0.9356 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.01008/0.3875, allocations: 6.217 MB / 1.188 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3875, allocations: 15.97 kB / 1.188 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009797/0.3885, allocations: 0.7603 MB / 1.189 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.3904, allocations: 0.7852 MB / 1.19 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008668/0.3991, allocations: 6.251 MB / 1.196 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.3994, allocations: 419.2 kB / 1.196 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007432/0.4001, allocations: 0.539 MB / 1.197 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.4117, allocations: 8.068 MB / 1.205 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.4118, allocations: 27.72 kB / 1.205 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005127/0.4124, allocations: 236 kB / 1.205 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.4125, allocations: 167.9 kB / 1.205 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009529/0.422, allocations: 6.52 MB / 1.212 GB, free: 7.477 MB / 0.9669 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.03299/0.455, allocations: 31.17 MB / 1.242 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005038/0.4601, allocations: 3.648 MB / 1.246 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4293/0.8894, allocations: 2.825 MB / 1.248 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009436/0.8904, allocations: 0.8367 MB / 1.249 GB, free: 172 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.8905, allocations: 70.23 kB / 1.249 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 4.428e-06/0.8905, allocations: 0.875 kB / 1.249 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.009385/0.8999, allocations: 5.782 MB / 1.255 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.8999, allocations: 81.77 kB / 1.255 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005529/0.9055, allocations: 5.033 MB / 1.26 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002056/0.9057, allocations: 80.91 kB / 1.26 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001692/0.9074, allocations: 2.867 MB / 1.263 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007586/0.9081, allocations: 0.9399 MB / 1.264 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/0.9085, allocations: 301.6 kB / 1.264 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.524e-05/0.9086, allocations: 310.2 kB / 1.264 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002554/0.9111, allocations: 1.677 MB / 1.266 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/0.9142, allocations: 2.936 MB / 1.269 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005748/0.9199, allocations: 4.963 MB / 1.274 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-05/0.9199, allocations: 11.78 kB / 1.274 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007599/0.9276, allocations: 5.437 MB / 1.279 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.9276, allocations: 22.31 kB / 1.279 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.55e-05/0.9277, allocations: 43.91 kB / 1.279 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008685/0.9285, allocations: 420.3 kB / 1.279 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/0.9313, allocations: 0.8576 MB / 1.28 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/0.9357, allocations: 5.261 MB / 1.285 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/0.9394, allocations: 0.642 MB / 1.286 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.9397, allocations: 189.6 kB / 1.286 GB, free: 158.9 MB / 0.9981 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.00281/0.9425, allocations: 2.279 MB / 1.288 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005763/0.9431, allocations: 488.8 kB / 1.289 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005357/0.9484, allocations: 4.187 MB / 1.293 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.9485, allocations: 25.22 kB / 1.293 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.9485, allocations: 4.344 kB / 1.293 GB, free: 156 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003699/0.9522, allocations: 3.639 MB / 1.297 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.9632, allocations: 10.21 MB / 1.307 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.9632, allocations: 7.062 kB / 1.307 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.965, allocations: 0.4935 MB / 1.307 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006168/0.9656, allocations: 380.3 kB / 1.307 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.9657, allocations: 79.5 kB / 1.307 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/0.9693, allocations: 5.206 MB / 1.313 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9693, allocations: 4 kB / 1.313 GB, free: 144 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006057/0.9754, allocations: 6.257 MB / 1.319 GB, free: 137.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/0.9769, allocations: 1.158 MB / 1.32 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005012/0.9774, allocations: 64.64 kB / 1.32 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/0.9799, allocations: 325.6 kB / 1.32 GB, free: 136 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.9802, allocations: 183.4 kB / 1.32 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/0.9804, allocations: 127.9 kB / 1.32 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003814/0.9842, allocations: 3.687 MB / 1.324 GB, free: 132 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.072e-06/0.9842, allocations: 0 / 1.324 GB, free: 132 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003513/0.9877, allocations: 1.783 MB / 1.326 GB, free: 130.2 MB / 0.9981 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.006903/0.9946, allocations: 7.182 MB / 1.333 GB, free: 122.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004577/0.9992, allocations: 4.256 MB / 1.337 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.9993, allocations: 4 kB / 1.337 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/1.001, allocations: 2.039 MB / 1.339 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01441/1.016, allocations: 3.271 MB / 1.342 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1014/1.117, allocations: 58.76 MB / 1.4 GB, free: 49.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002659/1.12, allocations: 4.303 MB / 1.404 GB, free: 45.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004817/1.125, allocations: 1.844 MB / 1.406 GB, free: 43.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/1.127, allocations: 2.436 MB / 1.408 GB, free: 41.04 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.127, allocations: 0 / 1.408 GB, free: 41.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.678/2.805, allocations: 150.6 MB / 1.555 GB, free: 3.699 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003203/2.806, allocations: 280.9 kB / 1.555 GB, free: 3.324 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.427/8.232, allocations: 2.5 kB / 1.555 GB, free: 3.324 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)