Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009983/0.0009984, allocations: 176.7 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000811/0.000811, allocations: 91.97 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003603, allocations: 8.5 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2045, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03519/0.2397, allocations: 47.98 MB / 0.9478 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.2543, allocations: 13.58 MB / 0.961 GB, free: 1.668 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.2569, allocations: 55.62 kB / 0.9611 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.259, allocations: 0.6525 MB / 0.9617 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007124/0.2661, allocations: 2.069 MB / 0.9637 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.2695, allocations: 1.139 MB / 0.9648 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.02386/0.2934, allocations: 25.49 MB / 0.9897 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.3044, allocations: 7.805 MB / 0.9974 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009989/0.3144, allocations: 4.804 MB / 1.002 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.3246, allocations: 5.231 MB / 1.007 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001538/0.3261, allocations: 304 kB / 1.007 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004856/0.331, allocations: 0.9905 MB / 1.008 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.333, allocations: 1.408 MB / 1.01 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00627/0.3393, allocations: 3.504 MB / 1.013 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.352, allocations: 11.12 MB / 1.024 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3521, allocations: 0 / 1.024 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3521, allocations: 0 / 1.024 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004099/0.3525, allocations: 0 / 1.024 GB, free: 0.8086 MB / 0.6667 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.01345/0.366, allocations: 6.19 MB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.366, allocations: 12.03 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002299/0.3683, allocations: 0.7642 MB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.3712, allocations: 0.7698 MB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.3824, allocations: 6.171 MB / 1.038 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.3829, allocations: 423.2 kB / 1.038 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.3843, allocations: 0.5351 MB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/0.4015, allocations: 7.973 MB / 1.046 GB, free: 9.605 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.4016, allocations: 19.78 kB / 1.046 GB, free: 9.586 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005464/0.4022, allocations: 228 kB / 1.047 GB, free: 9.363 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/0.4024, allocations: 168 kB / 1.047 GB, free: 9.199 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.414, allocations: 6.567 MB / 1.053 GB, free: 2.621 MB / 0.698 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.5155/0.9295, allocations: 30.54 MB / 1.083 GB, free: 123.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006184/0.9357, allocations: 3.769 MB / 1.087 GB, free: 122.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004054/0.9398, allocations: 2.852 MB / 1.089 GB, free: 120.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000778/0.9406, allocations: 0.8388 MB / 1.09 GB, free: 120 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.9407, allocations: 67.42 kB / 1.09 GB, free: 119.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=275): time 4.388e-06/0.9407, allocations: 0 / 1.09 GB, free: 119.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=275): time 0.01057/0.9513, allocations: 5.847 MB / 1.096 GB, free: 116.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.9514, allocations: 79.86 kB / 1.096 GB, free: 116.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007712/0.9591, allocations: 4.944 MB / 1.101 GB, free: 114.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006983/0.9598, allocations: 79.23 kB / 1.101 GB, free: 114.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001821/0.9617, allocations: 2.817 MB / 1.104 GB, free: 111.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/0.9628, allocations: 0.9792 MB / 1.105 GB, free: 111 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.963, allocations: 72.44 kB / 1.105 GB, free: 110.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9631, allocations: 475.1 kB / 1.105 GB, free: 110.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.9653, allocations: 1.698 MB / 1.107 GB, free: 109.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/0.9679, allocations: 2.92 MB / 1.11 GB, free: 107.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004862/0.9727, allocations: 4.971 MB / 1.115 GB, free: 102.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/0.9728, allocations: 8 kB / 1.115 GB, free: 102.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007812/0.9806, allocations: 5.475 MB / 1.12 GB, free: 96.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.9806, allocations: 23.94 kB / 1.12 GB, free: 96.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/0.9807, allocations: 40 kB / 1.12 GB, free: 96.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008575/0.9816, allocations: 423.2 kB / 1.12 GB, free: 96.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.9843, allocations: 0.8697 MB / 1.121 GB, free: 95.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/0.9886, allocations: 5.266 MB / 1.126 GB, free: 89.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005664/0.9943, allocations: 0.6453 MB / 1.127 GB, free: 89.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/0.9947, allocations: 176 kB / 1.127 GB, free: 88.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * 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 (455): * Single equations (assignments): 453 * 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.004053/0.9988, allocations: 2.264 MB / 1.129 GB, free: 86.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/1, allocations: 478.2 kB / 1.13 GB, free: 86.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007136/1.007, allocations: 4.235 MB / 1.134 GB, free: 81.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/1.007, allocations: 31.94 kB / 1.134 GB, free: 81.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/1.008, allocations: 4 kB / 1.134 GB, free: 81.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004636/1.012, allocations: 3.686 MB / 1.138 GB, free: 78.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02346/1.036, allocations: 10.54 MB / 1.148 GB, free: 67.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/1.036, allocations: 8 kB / 1.148 GB, free: 67.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002317/1.038, allocations: 0.5114 MB / 1.148 GB, free: 66.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008598/1.039, allocations: 377.3 kB / 1.149 GB, free: 66.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003552/1.039, allocations: 79.95 kB / 1.149 GB, free: 66.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/1.044, allocations: 5.207 MB / 1.154 GB, free: 60.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.044, allocations: 7.938 kB / 1.154 GB, free: 60.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009609/1.053, allocations: 6.353 MB / 1.16 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003591/1.057, allocations: 1.142 MB / 1.161 GB, free: 53.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/1.059, allocations: 63.98 kB / 1.161 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004528/1.063, allocations: 346.6 kB / 1.162 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004531/1.064, allocations: 177.7 kB / 1.162 GB, free: 52.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003958/1.064, allocations: 119.9 kB / 1.162 GB, free: 52.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006852/1.071, allocations: 3.629 MB / 1.166 GB, free: 48.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.071, allocations: 0 / 1.166 GB, free: 48.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007501/1.079, allocations: 1.783 MB / 1.167 GB, free: 47.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (250): * Single equations (assignments): 245 * 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.0125/1.091, allocations: 7.274 MB / 1.174 GB, free: 39.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006807/1.098, allocations: 4.308 MB / 1.179 GB, free: 35.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.098, allocations: 3.938 kB / 1.179 GB, free: 35.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00312/1.101, allocations: 2.071 MB / 1.181 GB, free: 33.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02151/1.123, allocations: 3.29 MB / 1.184 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1318/1.255, allocations: 58.56 MB / 1.241 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005865/1.261, allocations: 4.278 MB / 1.245 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.007469/1.268, allocations: 1.849 MB / 1.247 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004528/1.273, allocations: 2.393 MB / 1.249 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/1.273, allocations: 0 / 1.249 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.058/3.331, allocations: 149.8 MB / 1.396 GB, free: 290.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/3.331, allocations: 290.2 kB / 1.396 GB, free: 290 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/9.944, allocations: 1.156 kB / 1.396 GB, free: 290 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)