Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.506/1.506, allocations: 287.4 MB / 302.6 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009307/0.0009307, allocations: 185.4 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008411/0.0008412, allocations: 98.38 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003821, allocations: 12.12 kB / 0.8662 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1817, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03783/0.2195, allocations: 45.36 MB / 1.023 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.2373, allocations: 12.89 MB / 1.036 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.2399, allocations: 59.56 kB / 1.036 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.2421, allocations: 0.5666 MB / 1.036 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005424/0.2475, allocations: 1.776 MB / 1.038 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.2505, allocations: 0.9301 MB / 1.039 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01896/0.2695, allocations: 21.71 MB / 1.06 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009524/0.279, allocations: 7.789 MB / 1.068 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3727/0.6517, allocations: 4.772 MB / 1.072 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.6622, allocations: 4.933 MB / 1.077 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001895/0.6641, allocations: 302.8 kB / 1.077 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/0.6695, allocations: 0.7395 MB / 1.078 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002019/0.6716, allocations: 1.355 MB / 1.079 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.6751, allocations: 1.471 MB / 1.081 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.6874, allocations: 9.42 MB / 1.09 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.6875, allocations: 0 / 1.09 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6875, allocations: 2.156 kB / 1.09 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003891/0.6879, allocations: 1 kB / 1.09 GB, free: 16.05 MB / 0.6823 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.01467/0.7026, allocations: 6.183 MB / 1.096 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.7026, allocations: 9.656 kB / 1.096 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002237/0.7049, allocations: 0.7698 MB / 1.097 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.7073, allocations: 0.7787 MB / 1.098 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00963/0.7169, allocations: 6.123 MB / 1.104 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.7172, allocations: 418.4 kB / 1.104 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009443/0.7182, allocations: 0.5422 MB / 1.105 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01445/0.7326, allocations: 8.024 MB / 1.112 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/0.7328, allocations: 15.47 kB / 1.112 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000703/0.7335, allocations: 241 kB / 1.113 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/0.7337, allocations: 166.3 kB / 1.113 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.7453, allocations: 6.482 MB / 1.119 GB, free: 11.3 MB / 0.6823 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.03508/0.7804, allocations: 31.13 MB / 1.15 GB, free: 8.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/0.7848, allocations: 3.636 MB / 1.153 GB, free: 7.188 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003288/0.7881, allocations: 2.884 MB / 1.156 GB, free: 5.875 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000846/0.789, allocations: 0.8404 MB / 1.157 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.789, allocations: 70.55 kB / 1.157 GB, free: 4.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 4.889e-06/0.7891, allocations: 0 / 1.157 GB, free: 4.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.009479/0.7985, allocations: 5.752 MB / 1.162 GB, free: 1.855 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.7986, allocations: 80.58 kB / 1.163 GB, free: 1.785 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007405/0.806, allocations: 4.9 MB / 1.167 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003175/0.8063, allocations: 81.7 kB / 1.167 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002405/0.8088, allocations: 2.849 MB / 1.17 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.8098, allocations: 0.9334 MB / 1.171 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.8101, allocations: 76 kB / 1.171 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002569/0.8103, allocations: 461.8 kB / 1.172 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/0.8129, allocations: 1.665 MB / 1.173 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003313/0.8162, allocations: 2.922 MB / 1.176 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006033/0.8223, allocations: 4.942 MB / 1.181 GB, free: 224 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-05/0.8223, allocations: 12 kB / 1.181 GB, free: 212 kB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00851/0.8308, allocations: 5.401 MB / 1.186 GB, free: 11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.8309, allocations: 22.62 kB / 1.186 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.215e-05/0.831, allocations: 40 kB / 1.186 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009436/0.8319, allocations: 428.7 kB / 1.187 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/0.8346, allocations: 0.8535 MB / 1.187 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005261/0.8399, allocations: 5.269 MB / 1.193 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/0.8442, allocations: 0.6432 MB / 1.193 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/0.8446, allocations: 176 kB / 1.193 GB, free: 3.418 MB / 0.7292 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.003967/0.8485, allocations: 2.268 MB / 1.196 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/0.8498, allocations: 478.3 kB / 1.196 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006451/0.8562, allocations: 4.154 MB / 1.2 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.8563, allocations: 28 kB / 1.2 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.8563, allocations: 15.92 kB / 1.2 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00477/0.8611, allocations: 3.616 MB / 1.204 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/0.8781, allocations: 10.17 MB / 1.214 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.8782, allocations: 6.734 kB / 1.214 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002017/0.8802, allocations: 0.499 MB / 1.214 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007626/0.881, allocations: 375.8 kB / 1.214 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/0.8812, allocations: 75.95 kB / 1.215 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004888/0.8861, allocations: 5.195 MB / 1.22 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.8861, allocations: 6.531 kB / 1.22 GB, free: 8.176 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008509/0.8946, allocations: 6.209 MB / 1.226 GB, free: 1.812 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002668/0.8973, allocations: 1.162 MB / 1.227 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/0.8984, allocations: 63.92 kB / 1.227 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003395/0.9018, allocations: 335.2 kB / 1.227 GB, free: 244 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.9021, allocations: 168.1 kB / 1.227 GB, free: 80 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002957/0.9024, allocations: 138.3 kB / 1.228 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.005531/0.9079, allocations: 3.579 MB / 1.231 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9079, allocations: 0 / 1.231 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005314/0.9132, allocations: 1.781 MB / 1.233 GB, free: 10.59 MB / 0.7761 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.01079/0.924, allocations: 7.127 MB / 1.24 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006291/0.9304, allocations: 4.237 MB / 1.244 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.9304, allocations: 4 kB / 1.244 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002688/0.9331, allocations: 2.039 MB / 1.246 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01791/0.951, allocations: 3.227 MB / 1.249 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1298/1.081, allocations: 45.3 MB / 1.293 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004526/1.085, allocations: 4.282 MB / 1.297 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006574/1.092, allocations: 1.916 MB / 1.299 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003951/1.096, allocations: 2.404 MB / 1.302 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/1.096, allocations: 0 / 1.302 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.29/2.386, allocations: 159.3 MB / 1.457 GB, free: 345.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/2.386, allocations: 255 kB / 1.457 GB, free: 345.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.829/8.215, allocations: 0 / 1.457 GB, free: 345.3 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)