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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9861/0.9861, allocations: 135.2 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 68.33 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1797, allocations: 80.93 MB / 0.5839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3752/0.555, allocations: 55.51 MB / 0.6381 GB, free: 21.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02148/0.5765, allocations: 17.77 MB / 0.6555 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004408/0.581, allocations: 68.47 kB / 0.6556 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003506/0.5845, allocations: 0.7644 MB / 0.6563 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008393/0.593, allocations: 2.322 MB / 0.6586 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004761/0.5978, allocations: 1.384 MB / 0.6599 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02662/0.6244, allocations: 21.31 MB / 0.6807 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01632/0.6408, allocations: 10.61 MB / 0.6911 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01835/0.6592, allocations: 7.239 MB / 0.6982 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01486/0.6741, allocations: 6.568 MB / 0.7046 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.004155/0.6783, allocations: 0.9258 MB / 0.7055 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00981/0.6881, allocations: 1.705 MB / 0.7071 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005057/0.6932, allocations: 2.33 MB / 0.7094 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01347/0.7067, allocations: 4.685 MB / 0.714 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01877/0.7255, allocations: 13.02 MB / 0.7267 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7255, allocations: 0 / 0.7267 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7255, allocations: 0 / 0.7267 GB, free: 11.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004671/0.726, allocations: 0 / 0.7267 GB, free: 11.18 MB / 0.545 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.0255/0.7515, allocations: 8.499 MB / 0.735 GB, free: 2.582 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.7516, allocations: 12.03 kB / 0.735 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004522/0.7561, allocations: 0.8548 MB / 0.7359 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0134/0.7695, allocations: 6.618 MB / 0.7423 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004376/0.77, allocations: 464.2 kB / 0.7428 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002133/0.7722, allocations: 0.5975 MB / 0.7433 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.7935, allocations: 9.019 MB / 0.7522 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003211/0.7939, allocations: 27.77 kB / 0.7522 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002143/0.796, allocations: 264 kB / 0.7524 GB, free: 360 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002195/0.7963, allocations: 175.9 kB / 0.7526 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02134/0.8176, allocations: 7.449 MB / 0.7599 GB, free: 8.719 MB / 0.5762 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.06048/0.8781, allocations: 35.9 MB / 0.7949 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007421/0.8856, allocations: 4.284 MB / 0.7991 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005446/0.8911, allocations: 3.316 MB / 0.8024 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.8926, allocations: 0.9505 MB / 0.8033 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00492/0.8975, allocations: 2.394 MB / 0.8056 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003254/0.9008, allocations: 407.9 kB / 0.806 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=317): time 1.064e-05/0.9008, allocations: 0 / 0.806 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317): time 0.01487/0.9157, allocations: 7.14 MB / 0.813 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.9158, allocations: 85.91 kB / 0.8131 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/0.9261, allocations: 5.459 MB / 0.8184 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008572/0.927, allocations: 89.7 kB / 0.8185 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003573/0.9306, allocations: 3.188 MB / 0.8216 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001844/0.9324, allocations: 1.121 MB / 0.8227 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002495/0.935, allocations: 0.8619 MB / 0.8235 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9351, allocations: 309.1 kB / 0.8238 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00391/0.939, allocations: 2.163 MB / 0.8259 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005131/0.9441, allocations: 3.689 MB / 0.8295 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009249/0.9534, allocations: 6.323 MB / 0.8357 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.547e-05/0.9535, allocations: 16 kB / 0.8357 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01651/0.97, allocations: 6.768 MB / 0.8423 GB, free: 356 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/0.9701, allocations: 57.7 kB / 0.8424 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.118e-05/0.9702, allocations: 51.98 kB / 0.8424 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.9714, allocations: 435.8 kB / 0.8429 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/0.9756, allocations: 1.002 MB / 0.8438 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/0.9821, allocations: 5.706 MB / 0.8494 GB, free: 8.816 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006665/0.9888, allocations: 462.8 kB / 0.8499 GB, free: 8.363 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/0.9901, allocations: 220 kB / 0.8501 GB, free: 8.148 MB / 0.67 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006466/0.9965, allocations: 2.483 MB / 0.8525 GB, free: 5.656 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002509/0.9991, allocations: 0.5249 MB / 0.853 GB, free: 5.125 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6127/1.612, allocations: 5.268 MB / 0.8581 GB, free: 200.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.404e-05/1.612, allocations: 31.64 kB / 0.8582 GB, free: 200.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.612, allocations: 6.031 kB / 0.8582 GB, free: 200.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006478/1.618, allocations: 4.534 MB / 0.8626 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/1.638, allocations: 11.95 MB / 0.8743 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.638, allocations: 3.734 kB / 0.8743 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/1.641, allocations: 0.6469 MB / 0.8749 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008061/1.641, allocations: 369.8 kB / 0.8753 GB, free: 195.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/1.642, allocations: 80.61 kB / 0.8753 GB, free: 195 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004356/1.646, allocations: 5.617 MB / 0.8808 GB, free: 190.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/1.646, allocations: 6.531 kB / 0.8808 GB, free: 190.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.657, allocations: 7.753 MB / 0.8884 GB, free: 188.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003962/1.661, allocations: 1.139 MB / 0.8895 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/1.663, allocations: 68.98 kB / 0.8896 GB, free: 187.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005026/1.668, allocations: 458.7 kB / 0.89 GB, free: 187.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004596/1.669, allocations: 203.2 kB / 0.8902 GB, free: 187.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003437/1.669, allocations: 136.4 kB / 0.8903 GB, free: 187.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007782/1.677, allocations: 3.812 MB / 0.8941 GB, free: 186.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.773e-06/1.677, allocations: 0 / 0.8941 GB, free: 186.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008865/1.686, allocations: 1.997 MB / 0.896 GB, free: 186.1 MB / 0.67 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/1.687, allocations: 493.5 kB / 0.8965 GB, free: 185.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02514/1.712, allocations: 11.63 MB / 0.9078 GB, free: 183.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.712, allocations: 3.625 kB / 0.9078 GB, free: 183.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005051/1.717, allocations: 2.545 MB / 0.9103 GB, free: 182.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02071/1.738, allocations: 3.397 MB / 0.9137 GB, free: 182 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02992/1.768, allocations: 16.59 MB / 0.9299 GB, free: 173.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007039/1.775, allocations: 4.624 MB / 0.9344 GB, free: 171.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00897/1.784, allocations: 2.034 MB / 0.9364 GB, free: 170.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/1.787, allocations: 466 kB / 0.9368 GB, free: 170.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.182e-06/1.787, allocations: 0 / 0.9368 GB, free: 170.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1615/1.948, allocations: 119.7 MB / 1.054 GB, free: 53.8 MB / 0.67 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)