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.001265/0.001265, allocations: 169 kB / 7.642 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7532/0.7532, allocations: 130.7 MB / 138.7 MB, free: 3.59 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.597/1.597, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.0009635/0.0009634, allocations: 95.73 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.928e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6093, allocations: 81.57 MB / 0.6282 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9914/1.601, allocations: 380.2 MB / 0.9994 GB, free: 12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/1.601, allocations: 89.88 kB / 0.9995 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.934/11.54, allocations: 2.216 GB / 3.215 GB, free: 77.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.015e-06/11.54, allocations: 2.094 kB / 3.215 GB, free: 77.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001682/11.54, allocations: 198.4 kB / 3.215 GB, free: 76.98 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.02887/11.57, allocations: 6.142 MB / 3.221 GB, free: 74.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/11.57, allocations: 11.44 kB / 3.221 GB, free: 74.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007452/11.57, allocations: 0.8514 MB / 3.222 GB, free: 74.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02508/11.6, allocations: 7.921 MB / 3.23 GB, free: 73.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006028/11.6, allocations: 195.7 kB / 3.23 GB, free: 73.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004254/11.6, allocations: 354.2 kB / 3.23 GB, free: 73.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02153/11.63, allocations: 6.316 MB / 3.237 GB, free: 73.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03384/11.66, allocations: 7.44 MB / 3.244 GB, free: 72.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005776/11.66, allocations: 34.92 kB / 3.244 GB, free: 72.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003407/11.66, allocations: 7.781 kB / 3.244 GB, free: 72.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003594/11.66, allocations: 242.8 kB / 3.244 GB, free: 72.59 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.07157/11.73, allocations: 33.05 MB / 3.276 GB, free: 57.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007773/11.74, allocations: 4.018 MB / 3.28 GB, free: 57.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005256/11.75, allocations: 3.09 MB / 3.283 GB, free: 57.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/11.75, allocations: 0.9544 MB / 3.284 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00481/11.75, allocations: 2.183 MB / 3.286 GB, free: 56.85 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004369/11.76, allocations: 357.8 kB / 3.287 GB, free: 56.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 1.573e-05/11.76, allocations: 0 / 3.287 GB, free: 56.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.01186/11.77, allocations: 4.543 MB / 3.291 GB, free: 56.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/11.77, allocations: 86.41 kB / 3.291 GB, free: 56.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/11.78, allocations: 4.31 MB / 3.295 GB, free: 55.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001148/11.78, allocations: 30.8 kB / 3.295 GB, free: 55.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004448/11.79, allocations: 3.171 MB / 3.299 GB, free: 54.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002159/11.79, allocations: 1.077 MB / 3.3 GB, free: 53.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008864/11.79, allocations: 0 / 3.3 GB, free: 53.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0005522/11.79, allocations: 490.9 kB / 3.3 GB, free: 53.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003774/11.8, allocations: 1.965 MB / 3.302 GB, free: 53.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/11.8, allocations: 3.469 MB / 3.305 GB, free: 51.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006891/11.81, allocations: 2.948 MB / 3.308 GB, free: 50.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/11.81, allocations: 12.84 kB / 3.308 GB, free: 50.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01666/11.82, allocations: 6.236 MB / 3.314 GB, free: 48.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/11.82, allocations: 56.5 kB / 3.314 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/11.82, allocations: 46.53 kB / 3.314 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/11.83, allocations: 431.9 kB / 3.315 GB, free: 48.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/11.83, allocations: 1.035 MB / 3.316 GB, free: 48.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005611/11.84, allocations: 5.135 MB / 3.321 GB, free: 44.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009572/11.85, allocations: 382.9 kB / 3.321 GB, free: 44.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/11.85, allocations: 217.9 kB / 3.321 GB, free: 44.4 MB / 0.698 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.002793/11.85, allocations: 250.8 kB / 3.322 GB, free: 44.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002704/11.85, allocations: 484.9 kB / 3.322 GB, free: 43.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/11.87, allocations: 5.004 MB / 3.327 GB, free: 42.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.892e-05/11.87, allocations: 36.61 kB / 3.327 GB, free: 42.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/11.87, allocations: 6.719 kB / 3.327 GB, free: 42.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008352/11.87, allocations: 4.419 MB / 3.331 GB, free: 40.45 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 postOpt removeSimpleEquations (simulation): time 0.03136/11.91, allocations: 11.13 MB / 3.342 GB, free: 36.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/11.91, allocations: 0 / 3.342 GB, free: 36.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/11.91, allocations: 0.6279 MB / 3.343 GB, free: 36.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000866/11.91, allocations: 363.4 kB / 3.343 GB, free: 36.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006415/11.91, allocations: 47.27 kB / 3.343 GB, free: 36.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/11.92, allocations: 5.036 MB / 3.348 GB, free: 32.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/11.92, allocations: 3.938 kB / 3.348 GB, free: 32.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/11.93, allocations: 7.44 MB / 3.355 GB, free: 26.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00481/11.93, allocations: 1.199 MB / 3.357 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002367/11.94, allocations: 15.94 kB / 3.357 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005757/11.94, allocations: 354.1 kB / 3.357 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000664/11.94, allocations: 206.8 kB / 3.357 GB, free: 24.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006909/11.94, allocations: 142.5 kB / 3.357 GB, free: 24.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.007622/11.95, allocations: 3.273 MB / 3.361 GB, free: 22.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.613e-06/11.95, allocations: 0 / 3.361 GB, free: 22.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01191/11.96, allocations: 2.022 MB / 3.363 GB, free: 20.05 MB / 0.698 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.003016/11.97, allocations: 0.7945 MB / 3.363 GB, free: 19.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009198/11.98, allocations: 4.948 MB / 3.368 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/11.98, allocations: 4 kB / 3.368 GB, free: 14.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004069/11.98, allocations: 2.336 MB / 3.37 GB, free: 12.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01514/11.99, allocations: 2.489 MB / 3.373 GB, free: 11.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/12.02, allocations: 11.32 MB / 3.384 GB, free: 1.227 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009955/12.03, allocations: 4.781 MB / 3.389 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01025/12.04, allocations: 1.892 MB / 3.39 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002834/12.05, allocations: 437 kB / 3.391 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of SimCode: time 9.11e-07/12.05, allocations: 3 kB / 3.391 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.7318/12.78, allocations: 93.26 MB / 3.482 GB, free: 78.67 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)