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.494/1.494, allocations: 288.4 MB / 303.6 MB, free: 8.863 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.0009277/0.0009276, allocations: 178.5 kB / 372.3 MB, free: 6.418 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.205/1.205, allocations: 205.4 MB / 0.631 GB, free: 13.44 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006623/0.0006622, allocations: 87.72 kB / 0.7443 GB, free: 64.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 12 kB / 0.8675 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1783, allocations: 115.3 MB / 0.9802 GB, free: 13 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3447/0.5231, allocations: 45.37 MB / 1.024 GB, free: 64.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.5377, allocations: 12.89 MB / 1.037 GB, free: 64.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.5392, allocations: 58.38 kB / 1.037 GB, free: 64.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.5405, allocations: 0.5739 MB / 1.038 GB, free: 64.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.5444, allocations: 1.9 MB / 1.04 GB, free: 64.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.5466, allocations: 0.9431 MB / 1.04 GB, free: 64.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01755/0.5641, allocations: 21.71 MB / 1.062 GB, free: 61.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007872/0.572, allocations: 7.812 MB / 1.069 GB, free: 59.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007499/0.5796, allocations: 4.748 MB / 1.074 GB, free: 58.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006704/0.5863, allocations: 4.939 MB / 1.079 GB, free: 57.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0008415/0.5871, allocations: 301.7 kB / 1.079 GB, free: 57.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.5909, allocations: 0.9372 MB / 1.08 GB, free: 57.19 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.5921, allocations: 1.358 MB / 1.081 GB, free: 56.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.004296/0.5964, allocations: 3.372 MB / 1.085 GB, free: 54.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005633/0.602, allocations: 9.47 MB / 1.094 GB, free: 53.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6021, allocations: 0.8438 kB / 1.094 GB, free: 53.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6021, allocations: 0 / 1.094 GB, free: 53.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.888e-05/0.6022, allocations: 3.312 kB / 1.094 GB, free: 53.11 MB / 0.7448 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.007865/0.61, allocations: 6.181 MB / 1.1 GB, free: 50.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.6101, allocations: 8.906 kB / 1.1 GB, free: 50.02 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007399/0.6108, allocations: 0.7686 MB / 1.101 GB, free: 49.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.6123, allocations: 0.7775 MB / 1.101 GB, free: 49.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006946/0.6192, allocations: 6.128 MB / 1.107 GB, free: 46.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.6194, allocations: 410.9 kB / 1.108 GB, free: 46.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005861/0.62, allocations: 0.5469 MB / 1.108 GB, free: 46.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009725/0.6298, allocations: 8.025 MB / 1.116 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.932e-05/0.6299, allocations: 21.81 kB / 1.116 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004387/0.6303, allocations: 235.7 kB / 1.116 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.6305, allocations: 159.4 kB / 1.117 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007942/0.6384, allocations: 6.484 MB / 1.123 GB, free: 40.39 MB / 0.7448 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.03224/0.6707, allocations: 31.13 MB / 1.153 GB, free: 19.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/0.6756, allocations: 3.628 MB / 1.157 GB, free: 17.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003583/0.6792, allocations: 2.885 MB / 1.16 GB, free: 16.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.6803, allocations: 0.8414 MB / 1.16 GB, free: 32.12 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/0.6804, allocations: 76.05 kB / 1.161 GB, free: 32.05 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=267): time 4.649e-06/0.6804, allocations: 0 / 1.161 GB, free: 32.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=267): time 0.009759/0.6902, allocations: 5.76 MB / 1.166 GB, free: 29.91 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.6902, allocations: 82.98 kB / 1.166 GB, free: 29.84 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007186/0.6974, allocations: 4.905 MB / 1.171 GB, free: 28.02 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000275/0.6977, allocations: 74.7 kB / 1.171 GB, free: 27.95 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.6995, allocations: 2.849 MB / 1.174 GB, free: 25.47 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007696/0.7003, allocations: 0.9301 MB / 1.175 GB, free: 24.67 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.7005, allocations: 78.72 kB / 1.175 GB, free: 24.61 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.7007, allocations: 464.3 kB / 1.175 GB, free: 24.19 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.7029, allocations: 1.659 MB / 1.177 GB, free: 23.33 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/0.7055, allocations: 2.917 MB / 1.18 GB, free: 20.82 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004912/0.7104, allocations: 4.95 MB / 1.185 GB, free: 17.14 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.195e-05/0.7105, allocations: 13.95 kB / 1.185 GB, free: 17.14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008098/0.7186, allocations: 5.405 MB / 1.19 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.7186, allocations: 20 kB / 1.19 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.109e-05/0.7187, allocations: 40 kB / 1.19 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009404/0.7196, allocations: 419.8 kB / 1.19 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002789/0.7224, allocations: 0.8632 MB / 1.191 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00545/0.7279, allocations: 5.26 MB / 1.196 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004332/0.7323, allocations: 0.6486 MB / 1.197 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/0.7326, allocations: 180 kB / 1.197 GB, free: 4.203 MB / 0.7605 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.00372/0.7363, allocations: 2.261 MB / 1.199 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/0.7375, allocations: 482.2 kB / 1.2 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006587/0.7441, allocations: 4.159 MB / 1.204 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.7441, allocations: 28 kB / 1.204 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.7441, allocations: 10.56 kB / 1.204 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004869/0.749, allocations: 3.621 MB / 1.207 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.7665, allocations: 10.16 MB / 1.217 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.7665, allocations: 4 kB / 1.217 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/0.7686, allocations: 0.5076 MB / 1.218 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007769/0.7694, allocations: 369.3 kB / 1.218 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.7696, allocations: 75.95 kB / 1.218 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00503/0.7746, allocations: 5.203 MB / 1.223 GB, free: 8.785 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.7746, allocations: 11.94 kB / 1.223 GB, free: 8.773 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008599/0.7833, allocations: 6.214 MB / 1.229 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/0.7859, allocations: 1.158 MB / 1.231 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009761/0.7869, allocations: 59.98 kB / 1.231 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003456/0.7904, allocations: 331 kB / 1.231 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/0.7907, allocations: 177.6 kB / 1.231 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003199/0.791, allocations: 131.9 kB / 1.231 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.006028/0.7971, allocations: 3.582 MB / 1.235 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7971, allocations: 4 kB / 1.235 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005185/0.8023, allocations: 1.781 MB / 1.236 GB, free: 11.16 MB / 0.8073 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.0099/0.8122, allocations: 7.139 MB / 1.243 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006344/0.8185, allocations: 4.231 MB / 1.248 GB, free: 15.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.8185, allocations: 0 / 1.248 GB, free: 15.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002716/0.8213, allocations: 2.039 MB / 1.25 GB, free: 13.53 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01824/0.8395, allocations: 3.233 MB / 1.253 GB, free: 10.34 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1186/0.9581, allocations: 45.3 MB / 1.297 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00515/0.9633, allocations: 4.279 MB / 1.301 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007113/0.9705, allocations: 1.907 MB / 1.303 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004509/0.975, allocations: 2.413 MB / 1.305 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of SimCode: time 9.32e-07/0.975, allocations: 10.12 kB / 1.305 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.231/2.206, allocations: 160.8 MB / 1.462 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/2.206, allocations: 262 kB / 1.463 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.918/8.123, allocations: 0 / 1.463 GB, free: 238.1 MB / 0.9323 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)