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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001025/0.001025, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007111/0.007111, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5622, allocations: 142.4 MB / 0.9552 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04825/0.6105, allocations: 47.98 MB / 1.002 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.6288, allocations: 13.67 MB / 1.015 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.6315, allocations: 59.62 kB / 1.015 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.6339, allocations: 0.6486 MB / 1.016 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.6403, allocations: 2.096 MB / 1.018 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.6435, allocations: 1.19 MB / 1.019 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02588/0.6694, allocations: 25.63 MB / 1.044 GB, free: 3.836 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01141/0.6808, allocations: 7.824 MB / 1.052 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008874/0.6897, allocations: 4.691 MB / 1.057 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008118/0.6979, allocations: 5.223 MB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.6994, allocations: 308 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004336/0.7037, allocations: 0.9866 MB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002071/0.7058, allocations: 1.424 MB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005165/0.711, allocations: 3.539 MB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.7217, allocations: 11.24 MB / 1.079 GB, free: 396 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7217, allocations: 0 / 1.079 GB, free: 396 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7217, allocations: 4 kB / 1.079 GB, free: 392 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002499/0.722, allocations: 0 / 1.079 GB, free: 392 kB / 0.8262 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.01206/0.7341, allocations: 6.229 MB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.7341, allocations: 8.031 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001642/0.7358, allocations: 0.7681 MB / 1.086 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.7382, allocations: 0.7813 MB / 1.086 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.7485, allocations: 6.248 MB / 1.092 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/0.7489, allocations: 419.2 kB / 1.093 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.75, allocations: 0.5468 MB / 1.093 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.7632, allocations: 8.065 MB / 1.101 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.7634, allocations: 15.92 kB / 1.101 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006255/0.764, allocations: 240 kB / 1.101 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.7641, allocations: 159.9 kB / 1.102 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.7749, allocations: 6.528 MB / 1.108 GB, free: 1.988 MB / 0.8575 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.03764/0.8126, allocations: 31.17 MB / 1.138 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/0.8179, allocations: 3.655 MB / 1.142 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003845/0.8218, allocations: 2.823 MB / 1.145 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009235/0.8227, allocations: 0.8437 MB / 1.146 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/0.8228, allocations: 72.66 kB / 1.146 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 4.879e-06/0.8228, allocations: 0 / 1.146 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.0105/0.8333, allocations: 5.782 MB / 1.151 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.8334, allocations: 81.52 kB / 1.151 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007469/0.8409, allocations: 5.021 MB / 1.156 GB, free: 14.39 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005326/0.8415, allocations: 77.7 kB / 1.156 GB, free: 14.31 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002283/0.8438, allocations: 2.876 MB / 1.159 GB, free: 11.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.8449, allocations: 0.9359 MB / 1.16 GB, free: 10.46 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003818/0.8453, allocations: 301.6 kB / 1.16 GB, free: 10.16 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.8454, allocations: 309.1 kB / 1.161 GB, free: 9.852 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002558/0.848, allocations: 1.678 MB / 1.162 GB, free: 8.172 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/0.8513, allocations: 2.932 MB / 1.165 GB, free: 4.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006161/0.8574, allocations: 4.962 MB / 1.17 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/0.8575, allocations: 12 kB / 1.17 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008689/0.8662, allocations: 5.445 MB / 1.175 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.8662, allocations: 20 kB / 1.175 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.575e-05/0.8663, allocations: 40 kB / 1.175 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009532/0.8672, allocations: 423.4 kB / 1.176 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/0.8702, allocations: 0.858 MB / 1.177 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005439/0.8757, allocations: 5.276 MB / 1.182 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004647/0.8803, allocations: 0.6432 MB / 1.182 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/0.8807, allocations: 176 kB / 1.183 GB, free: 1.926 MB / 0.9356 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.003731/0.8844, allocations: 2.284 MB / 1.185 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.8855, allocations: 486.1 kB / 1.185 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006794/0.8923, allocations: 4.179 MB / 1.189 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/0.8923, allocations: 27.94 kB / 1.189 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.8923, allocations: 4.188 kB / 1.189 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005017/0.8974, allocations: 3.632 MB / 1.193 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.9146, allocations: 10.22 MB / 1.203 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.9147, allocations: 7.938 kB / 1.203 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/0.9169, allocations: 0.4998 MB / 1.203 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008684/0.9178, allocations: 369.3 kB / 1.204 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/0.918, allocations: 83.95 kB / 1.204 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005308/0.9233, allocations: 5.196 MB / 1.209 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.9233, allocations: 15.94 kB / 1.209 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009641/0.933, allocations: 6.235 MB / 1.215 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003299/0.9363, allocations: 1.17 MB / 1.216 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/0.9375, allocations: 63.98 kB / 1.216 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00382/0.9413, allocations: 331.5 kB / 1.217 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/0.9417, allocations: 173.6 kB / 1.217 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/0.942, allocations: 131.9 kB / 1.217 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006074/0.9481, allocations: 3.683 MB / 1.22 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9481, allocations: 0 / 1.22 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006355/0.9545, allocations: 1.789 MB / 1.222 GB, free: 8.555 MB / 0.9825 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.01053/0.965, allocations: 7.185 MB / 1.229 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006559/0.9716, allocations: 4.251 MB / 1.233 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.9716, allocations: 0 / 1.233 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00288/0.9745, allocations: 2.047 MB / 1.235 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01965/0.9942, allocations: 3.28 MB / 1.239 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.514/1.508, allocations: 58.75 MB / 1.296 GB, free: 256.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/1.511, allocations: 4.303 MB / 1.3 GB, free: 253.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004395/1.515, allocations: 1.84 MB / 1.302 GB, free: 253.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002319/1.518, allocations: 2.438 MB / 1.304 GB, free: 251.2 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.518, allocations: 4 kB / 1.304 GB, free: 251.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.518/4.036, allocations: 150.6 MB / 1.451 GB, free: 107.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/4.036, allocations: 279.8 kB / 1.452 GB, free: 106.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.693/9.729, allocations: 0 / 1.452 GB, free: 106.9 MB / 1.014 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)