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.0009782/0.0009781, allocations: 174.8 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-master/package.mo): time 0.7206/0.7206, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.636/1.636, allocations: 221.3 MB / 400.4 MB, free: 5.777 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.001017/0.001017, allocations: 87.33 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.357e-05/4.359e-05, allocations: 2.812 kB / 0.56 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2, allocations: 82.3 MB / 0.6404 GB, free: 7.828 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.641/1.841, allocations: 381.1 MB / 1.013 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.841, allocations: 86.27 kB / 1.013 GB, free: 241 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.376/11.22, allocations: 2.227 GB / 3.239 GB, free: 83.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.505e-06/11.22, allocations: 2.781 kB / 3.239 GB, free: 83.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00172/11.22, allocations: 200.2 kB / 3.24 GB, free: 83.45 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.02652/11.25, allocations: 6.151 MB / 3.246 GB, free: 81.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/11.25, allocations: 11 kB / 3.246 GB, free: 81.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006341/11.25, allocations: 0.8455 MB / 3.246 GB, free: 80.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/11.27, allocations: 7.925 MB / 3.254 GB, free: 79.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005518/11.27, allocations: 457.8 kB / 3.255 GB, free: 79.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00351/11.28, allocations: 0.5959 MB / 3.255 GB, free: 79.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02464/11.3, allocations: 8.333 MB / 3.263 GB, free: 78.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002475/11.3, allocations: 19.34 kB / 3.263 GB, free: 78.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/11.3, allocations: 262.6 kB / 3.264 GB, free: 78.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002431/11.3, allocations: 240.2 kB / 3.264 GB, free: 78.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/11.32, allocations: 6.724 MB / 3.27 GB, free: 76.89 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.05785/11.38, allocations: 34.23 MB / 3.304 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006753/11.38, allocations: 4.175 MB / 3.308 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005071/11.39, allocations: 3.457 MB / 3.311 GB, free: 52.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/11.39, allocations: 0.9551 MB / 3.312 GB, free: 51.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004097/11.39, allocations: 2.293 MB / 3.314 GB, free: 50.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004948/11.4, allocations: 494 kB / 3.315 GB, free: 50.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=317): time 1.925e-05/11.4, allocations: 0 / 3.315 GB, free: 50.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=317): time 0.00896/11.41, allocations: 4.523 MB / 3.319 GB, free: 48.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/11.41, allocations: 81.91 kB / 3.319 GB, free: 48.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/11.42, allocations: 5.221 MB / 3.324 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00146/11.42, allocations: 89.7 kB / 3.325 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003657/11.42, allocations: 3.183 MB / 3.328 GB, free: 40.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/11.43, allocations: 1.114 MB / 3.329 GB, free: 39.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/11.43, allocations: 92 kB / 3.329 GB, free: 39.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002625/11.43, allocations: 496 kB / 3.329 GB, free: 39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002806/11.43, allocations: 2.047 MB / 3.331 GB, free: 37.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/11.43, allocations: 3.579 MB / 3.335 GB, free: 33.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003682/11.44, allocations: 2.831 MB / 3.338 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.639e-05/11.44, allocations: 12 kB / 3.338 GB, free: 30.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0103/11.45, allocations: 6.547 MB / 3.344 GB, free: 24.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/11.45, allocations: 53.69 kB / 3.344 GB, free: 24.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-05/11.45, allocations: 48 kB / 3.344 GB, free: 24.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009306/11.45, allocations: 443.2 kB / 3.344 GB, free: 23.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/11.45, allocations: 1.037 MB / 3.345 GB, free: 22.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/11.46, allocations: 5.292 MB / 3.351 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00788/11.47, allocations: 482.7 kB / 3.351 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/11.47, allocations: 216 kB / 3.351 GB, free: 16.64 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.002063/11.47, allocations: 398.5 kB / 3.352 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/11.47, allocations: 0.5249 MB / 3.352 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008719/11.48, allocations: 5.086 MB / 3.357 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/11.48, allocations: 39.19 kB / 3.357 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/11.48, allocations: 4 kB / 3.357 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005276/11.48, allocations: 4.351 MB / 3.361 GB, free: 6.094 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.7338/12.22, allocations: 11.83 MB / 3.373 GB, free: 78.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/12.22, allocations: 0.6875 kB / 3.373 GB, free: 78.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/12.22, allocations: 0.6225 MB / 3.374 GB, free: 78.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/12.22, allocations: 368.9 kB / 3.374 GB, free: 78.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003914/12.22, allocations: 84.88 kB / 3.374 GB, free: 78.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00678/12.23, allocations: 5.195 MB / 3.379 GB, free: 76.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/12.23, allocations: 1.969 kB / 3.379 GB, free: 76.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/12.25, allocations: 7.538 MB / 3.386 GB, free: 75.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005819/12.25, allocations: 1.263 MB / 3.388 GB, free: 75.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002503/12.25, allocations: 71.16 kB / 3.388 GB, free: 75.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007212/12.26, allocations: 413.1 kB / 3.388 GB, free: 75.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007963/12.26, allocations: 201 kB / 3.388 GB, free: 75.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005815/12.26, allocations: 141.1 kB / 3.389 GB, free: 75.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01136/12.27, allocations: 4.047 MB / 3.392 GB, free: 75.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.41e-07/12.28, allocations: 2.781 kB / 3.392 GB, free: 75.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01347/12.29, allocations: 2.061 MB / 3.394 GB, free: 75.29 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.002836/12.29, allocations: 0.826 MB / 3.395 GB, free: 75.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009635/12.3, allocations: 5.198 MB / 3.4 GB, free: 74.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/12.3, allocations: 3.281 kB / 3.4 GB, free: 74.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004005/12.31, allocations: 2.429 MB / 3.403 GB, free: 74.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01923/12.32, allocations: 3.17 MB / 3.406 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/12.36, allocations: 11.68 MB / 3.417 GB, free: 72.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/12.37, allocations: 4.75 MB / 3.422 GB, free: 87.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0104/12.38, allocations: 2.098 MB / 3.424 GB, free: 87.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/12.38, allocations: 470.8 kB / 3.424 GB, free: 87.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.834e-06/12.38, allocations: 1.75 kB / 3.424 GB, free: 87.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.2148/12.59, allocations: 119.4 MB / 3.541 GB, free: 72.99 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)