Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.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: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007084/0.007084, allocations: 169.5 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.7768/0.7768, allocations: 135.2 MB / 151.1 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.519/1.519, allocations: 223.2 MB / 406.9 MB, free: 3.211 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.0009799/0.0009799, allocations: 99.88 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004259, allocations: 8 kB / 0.5691 GB, free: 14.19 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.549, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.911/1.46, allocations: 381.1 MB / 1.022 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/1.46, allocations: 98.38 kB / 1.022 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.642/10.1, allocations: 2.232 GB / 3.254 GB, free: 77.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.806e-06/10.1, allocations: 0 / 3.254 GB, free: 77.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001243/10.1, allocations: 200.2 kB / 3.254 GB, free: 77.77 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02751/10.13, allocations: 7.284 MB / 3.261 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/10.13, allocations: 9.062 kB / 3.261 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005767/10.14, allocations: 0.8538 MB / 3.262 GB, free: 74.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02295/10.16, allocations: 7.955 MB / 3.27 GB, free: 74.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006108/10.16, allocations: 455.2 kB / 3.27 GB, free: 73.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002934/10.16, allocations: 0.5972 MB / 3.271 GB, free: 73.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/10.19, allocations: 8.448 MB / 3.279 GB, free: 73.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000466/10.19, allocations: 22.17 kB / 3.279 GB, free: 73.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002694/10.19, allocations: 261.6 kB / 3.279 GB, free: 73.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00038/10.19, allocations: 252 kB / 3.28 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/10.21, allocations: 6.894 MB / 3.286 GB, free: 72.96 MB / 0.7136 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.06306/10.27, allocations: 34.23 MB / 3.32 GB, free: 58.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007675/10.28, allocations: 4.268 MB / 3.324 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/10.28, allocations: 0.9566 MB / 3.325 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004988/10.28, allocations: 2.358 MB / 3.327 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004464/10.29, allocations: 481.7 kB / 3.328 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=317): time 1.866e-05/10.29, allocations: 1 kB / 3.328 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=317): time 0.01522/10.3, allocations: 7.078 MB / 3.335 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/10.3, allocations: 85.38 kB / 3.335 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/10.32, allocations: 5.272 MB / 3.34 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001249/10.32, allocations: 88.89 kB / 3.34 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.005016/10.32, allocations: 3.185 MB / 3.343 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002142/10.33, allocations: 1.112 MB / 3.344 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009231/10.33, allocations: 87.91 kB / 3.344 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0005626/10.33, allocations: 499.6 kB / 3.345 GB, free: 53.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/10.33, allocations: 2.125 MB / 3.347 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005105/10.34, allocations: 3.665 MB / 3.35 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005137/10.34, allocations: 2.885 MB / 3.353 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-05/10.34, allocations: 15.25 kB / 3.353 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01447/10.36, allocations: 6.706 MB / 3.36 GB, free: 51.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/10.36, allocations: 56.83 kB / 3.36 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/10.36, allocations: 48.69 kB / 3.36 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/10.36, allocations: 444.7 kB / 3.36 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004538/10.36, allocations: 1.032 MB / 3.361 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/10.37, allocations: 5.4 MB / 3.366 GB, free: 47.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007419/10.38, allocations: 480.9 kB / 3.367 GB, free: 47.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/10.38, allocations: 222.1 kB / 3.367 GB, free: 47.65 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.006978/10.38, allocations: 2.481 MB / 3.37 GB, free: 46.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002365/10.39, allocations: 0.5275 MB / 3.37 GB, free: 46.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/10.4, allocations: 5.226 MB / 3.375 GB, free: 44.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/10.4, allocations: 30.91 kB / 3.375 GB, free: 44.35 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.402e-05/10.4, allocations: 3.906 kB / 3.375 GB, free: 44.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006844/10.4, allocations: 4.495 MB / 3.38 GB, free: 42.49 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.02822/10.43, allocations: 11.84 MB / 3.391 GB, free: 37.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/10.43, allocations: 0 / 3.391 GB, free: 37.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/10.44, allocations: 0.6187 MB / 3.392 GB, free: 37.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00081/10.44, allocations: 360.3 kB / 3.392 GB, free: 37.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004269/10.44, allocations: 87.08 kB / 3.392 GB, free: 37.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004455/10.44, allocations: 5.318 MB / 3.397 GB, free: 33.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/10.44, allocations: 3.938 kB / 3.397 GB, free: 33.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/10.45, allocations: 7.746 MB / 3.405 GB, free: 30.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004442/10.46, allocations: 1.263 MB / 3.406 GB, free: 29.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002051/10.46, allocations: 65.47 kB / 3.406 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005237/10.47, allocations: 419.8 kB / 3.407 GB, free: 29.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005278/10.47, allocations: 197.4 kB / 3.407 GB, free: 29.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005256/10.47, allocations: 135.2 kB / 3.407 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.007674/10.47, allocations: 4.111 MB / 3.411 GB, free: 27.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/10.47, allocations: 0 / 3.411 GB, free: 27.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009657/10.48, allocations: 2.053 MB / 3.413 GB, free: 25.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.002807/10.49, allocations: 0.8365 MB / 3.414 GB, free: 24.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009921/10.5, allocations: 5.362 MB / 3.419 GB, free: 20.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/10.5, allocations: 4 kB / 3.419 GB, free: 20.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004349/10.5, allocations: 2.495 MB / 3.421 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01648/10.52, allocations: 3.166 MB / 3.425 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02979/10.55, allocations: 16.08 MB / 3.44 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008225/10.56, allocations: 4.767 MB / 3.445 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.009674/10.57, allocations: 2.145 MB / 3.447 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/10.57, allocations: 452.1 kB / 3.447 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/10.57, allocations: 4 kB / 3.447 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of Templates: time 0.6779/11.25, allocations: 117.5 MB / 3.562 GB, free: 76.55 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)