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.008176/0.008176, allocations: 169.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8466/0.8466, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001036/0.001036, allocations: 96.69 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5048/0.5052, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.916/1.421, allocations: 378.5 MB / 1.019 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.422, allocations: 102.5 kB / 1.019 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.357/9.778, allocations: 2.116 GB / 3.135 GB, free: 14.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/9.778, allocations: 4 kB / 3.135 GB, free: 14.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00113/9.779, allocations: 182.8 kB / 3.135 GB, free: 14.79 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.02534/9.805, allocations: 6.584 MB / 3.141 GB, free: 8.141 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/9.805, allocations: 8.031 kB / 3.141 GB, free: 8.133 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004455/9.809, allocations: 0.764 MB / 3.142 GB, free: 7.359 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/9.815, allocations: 0.7804 MB / 3.143 GB, free: 6.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5764/10.39, allocations: 7.516 MB / 3.15 GB, free: 77.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007848/10.39, allocations: 412.2 kB / 3.151 GB, free: 77.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002955/10.4, allocations: 0.5384 MB / 3.151 GB, free: 77.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/10.42, allocations: 7.501 MB / 3.159 GB, free: 76.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/10.42, allocations: 20.08 kB / 3.159 GB, free: 76.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007623/10.42, allocations: 232.4 kB / 3.159 GB, free: 76.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002674/10.42, allocations: 221.8 kB / 3.159 GB, free: 76.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/10.43, allocations: 5.972 MB / 3.165 GB, free: 76.2 MB / 0.698 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.05888/10.49, allocations: 29.69 MB / 3.194 GB, free: 64.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006663/10.5, allocations: 3.577 MB / 3.197 GB, free: 64.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/10.5, allocations: 0.8287 MB / 3.198 GB, free: 63.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.379e-05/10.5, allocations: 78.19 kB / 3.198 GB, free: 63.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 8.055e-06/10.5, allocations: 0 / 3.198 GB, free: 63.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.01318/10.51, allocations: 5.746 MB / 3.204 GB, free: 62.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/10.51, allocations: 80.73 kB / 3.204 GB, free: 62.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01363/10.53, allocations: 4.893 MB / 3.209 GB, free: 62.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001242/10.53, allocations: 83.27 kB / 3.209 GB, free: 62.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00458/10.53, allocations: 2.842 MB / 3.212 GB, free: 61.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002228/10.54, allocations: 0.9373 MB / 3.212 GB, free: 60.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008048/10.54, allocations: 72.19 kB / 3.213 GB, free: 60.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000467/10.54, allocations: 463.1 kB / 3.213 GB, free: 60.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00343/10.54, allocations: 1.657 MB / 3.215 GB, free: 60.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004486/10.55, allocations: 2.918 MB / 3.217 GB, free: 59.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/10.55, allocations: 2.272 MB / 3.22 GB, free: 59.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.994e-05/10.55, allocations: 10.91 kB / 3.22 GB, free: 59.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01189/10.56, allocations: 5.408 MB / 3.225 GB, free: 58.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/10.56, allocations: 29.14 kB / 3.225 GB, free: 58.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.155e-05/10.56, allocations: 41.75 kB / 3.225 GB, free: 58.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/10.56, allocations: 420.3 kB / 3.225 GB, free: 58.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/10.57, allocations: 0.8568 MB / 3.226 GB, free: 58.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00559/10.57, allocations: 5.413 MB / 3.232 GB, free: 55.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006457/10.58, allocations: 0.6734 MB / 3.232 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006532/10.58, allocations: 177 kB / 3.232 GB, free: 55.66 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 () * 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.006024/10.59, allocations: 2.288 MB / 3.235 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002566/10.59, allocations: 487.5 kB / 3.235 GB, free: 55.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009242/10.6, allocations: 4.172 MB / 3.239 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/10.6, allocations: 31.34 kB / 3.239 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/10.6, allocations: 3.75 kB / 3.239 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005496/10.6, allocations: 3.609 MB / 3.243 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02709/10.63, allocations: 10.05 MB / 3.252 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/10.63, allocations: 4.156 kB / 3.253 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/10.63, allocations: 0.4987 MB / 3.253 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009008/10.63, allocations: 364.5 kB / 3.253 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004716/10.63, allocations: 76.84 kB / 3.253 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005237/10.64, allocations: 5.351 MB / 3.259 GB, free: 51.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/10.64, allocations: 8 kB / 3.259 GB, free: 51.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/10.65, allocations: 6.888 MB / 3.265 GB, free: 49.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005256/10.66, allocations: 1.214 MB / 3.267 GB, free: 49.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002395/10.66, allocations: 67.31 kB / 3.267 GB, free: 49.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005874/10.67, allocations: 306.2 kB / 3.267 GB, free: 49.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/10.67, allocations: 177.8 kB / 3.267 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006846/10.67, allocations: 129.1 kB / 3.267 GB, free: 49.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01002/10.68, allocations: 3.98 MB / 3.271 GB, free: 48.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.11e-07/10.68, allocations: 0 / 3.271 GB, free: 48.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01044/10.69, allocations: 1.853 MB / 3.273 GB, free: 48.7 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 () * 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.0165/10.7, allocations: 8.909 MB / 3.282 GB, free: 45.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008458/10.71, allocations: 4.251 MB / 3.286 GB, free: 45.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.068e-05/10.71, allocations: 5.938 kB / 3.286 GB, free: 45.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00372/10.72, allocations: 2.035 MB / 3.288 GB, free: 45.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01768/10.73, allocations: 3.24 MB / 3.291 GB, free: 45.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1424/10.88, allocations: 73.49 MB / 3.363 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005133/10.88, allocations: 4.414 MB / 3.367 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.008383/10.89, allocations: 1.893 MB / 3.369 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005479/10.9, allocations: 2.46 MB / 3.371 GB, free: 19.87 MB / 0.7292 GB Notification: Performance of SimCode: time 2.244e-06/10.9, allocations: 0 / 3.371 GB, free: 19.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8024/11.7, allocations: 165.7 MB / 3.533 GB, free: 95.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/11.7, allocations: 236.9 kB / 3.533 GB, free: 95.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/19.39, allocations: 0 / 3.533 GB, free: 95.14 MB / 0.7292 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)