Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001478/0.001478, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.833/0.833, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.803/1.803, allocations: 221.3 MB / 396.8 MB, free: 9.191 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.0009133/0.0009135, allocations: 101.2 kB / 479 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.141e-05/4.144e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2052, allocations: 81.59 MB / 0.6348 GB, free: 12.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.625/1.83, allocations: 380.8 MB / 1.007 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.831, allocations: 87.39 kB / 1.007 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.198/11.03, allocations: 2.227 GB / 3.233 GB, free: 70.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/11.03, allocations: 0 / 3.233 GB, free: 70.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001121/11.03, allocations: 201.4 kB / 3.234 GB, free: 70.19 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02265/11.05, allocations: 6.144 MB / 3.24 GB, free: 67.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/11.05, allocations: 11.62 kB / 3.24 GB, free: 67.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006302/11.06, allocations: 0.8577 MB / 3.24 GB, free: 67.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02031/11.08, allocations: 7.922 MB / 3.248 GB, free: 64.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005227/11.08, allocations: 455.5 kB / 3.249 GB, free: 64.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/11.08, allocations: 0.593 MB / 3.249 GB, free: 64.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/11.11, allocations: 8.324 MB / 3.257 GB, free: 60.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/11.11, allocations: 19.25 kB / 3.257 GB, free: 60.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001558/11.11, allocations: 265 kB / 3.258 GB, free: 60.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002708/11.11, allocations: 251.1 kB / 3.258 GB, free: 60.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/11.12, allocations: 6.72 MB / 3.264 GB, free: 58.02 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.06123/11.19, allocations: 34.23 MB / 3.298 GB, free: 25.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007411/11.19, allocations: 4.173 MB / 3.302 GB, free: 21.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005482/11.2, allocations: 3.456 MB / 3.305 GB, free: 18.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/11.2, allocations: 0.9585 MB / 3.306 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004888/11.2, allocations: 2.29 MB / 3.308 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004645/11.21, allocations: 483.4 kB / 3.309 GB, free: 14.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 2.38e-05/11.21, allocations: 0 / 3.309 GB, free: 14.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.01081/11.22, allocations: 4.527 MB / 3.313 GB, free: 9.781 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/11.22, allocations: 89.86 kB / 3.313 GB, free: 9.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01218/11.23, allocations: 5.218 MB / 3.319 GB, free: 4.484 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/11.23, allocations: 89.7 kB / 3.319 GB, free: 4.391 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004627/11.24, allocations: 3.187 MB / 3.322 GB, free: 1.188 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002114/11.24, allocations: 1.116 MB / 3.323 GB, free: 84 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000927/11.24, allocations: 92.05 kB / 3.323 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0006433/11.24, allocations: 494.3 kB / 3.323 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004393/11.25, allocations: 2.051 MB / 3.325 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005722/11.25, allocations: 3.583 MB / 3.329 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005546/11.26, allocations: 2.823 MB / 3.332 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.363e-05/11.26, allocations: 16 kB / 3.332 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.5991/11.86, allocations: 6.536 MB / 3.338 GB, free: 88.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.892e-05/11.86, allocations: 57.73 kB / 3.338 GB, free: 88.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/11.86, allocations: 48.25 kB / 3.338 GB, free: 88.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/11.86, allocations: 436 kB / 3.339 GB, free: 88.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005077/11.86, allocations: 1.037 MB / 3.34 GB, free: 88.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006054/11.87, allocations: 5.291 MB / 3.345 GB, free: 85.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007357/11.88, allocations: 480.7 kB / 3.345 GB, free: 85.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/11.88, allocations: 220.5 kB / 3.345 GB, free: 85.61 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 () * 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.001153/11.88, allocations: 393.5 kB / 3.346 GB, free: 85.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001975/11.88, allocations: 0.5229 MB / 3.346 GB, free: 85.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009367/11.89, allocations: 5.087 MB / 3.351 GB, free: 85.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/11.89, allocations: 40.44 kB / 3.351 GB, free: 85.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/11.89, allocations: 4.281 kB / 3.351 GB, free: 85.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006264/11.9, allocations: 4.356 MB / 3.356 GB, free: 84.83 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 postOpt removeSimpleEquations (simulation): time 0.02887/11.93, allocations: 11.84 MB / 3.367 GB, free: 84.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/11.93, allocations: 1 kB / 3.367 GB, free: 84.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/11.93, allocations: 0.626 MB / 3.368 GB, free: 84.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008344/11.93, allocations: 368.9 kB / 3.368 GB, free: 84.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002792/11.93, allocations: 84.7 kB / 3.368 GB, free: 84.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004608/11.93, allocations: 5.201 MB / 3.373 GB, free: 81.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/11.93, allocations: 3.969 kB / 3.373 GB, free: 81.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/11.94, allocations: 7.537 MB / 3.381 GB, free: 80.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004684/11.95, allocations: 1.262 MB / 3.382 GB, free: 80.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001696/11.95, allocations: 69.81 kB / 3.382 GB, free: 80.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004835/11.96, allocations: 411.8 kB / 3.382 GB, free: 80.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004509/11.96, allocations: 194.6 kB / 3.382 GB, free: 80.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003889/11.96, allocations: 144.2 kB / 3.383 GB, free: 80.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00702/11.96, allocations: 4.051 MB / 3.387 GB, free: 80.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.01e-07/11.96, allocations: 3.297 kB / 3.387 GB, free: 80.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009636/11.97, allocations: 2.058 MB / 3.389 GB, free: 79.94 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) * 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.002393/11.98, allocations: 0.8242 MB / 3.389 GB, free: 79.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007907/11.98, allocations: 5.199 MB / 3.394 GB, free: 79.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/11.98, allocations: 4.188 kB / 3.394 GB, free: 79.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/11.99, allocations: 2.433 MB / 3.397 GB, free: 79.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01774/12.01, allocations: 3.171 MB / 3.4 GB, free: 79.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/12.04, allocations: 11.68 MB / 3.411 GB, free: 77.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005446/12.04, allocations: 4.752 MB / 3.416 GB, free: 76.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.009368/12.05, allocations: 2.097 MB / 3.418 GB, free: 76.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003118/12.05, allocations: 469.3 kB / 3.418 GB, free: 76.14 MB / 0.7136 GB Notification: Performance of SimCode: time 2.575e-06/12.05, allocations: 0 / 3.418 GB, free: 76.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.2014/12.25, allocations: 119.4 MB / 3.535 GB, free: 44.99 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)