Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_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.001132/0.001132, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.77 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2507, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04722/0.298, allocations: 49.31 MB / 0.8318 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01901/0.317, allocations: 13.75 MB / 0.8452 GB, free: 14 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00371/0.3208, allocations: 67.56 kB / 0.8453 GB, free: 13.94 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.3238, allocations: 0.8148 MB / 0.846 GB, free: 13.12 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007347/0.3312, allocations: 2.215 MB / 0.8482 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.3357, allocations: 1.299 MB / 0.8495 GB, free: 9.602 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02144/0.3571, allocations: 19.45 MB / 0.8685 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/0.3696, allocations: 9.918 MB / 0.8782 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/0.3833, allocations: 6.517 MB / 0.8845 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.3939, allocations: 5.755 MB / 0.8902 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002898/0.3969, allocations: 0.8438 MB / 0.891 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007445/0.4043, allocations: 1.604 MB / 0.8925 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004333/0.4087, allocations: 2.119 MB / 0.8946 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01081/0.4196, allocations: 4.268 MB / 0.8988 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4777/0.8973, allocations: 12.01 MB / 0.9105 GB, free: 43.3 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.8974, allocations: 0.9688 kB / 0.9105 GB, free: 43.3 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8974, allocations: 0 / 0.9105 GB, free: 43.3 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006476/0.8981, allocations: 0 / 0.9105 GB, free: 43.3 MB / 0.7169 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.02854/0.9266, allocations: 7.678 MB / 0.918 GB, free: 40.71 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.9267, allocations: 8.594 kB / 0.918 GB, free: 40.71 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004233/0.9309, allocations: 0.763 MB / 0.9188 GB, free: 40.64 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006442/0.9374, allocations: 0.7824 MB / 0.9195 GB, free: 40.28 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01516/0.9526, allocations: 6.164 MB / 0.9255 GB, free: 39.37 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000744/0.9534, allocations: 416.8 kB / 0.9259 GB, free: 39.36 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003474/0.9569, allocations: 0.5417 MB / 0.9265 GB, free: 39.35 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02764/0.9845, allocations: 8.067 MB / 0.9343 GB, free: 38.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005377/0.9851, allocations: 19.72 kB / 0.9344 GB, free: 38.56 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003261/0.9884, allocations: 237.7 kB / 0.9346 GB, free: 38.56 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000309/0.9887, allocations: 170.1 kB / 0.9348 GB, free: 38.56 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/1.006, allocations: 6.52 MB / 0.9411 GB, free: 38.51 MB / 0.7169 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.0524/1.058, allocations: 31.17 MB / 0.9716 GB, free: 17.55 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006614/1.065, allocations: 3.645 MB / 0.9751 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005028/1.07, allocations: 2.819 MB / 0.9779 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009613/1.071, allocations: 0.8218 MB / 0.9787 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/1.071, allocations: 80.17 kB / 0.9787 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 9.748e-06/1.071, allocations: 1.125 kB / 0.9787 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01355/1.085, allocations: 5.754 MB / 0.9844 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.085, allocations: 87.39 kB / 0.9845 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.095, allocations: 5.142 MB / 0.9895 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001/1.096, allocations: 77.58 kB / 0.9895 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002805/1.099, allocations: 2.847 MB / 0.9923 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001698/1.1, allocations: 0.9349 MB / 0.9932 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/1.103, allocations: 0.7145 MB / 0.9939 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.449e-05/1.103, allocations: 305.1 kB / 0.9942 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002727/1.106, allocations: 1.68 MB / 0.9959 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/1.11, allocations: 2.936 MB / 0.9987 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008462/1.118, allocations: 4.96 MB / 1.004 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-05/1.118, allocations: 12 kB / 1.004 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01234/1.131, allocations: 5.434 MB / 1.009 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/1.131, allocations: 21.53 kB / 1.009 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.138e-05/1.131, allocations: 40 kB / 1.009 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/1.132, allocations: 421.4 kB / 1.009 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003473/1.135, allocations: 0.8562 MB / 1.01 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005938/1.141, allocations: 5.699 MB / 1.016 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00527/1.147, allocations: 0.5195 MB / 1.016 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008264/1.148, allocations: 177.7 kB / 1.016 GB, free: 12.87 MB / 0.7481 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.004922/1.152, allocations: 2.265 MB / 1.019 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002368/1.155, allocations: 485.6 kB / 1.019 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009633/1.165, allocations: 4.181 MB / 1.023 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.901e-05/1.165, allocations: 28 kB / 1.023 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-05/1.165, allocations: 7.984 kB / 1.023 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006713/1.171, allocations: 3.626 MB / 1.027 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02706/1.198, allocations: 10.25 MB / 1.037 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.198, allocations: 4 kB / 1.037 GB, free: 7.898 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/1.201, allocations: 0.5019 MB / 1.037 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009708/1.202, allocations: 373.4 kB / 1.038 GB, free: 7.055 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005341/1.203, allocations: 79.95 kB / 1.038 GB, free: 6.977 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005972/1.209, allocations: 5.638 MB / 1.043 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.209, allocations: 7.188 kB / 1.043 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.221, allocations: 6.24 MB / 1.049 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004095/1.225, allocations: 1.092 MB / 1.05 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001965/1.227, allocations: 63.92 kB / 1.05 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004659/1.232, allocations: 178.7 kB / 1.051 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000755/1.233, allocations: 173.2 kB / 1.051 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001035/1.234, allocations: 131.9 kB / 1.051 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.009313/1.243, allocations: 3.778 MB / 1.055 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4e-07/1.243, allocations: 0 / 1.055 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008854/1.252, allocations: 1.8 MB / 1.056 GB, free: 3.488 MB / 0.7794 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.01665/1.269, allocations: 7.176 MB / 1.063 GB, free: 12.21 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00981/1.279, allocations: 4.28 MB / 1.068 GB, free: 8.027 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/1.279, allocations: 4 kB / 1.068 GB, free: 8.023 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003921/1.283, allocations: 2.042 MB / 1.07 GB, free: 6.012 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01897/1.302, allocations: 3.457 MB / 1.073 GB, free: 2.656 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09351/1.395, allocations: 46.56 MB / 1.118 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006821/1.402, allocations: 4.278 MB / 1.123 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.007234/1.409, allocations: 1.839 MB / 1.124 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005363/1.415, allocations: 2.417 MB / 1.127 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of SimCode: time 1.343e-06/1.415, allocations: 0 / 1.127 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2266/1.641, allocations: 152.3 MB / 1.275 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.97/24.62, allocations: 11.94 kB / 1.275 GB, free: 3.234 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)