Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_10_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.001151/0.001151, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001127/0.001127, allocations: 193.8 kB / 16.25 MB, free: 6.641 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.467/2.467, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.91 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.5136, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04281/0.5564, allocations: 48.91 MB / 1.065 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.5731, allocations: 13.71 MB / 1.078 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.5754, allocations: 63.62 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.5773, allocations: 0.6837 MB / 1.079 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005272/0.5826, allocations: 2.096 MB / 1.081 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.5851, allocations: 1.191 MB / 1.082 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0163/0.6014, allocations: 19.68 MB / 1.101 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/0.6115, allocations: 9.824 MB / 1.111 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.6233, allocations: 6.572 MB / 1.117 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008009/0.6313, allocations: 5.93 MB / 1.123 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.6328, allocations: 0.8359 MB / 1.124 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.6369, allocations: 1.608 MB / 1.125 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001827/0.6387, allocations: 2.096 MB / 1.127 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005089/0.6438, allocations: 4.275 MB / 1.132 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.6558, allocations: 11.9 MB / 1.143 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.6558, allocations: 0 / 1.143 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6558, allocations: 0 / 1.143 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002887/0.6561, allocations: 4 kB / 1.143 GB, free: 0.9062 MB / 0.8887 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.01556/0.6717, allocations: 7.709 MB / 1.151 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6717, allocations: 8.031 kB / 1.151 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001462/0.6732, allocations: 0.7603 MB / 1.152 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002514/0.6757, allocations: 0.793 MB / 1.152 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.6884, allocations: 6.238 MB / 1.158 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004596/0.6889, allocations: 419.2 kB / 1.159 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.69, allocations: 0.5428 MB / 1.159 GB, free: 292 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/0.7052, allocations: 8.065 MB / 1.167 GB, free: 7.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.7053, allocations: 19.84 kB / 1.167 GB, free: 7.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006758/0.706, allocations: 240 kB / 1.167 GB, free: 7.727 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002381/0.7062, allocations: 163.9 kB / 1.168 GB, free: 7.566 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.7198, allocations: 6.528 MB / 1.174 GB, free: 1.027 MB / 0.92 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.04348/0.7633, allocations: 31.12 MB / 1.204 GB, free: 76 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005277/0.7687, allocations: 3.651 MB / 1.208 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003863/0.7725, allocations: 2.806 MB / 1.211 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009772/0.7736, allocations: 0.8319 MB / 1.211 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.061e-05/0.7736, allocations: 68.67 kB / 1.212 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 6.763e-06/0.7736, allocations: 0 / 1.212 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01115/0.7848, allocations: 5.763 MB / 1.217 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.7849, allocations: 81.52 kB / 1.217 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007513/0.7924, allocations: 5.024 MB / 1.222 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0007621/0.7932, allocations: 85.7 kB / 1.222 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002671/0.7959, allocations: 2.872 MB / 1.225 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001545/0.7975, allocations: 0.9476 MB / 1.226 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.7986, allocations: 0.7113 MB / 1.227 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7987, allocations: 305.1 kB / 1.227 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002547/0.8012, allocations: 1.674 MB / 1.229 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/0.8045, allocations: 2.932 MB / 1.231 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005885/0.8104, allocations: 4.97 MB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/0.8104, allocations: 12 kB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00883/0.8193, allocations: 5.437 MB / 1.242 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.8194, allocations: 25 kB / 1.242 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.101e-05/0.8194, allocations: 40 kB / 1.242 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.8204, allocations: 425.3 kB / 1.242 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/0.8233, allocations: 0.858 MB / 1.243 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/0.8289, allocations: 5.699 MB / 1.249 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004906/0.8338, allocations: 0.6472 MB / 1.249 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007396/0.8346, allocations: 184 kB / 1.249 GB, free: 212 kB / 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.4845/1.319, allocations: 2.279 MB / 1.252 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/1.32, allocations: 488.3 kB / 1.252 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006453/1.327, allocations: 4.185 MB / 1.256 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/1.327, allocations: 26.28 kB / 1.256 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.327, allocations: 4.312 kB / 1.256 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005218/1.332, allocations: 3.634 MB / 1.26 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/1.349, allocations: 10.21 MB / 1.27 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.349, allocations: 4.344 kB / 1.27 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/1.351, allocations: 0.4998 MB / 1.27 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007455/1.352, allocations: 375.8 kB / 1.27 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/1.352, allocations: 76.91 kB / 1.271 GB, free: 205 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004007/1.356, allocations: 5.638 MB / 1.276 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.356, allocations: 5.312 kB / 1.276 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00709/1.363, allocations: 6.247 MB / 1.282 GB, free: 198.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.365, allocations: 1.074 MB / 1.283 GB, free: 197.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005328/1.365, allocations: 67.38 kB / 1.283 GB, free: 197.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002491/1.368, allocations: 331.9 kB / 1.284 GB, free: 197.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/1.368, allocations: 175.3 kB / 1.284 GB, free: 197.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/1.368, allocations: 126.4 kB / 1.284 GB, free: 197.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003676/1.372, allocations: 3.689 MB / 1.287 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.372, allocations: 0 / 1.287 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003206/1.375, allocations: 1.779 MB / 1.289 GB, free: 196 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.006875/1.382, allocations: 7.184 MB / 1.296 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.393, allocations: 8.071 MB / 1.304 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.393, allocations: 4 kB / 1.304 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/1.394, allocations: 2.038 MB / 1.306 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01023/1.405, allocations: 3.459 MB / 1.309 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09668/1.501, allocations: 58.52 MB / 1.367 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003141/1.505, allocations: 4.299 MB / 1.371 GB, free: 109.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0048/1.509, allocations: 1.857 MB / 1.373 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002624/1.512, allocations: 2.444 MB / 1.375 GB, free: 105.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.512, allocations: 0 / 1.375 GB, free: 105.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.745/3.257, allocations: 155.6 MB / 1.527 GB, free: 14.9 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003638/3.258, allocations: 285.5 kB / 1.527 GB, free: 14.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.527/9.785, allocations: 0 / 1.527 GB, free: 14.52 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)