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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001513/0.001513, 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.001689/0.001689, allocations: 194.9 kB / 16.25 MB, free: 6.637 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.3 MB / 0.6644 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5675/0.5688, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04707/0.6159, allocations: 48.89 MB / 0.997 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02041/0.6364, allocations: 13.71 MB / 1.01 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/0.6389, allocations: 67.62 kB / 1.01 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.6413, allocations: 0.6799 MB / 1.011 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006262/0.6476, allocations: 2.095 MB / 1.013 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.6508, allocations: 1.19 MB / 1.014 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02155/0.6723, allocations: 19.68 MB / 1.034 GB, free: 11.45 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01239/0.6848, allocations: 9.832 MB / 1.043 GB, free: 1.496 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01334/0.6981, allocations: 6.573 MB / 1.05 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008557/0.7067, allocations: 5.918 MB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002527/0.7092, allocations: 0.8359 MB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005854/0.7151, allocations: 1.604 MB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003259/0.7184, allocations: 2.103 MB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.007468/0.7258, allocations: 4.283 MB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.7377, allocations: 11.9 MB / 1.076 GB, free: 224 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7377, allocations: 3.938 kB / 1.076 GB, free: 220 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7377, allocations: 0 / 1.076 GB, free: 220 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002872/0.738, allocations: 0 / 1.076 GB, free: 220 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.0144/0.7524, allocations: 7.702 MB / 1.083 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.7525, allocations: 8.031 kB / 1.083 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001089/0.7535, allocations: 0.7642 MB / 1.084 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.7558, allocations: 0.7929 MB / 1.085 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00992/0.7658, allocations: 6.247 MB / 1.091 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.7661, allocations: 415.2 kB / 1.091 GB, free: 140 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008654/0.7669, allocations: 0.539 MB / 1.092 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/0.7799, allocations: 8.069 MB / 1.099 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.78, allocations: 23.78 kB / 1.1 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005622/0.7806, allocations: 232 kB / 1.1 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.7808, allocations: 163.9 kB / 1.1 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.7909, allocations: 6.532 MB / 1.106 GB, free: 344 kB / 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.03517/0.8261, allocations: 31.12 MB / 1.137 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004857/0.831, allocations: 3.648 MB / 1.14 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/0.8345, allocations: 2.815 MB / 1.143 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008533/0.8353, allocations: 0.8241 MB / 1.144 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.8354, allocations: 72.67 kB / 1.144 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 4.638e-06/0.8354, allocations: 0 / 1.144 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.009503/0.8449, allocations: 5.77 MB / 1.149 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.845, allocations: 77.52 kB / 1.15 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006968/0.852, allocations: 5.032 MB / 1.154 GB, free: 12.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003261/0.8523, allocations: 77.7 kB / 1.155 GB, free: 12.76 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002122/0.8544, allocations: 2.864 MB / 1.157 GB, free: 9.867 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009782/0.8554, allocations: 0.9359 MB / 1.158 GB, free: 8.918 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.8565, allocations: 0.7152 MB / 1.159 GB, free: 8.195 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.8566, allocations: 305.1 kB / 1.159 GB, free: 7.895 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/0.8589, allocations: 1.674 MB / 1.161 GB, free: 6.219 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003086/0.862, allocations: 2.932 MB / 1.164 GB, free: 2.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005744/0.8678, allocations: 4.966 MB / 1.169 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-05/0.8678, allocations: 12 kB / 1.169 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009657/0.8775, allocations: 5.437 MB / 1.174 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.8776, allocations: 24 kB / 1.174 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.529e-05/0.8776, allocations: 40 kB / 1.174 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009592/0.8786, allocations: 428.1 kB / 1.174 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.8815, allocations: 0.858 MB / 1.175 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005653/0.8872, allocations: 5.693 MB / 1.181 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004372/0.8916, allocations: 0.6472 MB / 1.181 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005083/0.8921, allocations: 180 kB / 1.182 GB, free: 15.52 MB / 0.9512 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.003547/0.8957, allocations: 2.288 MB / 1.184 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/0.897, allocations: 490.1 kB / 1.184 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006968/0.904, allocations: 4.183 MB / 1.188 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/0.904, allocations: 31.98 kB / 1.188 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.9041, allocations: 7.938 kB / 1.188 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004915/0.909, allocations: 3.628 MB / 1.192 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/0.9292, allocations: 10.21 MB / 1.202 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.9293, allocations: 4 kB / 1.202 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/0.9314, allocations: 0.4998 MB / 1.202 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000825/0.9323, allocations: 383.3 kB / 1.203 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/0.9325, allocations: 71.97 kB / 1.203 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005511/0.938, allocations: 5.642 MB / 1.208 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.9381, allocations: 16 kB / 1.208 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00971/0.9478, allocations: 6.24 MB / 1.214 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002697/0.9505, allocations: 1.076 MB / 1.216 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/0.9516, allocations: 63.98 kB / 1.216 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003569/0.9552, allocations: 335.1 kB / 1.216 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/0.9556, allocations: 177.6 kB / 1.216 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003338/0.9559, allocations: 127.9 kB / 1.216 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006763/0.9627, allocations: 3.687 MB / 1.22 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9627, allocations: 0 / 1.22 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006722/0.9694, allocations: 1.781 MB / 1.222 GB, free: 5.785 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.01118/0.9806, allocations: 7.182 MB / 1.229 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01475/0.9954, allocations: 8.07 MB / 1.236 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.9954, allocations: 5 kB / 1.236 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003159/0.9986, allocations: 2.038 MB / 1.238 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01498/1.014, allocations: 3.459 MB / 1.242 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5285/1.542, allocations: 58.52 MB / 1.299 GB, free: 250 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/1.545, allocations: 4.305 MB / 1.303 GB, free: 247.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005054/1.55, allocations: 1.855 MB / 1.305 GB, free: 246.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002831/1.553, allocations: 2.441 MB / 1.307 GB, free: 244.8 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.553, allocations: 0 / 1.307 GB, free: 244.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3669/1.92, allocations: 155.6 MB / 1.459 GB, free: 96.56 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.92, allocations: 284.6 kB / 1.46 GB, free: 96.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.514/7.435, allocations: 2.672 kB / 1.46 GB, free: 96.17 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)