Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_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.001842/0.001842, 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.002373/0.002374, allocations: 188.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 2.564/2.564, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.098/4.098, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 69.12 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5847/0.5871, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.09433/0.6815, allocations: 48.91 MB / 1.1 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03169/0.7133, allocations: 13.71 MB / 1.114 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004337/0.7177, allocations: 59.62 kB / 1.114 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004554/0.7223, allocations: 0.6799 MB / 1.114 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.7351, allocations: 2.1 MB / 1.116 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006646/0.7418, allocations: 1.191 MB / 1.117 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.04152/0.7833, allocations: 19.67 MB / 1.137 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02934/0.8127, allocations: 9.824 MB / 1.146 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02749/0.8403, allocations: 6.57 MB / 1.153 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01778/0.8582, allocations: 5.93 MB / 1.159 GB, free: 11.65 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.004196/0.8624, allocations: 0.8359 MB / 1.159 GB, free: 10.81 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.8738, allocations: 1.608 MB / 1.161 GB, free: 9.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.006851/0.8807, allocations: 2.096 MB / 1.163 GB, free: 7.102 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01623/0.897, allocations: 4.275 MB / 1.167 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02969/0.9268, allocations: 11.9 MB / 1.179 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.9269, allocations: 3.984 kB / 1.179 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.009e-06/0.9269, allocations: 4 kB / 1.179 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.000534/0.9274, allocations: 0 / 1.179 GB, free: 6.871 MB / 0.9356 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.04469/0.9721, allocations: 7.717 MB / 1.186 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 8.528e-05/0.9723, allocations: 12.62 kB / 1.186 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006843/0.9791, allocations: 0.7642 MB / 1.187 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008582/0.9878, allocations: 0.7853 MB / 1.188 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02904/1.017, allocations: 6.233 MB / 1.194 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001093/1.018, allocations: 423.2 kB / 1.194 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004604/1.023, allocations: 0.5351 MB / 1.195 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04614/1.069, allocations: 8.072 MB / 1.203 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006671/1.07, allocations: 15.84 kB / 1.203 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004463/1.074, allocations: 236 kB / 1.203 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005484/1.075, allocations: 167.9 kB / 1.203 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03258/1.107, allocations: 6.524 MB / 1.209 GB, free: 6.992 MB / 0.9669 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.1087/1.216, allocations: 31.12 MB / 1.24 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01412/1.231, allocations: 3.651 MB / 1.243 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.08/2.31, allocations: 2.8 MB / 1.246 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/2.312, allocations: 0.8314 MB / 1.247 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/2.312, allocations: 68.53 kB / 1.247 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 1.815e-05/2.312, allocations: 1.156 kB / 1.247 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.01813/2.331, allocations: 5.758 MB / 1.253 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/2.331, allocations: 85.25 kB / 1.253 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01486/2.346, allocations: 5.024 MB / 1.258 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/2.347, allocations: 78.89 kB / 1.258 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004865/2.352, allocations: 2.874 MB / 1.261 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002385/2.354, allocations: 0.9357 MB / 1.261 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003684/2.358, allocations: 0.71 MB / 1.262 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/2.358, allocations: 309 kB / 1.262 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005144/2.363, allocations: 1.674 MB / 1.264 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006494/2.369, allocations: 2.932 MB / 1.267 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009777/2.379, allocations: 4.967 MB / 1.272 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001501/2.379, allocations: 12.61 kB / 1.272 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01584/2.395, allocations: 5.436 MB / 1.277 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/2.396, allocations: 21.81 kB / 1.277 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/2.396, allocations: 48.72 kB / 1.277 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/2.397, allocations: 425.3 kB / 1.278 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003943/2.401, allocations: 0.8577 MB / 1.278 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006994/2.408, allocations: 5.704 MB / 1.284 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00684/2.415, allocations: 0.6408 MB / 1.285 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/2.417, allocations: 180.6 kB / 1.285 GB, free: 161.8 MB / 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.00657/2.423, allocations: 2.282 MB / 1.287 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002704/2.426, allocations: 487.9 kB / 1.287 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/2.437, allocations: 4.182 MB / 1.292 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.559e-05/2.437, allocations: 35.42 kB / 1.292 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.792e-05/2.437, allocations: 4.469 kB / 1.292 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007172/2.444, allocations: 3.638 MB / 1.295 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02932/2.473, allocations: 10.2 MB / 1.305 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/2.474, allocations: 8.594 kB / 1.305 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002424/2.476, allocations: 0.4995 MB / 1.306 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00095/2.477, allocations: 374.6 kB / 1.306 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004731/2.478, allocations: 77.73 kB / 1.306 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005774/2.483, allocations: 5.652 MB / 1.312 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/2.483, allocations: 4 kB / 1.312 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/2.495, allocations: 6.25 MB / 1.318 GB, free: 139.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004391/2.5, allocations: 1.084 MB / 1.319 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002322/2.502, allocations: 59.98 kB / 1.319 GB, free: 138 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005302/2.507, allocations: 332.6 kB / 1.319 GB, free: 137.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/2.508, allocations: 173.6 kB / 1.319 GB, free: 137.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005077/2.508, allocations: 128.4 kB / 1.319 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.008552/2.517, allocations: 3.683 MB / 1.323 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/2.517, allocations: 0 / 1.323 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008966/2.526, allocations: 1.782 MB / 1.325 GB, free: 132 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.01325/2.539, allocations: 7.173 MB / 1.332 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01498/2.554, allocations: 8.077 MB / 1.34 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.115e-05/2.554, allocations: 7.938 kB / 1.34 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003589/2.558, allocations: 2.039 MB / 1.342 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03725/2.595, allocations: 3.464 MB / 1.345 GB, free: 111.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3133/2.909, allocations: 58.54 MB / 1.402 GB, free: 47.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01081/2.92, allocations: 4.303 MB / 1.406 GB, free: 43.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01539/2.935, allocations: 1.847 MB / 1.408 GB, free: 41.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009586/2.945, allocations: 2.44 MB / 1.411 GB, free: 39.12 MB / 0.9981 GB Notification: Performance of SimCode: time 2.645e-06/2.945, allocations: 0 / 1.411 GB, free: 39.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.613/6.558, allocations: 155.6 MB / 1.563 GB, free: 12.77 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004671/6.558, allocations: 282.8 kB / 1.563 GB, free: 12.39 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/20.77, allocations: 0 / 1.563 GB, free: 12.39 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)