Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8409/0.8409, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 102.9 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.634e-05, allocations: 0 / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6105/0.6106, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/1.69, allocations: 377.8 MB / 1.003 GB, free: 7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004583/1.691, allocations: 86.95 kB / 1.003 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.071/10.76, allocations: 2.1 GB / 3.103 GB, free: 83.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.355e-06/10.76, allocations: 0 / 3.103 GB, free: 83.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001205/10.76, allocations: 177 kB / 3.103 GB, free: 83.64 MB / 0.698 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.02115/10.78, allocations: 5.537 MB / 3.108 GB, free: 78.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/10.78, allocations: 8.031 kB / 3.108 GB, free: 78.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005892/10.79, allocations: 0.7844 MB / 3.109 GB, free: 77.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01968/10.81, allocations: 7.484 MB / 3.116 GB, free: 70.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003803/10.81, allocations: 176 kB / 3.117 GB, free: 70.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002734/10.81, allocations: 319.7 kB / 3.117 GB, free: 70.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01653/10.83, allocations: 5.504 MB / 3.122 GB, free: 64.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02865/10.86, allocations: 6.604 MB / 3.129 GB, free: 57.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004918/10.86, allocations: 23.78 kB / 3.129 GB, free: 57.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002864/10.86, allocations: 8 kB / 3.129 GB, free: 57.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000314/10.86, allocations: 230.4 kB / 3.129 GB, free: 57.43 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.06094/10.92, allocations: 28.59 MB / 3.157 GB, free: 27.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005998/10.93, allocations: 3.386 MB / 3.16 GB, free: 24.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004107/10.93, allocations: 2.639 MB / 3.163 GB, free: 21.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/10.93, allocations: 0.8339 MB / 3.164 GB, free: 20.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.333e-05/10.93, allocations: 68.62 kB / 3.164 GB, free: 20.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 6.953e-06/10.93, allocations: 0 / 3.164 GB, free: 20.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.00876/10.94, allocations: 3.534 MB / 3.167 GB, free: 17.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/10.94, allocations: 81.52 kB / 3.167 GB, free: 17.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/10.95, allocations: 3.977 MB / 3.171 GB, free: 13.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/10.95, allocations: 25.7 kB / 3.171 GB, free: 12.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002614/10.96, allocations: 2.848 MB / 3.174 GB, free: 10.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001921/10.96, allocations: 0.9009 MB / 3.175 GB, free: 9.199 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006666/10.96, allocations: 0 / 3.175 GB, free: 9.199 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004004/10.96, allocations: 465.9 kB / 3.175 GB, free: 8.738 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002812/10.96, allocations: 1.53 MB / 3.177 GB, free: 7.207 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003521/10.97, allocations: 2.767 MB / 3.179 GB, free: 3.875 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/10.97, allocations: 2.23 MB / 3.182 GB, free: 1.625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.513e-05/10.97, allocations: 14.62 kB / 3.182 GB, free: 1.613 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.6471/11.62, allocations: 4.931 MB / 3.186 GB, free: 91.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/11.62, allocations: 21.84 kB / 3.186 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/11.62, allocations: 39.94 kB / 3.186 GB, free: 91.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/11.62, allocations: 414.5 kB / 3.187 GB, free: 91.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/11.62, allocations: 0.8627 MB / 3.188 GB, free: 91.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/11.63, allocations: 5.142 MB / 3.193 GB, free: 88.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006863/11.64, allocations: 0.5251 MB / 3.193 GB, free: 88.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/11.64, allocations: 185.9 kB / 3.193 GB, free: 88.88 MB / 0.698 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 () * 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.001148/11.64, allocations: 231.2 kB / 3.194 GB, free: 88.77 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007904/11.65, allocations: 3.529 MB / 3.197 GB, free: 88.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002224/11.65, allocations: 428.8 kB / 3.197 GB, free: 88.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007205/11.66, allocations: 3.881 MB / 3.201 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/11.66, allocations: 24.94 kB / 3.201 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/11.66, allocations: 7.125 kB / 3.201 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00477/11.66, allocations: 3.45 MB / 3.205 GB, free: 87.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02682/11.69, allocations: 9.364 MB / 3.214 GB, free: 86.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/11.69, allocations: 3.969 kB / 3.214 GB, free: 86.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/11.69, allocations: 0.4975 MB / 3.214 GB, free: 86.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008067/11.69, allocations: 363.3 kB / 3.215 GB, free: 86.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002363/11.69, allocations: 45.03 kB / 3.215 GB, free: 86.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005479/11.7, allocations: 5.086 MB / 3.22 GB, free: 84.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/11.7, allocations: 4.062 kB / 3.22 GB, free: 84.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/11.71, allocations: 6.443 MB / 3.226 GB, free: 82.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003906/11.71, allocations: 1.118 MB / 3.227 GB, free: 82.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001725/11.71, allocations: 26.39 kB / 3.227 GB, free: 82.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004347/11.72, allocations: 251.9 kB / 3.227 GB, free: 82.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/11.72, allocations: 175.6 kB / 3.227 GB, free: 82.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004769/11.72, allocations: 130.5 kB / 3.228 GB, free: 82.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006763/11.73, allocations: 3.025 MB / 3.231 GB, free: 82.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/11.73, allocations: 0 / 3.231 GB, free: 82.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009496/11.74, allocations: 1.85 MB / 3.232 GB, free: 82.19 MB / 0.698 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 () * 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.01342/11.75, allocations: 8.547 MB / 3.241 GB, free: 79.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006825/11.76, allocations: 3.938 MB / 3.245 GB, free: 79.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/11.76, allocations: 3.094 kB / 3.245 GB, free: 79.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002837/11.76, allocations: 1.908 MB / 3.246 GB, free: 78.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01544/11.77, allocations: 2.376 MB / 3.249 GB, free: 78.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03803/11.81, allocations: 12.04 MB / 3.26 GB, free: 76.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007865/11.82, allocations: 4.406 MB / 3.265 GB, free: 75.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008789/11.83, allocations: 1.711 MB / 3.266 GB, free: 75.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006402/11.84, allocations: 2.413 MB / 3.269 GB, free: 75.84 MB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/11.84, allocations: 0 / 3.269 GB, free: 75.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2336/12.07, allocations: 131.4 MB / 3.397 GB, free: 20.79 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/12.07, allocations: 171.5 kB / 3.397 GB, free: 20.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.477/18.55, allocations: 0 / 3.397 GB, free: 20.59 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)