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.001664/0.001664, allocations: 174.1 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9081/0.9081, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.721/1.721, allocations: 221.3 MB / 400.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 91.47 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.613e-05/6.614e-05, allocations: 2.656 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2369, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.649/1.886, allocations: 378.5 MB / 1.01 GB, free: 243.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/1.886, allocations: 86.89 kB / 1.01 GB, free: 243.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.221/11.11, allocations: 2.11 GB / 3.121 GB, free: 93.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.843e-06/11.11, allocations: 0 / 3.121 GB, free: 93.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001494/11.11, allocations: 172.4 kB / 3.121 GB, free: 93.86 MB / 0.7136 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.02514/11.13, allocations: 5.535 MB / 3.126 GB, free: 92.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/11.13, allocations: 11.25 kB / 3.126 GB, free: 92.02 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004158/11.14, allocations: 0.7558 MB / 3.127 GB, free: 91.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005875/11.14, allocations: 0.7791 MB / 3.128 GB, free: 91.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02144/11.17, allocations: 7.488 MB / 3.135 GB, free: 90.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000723/11.17, allocations: 415.2 kB / 3.135 GB, free: 90.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00353/11.17, allocations: 0.5382 MB / 3.136 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02877/11.2, allocations: 7.405 MB / 3.143 GB, free: 90 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006646/11.2, allocations: 15.27 kB / 3.143 GB, free: 90 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003381/11.2, allocations: 234 kB / 3.143 GB, free: 90 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003542/11.2, allocations: 221.1 kB / 3.144 GB, free: 89.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/11.22, allocations: 5.853 MB / 3.149 GB, free: 89.95 MB / 0.7136 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.05824/11.28, allocations: 29.71 MB / 3.178 GB, free: 77.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006497/11.29, allocations: 3.531 MB / 3.182 GB, free: 77.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004898/11.29, allocations: 2.976 MB / 3.185 GB, free: 77.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/11.29, allocations: 0.8358 MB / 3.186 GB, free: 76.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.243e-05/11.29, allocations: 71.14 kB / 3.186 GB, free: 76.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=267): time 6.382e-06/11.29, allocations: 0 / 3.186 GB, free: 76.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=267): time 0.008762/11.3, allocations: 3.654 MB / 3.189 GB, free: 75.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/11.3, allocations: 83.42 kB / 3.189 GB, free: 75.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/11.31, allocations: 4.838 MB / 3.194 GB, free: 75.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/11.31, allocations: 80.58 kB / 3.194 GB, free: 75.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003942/11.32, allocations: 2.845 MB / 3.197 GB, free: 74.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001973/11.32, allocations: 0.9444 MB / 3.198 GB, free: 73.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007465/11.32, allocations: 75.34 kB / 3.198 GB, free: 73.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004774/11.32, allocations: 463.1 kB / 3.198 GB, free: 73.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003486/11.32, allocations: 1.603 MB / 3.2 GB, free: 73.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004134/11.33, allocations: 2.869 MB / 3.203 GB, free: 71.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004412/11.33, allocations: 2.24 MB / 3.205 GB, free: 71.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-05/11.33, allocations: 14.72 kB / 3.205 GB, free: 71.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0156/11.35, allocations: 5.292 MB / 3.21 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.095e-05/11.35, allocations: 24.09 kB / 3.21 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.977e-05/11.35, allocations: 37.09 kB / 3.21 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/11.35, allocations: 422.4 kB / 3.21 GB, free: 71.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/11.35, allocations: 0.8578 MB / 3.211 GB, free: 71.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/11.36, allocations: 5.299 MB / 3.216 GB, free: 68.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007113/11.37, allocations: 0.6796 MB / 3.217 GB, free: 68.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009721/11.37, allocations: 179.2 kB / 3.217 GB, free: 68.45 MB / 0.7136 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.001852/11.37, allocations: 343.7 kB / 3.218 GB, free: 68.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002414/11.37, allocations: 485.6 kB / 3.218 GB, free: 68.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009458/11.38, allocations: 4.068 MB / 3.222 GB, free: 67.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/11.38, allocations: 26.97 kB / 3.222 GB, free: 67.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/11.38, allocations: 7.062 kB / 3.222 GB, free: 67.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00534/11.39, allocations: 3.533 MB / 3.226 GB, free: 67.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02724/11.41, allocations: 10.21 MB / 3.235 GB, free: 66.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/11.41, allocations: 3.656 kB / 3.235 GB, free: 66.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/11.42, allocations: 0.4998 MB / 3.236 GB, free: 66.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/11.42, allocations: 371 kB / 3.236 GB, free: 66.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004757/11.42, allocations: 74.61 kB / 3.236 GB, free: 66.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006609/11.42, allocations: 5.241 MB / 3.242 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/11.42, allocations: 14.5 kB / 3.242 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/11.44, allocations: 6.767 MB / 3.248 GB, free: 60.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004701/11.44, allocations: 1.211 MB / 3.249 GB, free: 60.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002534/11.44, allocations: 63.12 kB / 3.249 GB, free: 60 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00562/11.45, allocations: 303 kB / 3.25 GB, free: 59.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004729/11.45, allocations: 173.3 kB / 3.25 GB, free: 59.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005487/11.45, allocations: 132.1 kB / 3.25 GB, free: 59.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.009418/11.46, allocations: 3.937 MB / 3.254 GB, free: 58.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.32e-07/11.46, allocations: 0 / 3.254 GB, free: 58.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009758/11.47, allocations: 1.852 MB / 3.256 GB, free: 58.1 MB / 0.7136 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.016/11.49, allocations: 8.767 MB / 3.264 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006845/11.49, allocations: 4.151 MB / 3.268 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/11.49, allocations: 3.562 kB / 3.268 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002939/11.5, allocations: 1.986 MB / 3.27 GB, free: 51.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01829/11.52, allocations: 3.234 MB / 3.273 GB, free: 50.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03568/11.55, allocations: 12.53 MB / 3.286 GB, free: 46.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00654/11.56, allocations: 4.422 MB / 3.29 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.008677/11.57, allocations: 1.854 MB / 3.292 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005445/11.57, allocations: 2.467 MB / 3.294 GB, free: 39.95 MB / 0.7136 GB Notification: Performance of SimCode: time 1.583e-06/11.57, allocations: 0.6562 kB / 3.294 GB, free: 39.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8433/12.41, allocations: 166.2 MB / 3.456 GB, free: 65.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/12.42, allocations: 205 kB / 3.457 GB, free: 65.58 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/19.89, allocations: 1.594 kB / 3.457 GB, free: 65.58 MB / 0.7136 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)