Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 288.4 MB / 303.3 MB, free: 8.066 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.00116/0.00116, allocations: 194.7 kB / 372 MB, free: 10.26 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.784/1.784, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008634/0.0008637, allocations: 90.92 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.000437, allocations: 11.19 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2561, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03851/0.2947, allocations: 45.35 MB / 1.024 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02068/0.3154, allocations: 12.9 MB / 1.037 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003072/0.3186, allocations: 59.62 kB / 1.037 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.3212, allocations: 0.5744 MB / 1.037 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007189/0.3284, allocations: 1.772 MB / 1.039 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.3322, allocations: 0.9252 MB / 1.04 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.02411/0.3563, allocations: 21.6 MB / 1.061 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/0.368, allocations: 6.531 MB / 1.067 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5994/0.9675, allocations: 4.764 MB / 1.072 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01454/0.9821, allocations: 4.934 MB / 1.077 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003569/0.9857, allocations: 305.6 kB / 1.077 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009453/0.9952, allocations: 0.7408 MB / 1.078 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005985/1.001, allocations: 1.357 MB / 1.079 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.007556/1.009, allocations: 1.466 MB / 1.08 GB, free: 16.11 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01975/1.029, allocations: 9.425 MB / 1.09 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.029, allocations: 2.219 kB / 1.09 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.347e-06/1.029, allocations: 1.062 kB / 1.09 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006863/1.029, allocations: 0 / 1.09 GB, free: 15.65 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.02501/1.054, allocations: 6.247 MB / 1.096 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/1.054, allocations: 12.02 kB / 1.096 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004848/1.059, allocations: 0.771 MB / 1.097 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007286/1.067, allocations: 0.7771 MB / 1.097 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01781/1.085, allocations: 5.986 MB / 1.103 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005691/1.085, allocations: 419.9 kB / 1.104 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003053/1.088, allocations: 0.5377 MB / 1.104 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02992/1.118, allocations: 8.026 MB / 1.112 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005058/1.119, allocations: 19.45 kB / 1.112 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00312/1.122, allocations: 232.2 kB / 1.112 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002933/1.122, allocations: 169.1 kB / 1.112 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02123/1.143, allocations: 6.481 MB / 1.119 GB, free: 10.88 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.06923/1.213, allocations: 31.13 MB / 1.149 GB, free: 7.629 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00803/1.221, allocations: 3.622 MB / 1.153 GB, free: 6.145 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005678/1.227, allocations: 2.891 MB / 1.155 GB, free: 4.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/1.228, allocations: 0.8384 MB / 1.156 GB, free: 3.922 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/1.228, allocations: 73.77 kB / 1.156 GB, free: 3.852 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 9.447e-06/1.228, allocations: 0 / 1.156 GB, free: 3.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.0158/1.244, allocations: 5.729 MB / 1.162 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/1.244, allocations: 83.19 kB / 1.162 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/1.255, allocations: 4.908 MB / 1.167 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001189/1.256, allocations: 78.05 kB / 1.167 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003665/1.26, allocations: 2.845 MB / 1.17 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002514/1.263, allocations: 0.9325 MB / 1.171 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/1.263, allocations: 76 kB / 1.171 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004089/1.263, allocations: 461.9 kB / 1.171 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003548/1.267, allocations: 1.67 MB / 1.173 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004789/1.272, allocations: 2.908 MB / 1.176 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004687/1.277, allocations: 2.271 MB / 1.178 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.901e-05/1.277, allocations: 12 kB / 1.178 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01261/1.289, allocations: 5.401 MB / 1.183 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/1.289, allocations: 22.53 kB / 1.183 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.906e-05/1.289, allocations: 42.3 kB / 1.183 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/1.291, allocations: 429.7 kB / 1.183 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/1.294, allocations: 0.8588 MB / 1.184 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/1.301, allocations: 5.257 MB / 1.189 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007659/1.309, allocations: 0.6442 MB / 1.19 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.31, allocations: 184.5 kB / 1.19 GB, free: 6.129 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.007946/1.318, allocations: 2.265 MB / 1.192 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002935/1.321, allocations: 474.3 kB / 1.193 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/1.333, allocations: 4.161 MB / 1.197 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/1.333, allocations: 32 kB / 1.197 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.438e-05/1.333, allocations: 4 kB / 1.197 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007554/1.341, allocations: 3.618 MB / 1.201 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03136/1.372, allocations: 10.17 MB / 1.21 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/1.372, allocations: 4 kB / 1.21 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/1.375, allocations: 0.5088 MB / 1.211 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/1.376, allocations: 375.6 kB / 1.211 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006509/1.377, allocations: 71.95 kB / 1.211 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006078/1.383, allocations: 5.199 MB / 1.216 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.383, allocations: 10.5 kB / 1.216 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/1.397, allocations: 6.208 MB / 1.223 GB, free: 4.531 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005238/1.402, allocations: 1.162 MB / 1.224 GB, free: 3.344 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002935/1.405, allocations: 59.98 kB / 1.224 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006306/1.412, allocations: 328.7 kB / 1.224 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008851/1.412, allocations: 178.8 kB / 1.224 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008836/1.413, allocations: 123.9 kB / 1.224 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.009589/1.423, allocations: 3.587 MB / 1.228 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.072e-06/1.423, allocations: 0 / 1.228 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01111/1.434, allocations: 1.781 MB / 1.23 GB, free: 13.32 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.01736/1.452, allocations: 7.12 MB / 1.237 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009964/1.462, allocations: 4.233 MB / 1.241 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/1.462, allocations: 4 kB / 1.241 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004788/1.466, allocations: 2.036 MB / 1.243 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02279/1.489, allocations: 3.281 MB / 1.246 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1903/1.68, allocations: 45.29 MB / 1.29 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00912/1.689, allocations: 4.278 MB / 1.294 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01039/1.699, allocations: 1.908 MB / 1.296 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008578/1.708, allocations: 2.412 MB / 1.299 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of SimCode: time 2.214e-06/1.708, allocations: 0 / 1.299 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7715/2.479, allocations: 159.2 MB / 1.454 GB, free: 345.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/2.48, allocations: 263.6 kB / 1.454 GB, free: 345.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/9.101, allocations: 0 / 1.454 GB, free: 345.6 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)