Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 185.6 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 0.5777 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009305/0.0009307, allocations: 90.05 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003639, allocations: 9.562 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2312, allocations: 106.3 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0327/0.2639, allocations: 45.36 MB / 0.9446 GB, free: 18.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.2823, allocations: 12.86 MB / 0.9571 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002847/0.2852, allocations: 59.62 kB / 0.9572 GB, free: 5.719 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003542/0.2887, allocations: 0.5666 MB / 0.9578 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008315/0.2971, allocations: 1.768 MB / 0.9595 GB, free: 3.371 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.3008, allocations: 0.9015 MB / 0.9604 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02518/0.326, allocations: 21.61 MB / 0.9815 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/0.341, allocations: 6.5 MB / 0.9878 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01394/0.355, allocations: 4.767 MB / 0.9925 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01212/0.3671, allocations: 4.944 MB / 0.9973 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002771/0.37, allocations: 304 kB / 0.9976 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007668/0.3777, allocations: 0.7372 MB / 0.9983 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.004311/0.382, allocations: 1.346 MB / 0.9996 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00535/0.3874, allocations: 1.467 MB / 1.001 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.4029, allocations: 9.344 MB / 1.01 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.403, allocations: 0 / 1.01 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.406e-06/0.403, allocations: 0 / 1.01 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0005565/0.4035, allocations: 4 kB / 1.01 GB, free: 15.23 MB / 0.6667 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.02072/0.4243, allocations: 6.26 MB / 1.016 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.4244, allocations: 12.03 kB / 1.016 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003509/0.4279, allocations: 0.7562 MB / 1.017 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/0.4328, allocations: 0.7728 MB / 1.018 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/0.449, allocations: 6.031 MB / 1.024 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004981/0.4496, allocations: 419 kB / 1.024 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002379/0.452, allocations: 0.5429 MB / 1.025 GB, free: 300 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02299/0.475, allocations: 7.922 MB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.4752, allocations: 19.78 kB / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006837/0.4758, allocations: 232 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/0.476, allocations: 164 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/0.4909, allocations: 6.524 MB / 1.039 GB, free: 1.215 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.6086/1.1, allocations: 30.52 MB / 1.069 GB, free: 126 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008942/1.109, allocations: 3.75 MB / 1.073 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005721/1.114, allocations: 2.904 MB / 1.075 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009002/1.115, allocations: 0.8404 MB / 1.076 GB, free: 125.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/1.115, allocations: 74.2 kB / 1.076 GB, free: 125 MB / 0.698 GB Notification: Performance of pre-optimization done (n=275): time 4.879e-06/1.115, allocations: 0 / 1.076 GB, free: 125 MB / 0.698 GB Notification: Performance of matching and sorting (n=275): time 0.01227/1.128, allocations: 5.809 MB / 1.082 GB, free: 124.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/1.128, allocations: 78.64 kB / 1.082 GB, free: 124.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008746/1.136, allocations: 4.904 MB / 1.087 GB, free: 122.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008427/1.137, allocations: 76.39 kB / 1.087 GB, free: 122.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002947/1.14, allocations: 2.831 MB / 1.09 GB, free: 120.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001926/1.142, allocations: 0.9642 MB / 1.091 GB, free: 119.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/1.143, allocations: 76.09 kB / 1.091 GB, free: 119.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003033/1.143, allocations: 463.6 kB / 1.091 GB, free: 119 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/1.146, allocations: 1.689 MB / 1.093 GB, free: 118.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/1.149, allocations: 2.9 MB / 1.096 GB, free: 115.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003433/1.153, allocations: 2.301 MB / 1.098 GB, free: 114.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/1.153, allocations: 11.25 kB / 1.098 GB, free: 114.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.009811/1.163, allocations: 5.446 MB / 1.103 GB, free: 111.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/1.163, allocations: 22.88 kB / 1.103 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.175e-05/1.163, allocations: 38.22 kB / 1.103 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009727/1.164, allocations: 429.9 kB / 1.104 GB, free: 111.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/1.167, allocations: 0.8674 MB / 1.105 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00467/1.172, allocations: 5.262 MB / 1.11 GB, free: 106.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006024/1.178, allocations: 0.6432 MB / 1.11 GB, free: 105.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007667/1.178, allocations: 180 kB / 1.11 GB, free: 105.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * 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 (455): * Single equations (assignments): 453 * 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.00461/1.183, allocations: 2.257 MB / 1.113 GB, free: 103.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001671/1.185, allocations: 486.2 kB / 1.113 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006482/1.191, allocations: 4.226 MB / 1.117 GB, free: 98.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/1.191, allocations: 28 kB / 1.117 GB, free: 98.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.191, allocations: 11.69 kB / 1.117 GB, free: 98.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004379/1.196, allocations: 3.665 MB / 1.121 GB, free: 94.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02199/1.218, allocations: 10.52 MB / 1.131 GB, free: 84.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/1.218, allocations: 5.75 kB / 1.131 GB, free: 84.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/1.22, allocations: 0.5155 MB / 1.132 GB, free: 83.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008016/1.221, allocations: 380.3 kB / 1.132 GB, free: 83.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/1.221, allocations: 75.97 kB / 1.132 GB, free: 83.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00447/1.225, allocations: 5.197 MB / 1.137 GB, free: 77.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.225, allocations: 11.94 kB / 1.137 GB, free: 77.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009414/1.235, allocations: 6.327 MB / 1.143 GB, free: 71.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003913/1.239, allocations: 1.146 MB / 1.144 GB, free: 69.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/1.24, allocations: 66.72 kB / 1.145 GB, free: 69.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005161/1.246, allocations: 338.1 kB / 1.145 GB, free: 69.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007608/1.246, allocations: 177.8 kB / 1.145 GB, free: 69.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004248/1.247, allocations: 123.9 kB / 1.145 GB, free: 69.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00861/1.256, allocations: 3.587 MB / 1.149 GB, free: 65.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.32e-07/1.256, allocations: 0 / 1.149 GB, free: 65.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008566/1.264, allocations: 1.777 MB / 1.15 GB, free: 63.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (250): * Single equations (assignments): 245 * 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.01207/1.276, allocations: 7.233 MB / 1.157 GB, free: 56.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006893/1.283, allocations: 4.287 MB / 1.162 GB, free: 52.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/1.283, allocations: 4 kB / 1.162 GB, free: 52.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002911/1.286, allocations: 2.065 MB / 1.164 GB, free: 50.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01734/1.304, allocations: 3.288 MB / 1.167 GB, free: 46.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1195/1.423, allocations: 45.72 MB / 1.212 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005606/1.429, allocations: 4.293 MB / 1.216 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007624/1.436, allocations: 1.84 MB / 1.217 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005329/1.442, allocations: 2.401 MB / 1.22 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of SimCode: time 4.299e-06/1.442, allocations: 0 / 1.22 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2575/1.699, allocations: 159 MB / 1.375 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/1.7, allocations: 273.1 kB / 1.375 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.163/7.863, allocations: 3.797 kB / 1.375 GB, free: 6.961 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)