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.001168/0.001169, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6996/0.6996, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.505/1.505, allocations: 222.9 MB / 403.4 MB, free: 7.109 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.001026/0.001026, allocations: 97.36 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 59.91 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1397, allocations: 80.2 MB / 0.6402 GB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3665/0.5062, allocations: 55.64 MB / 0.6945 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02189/0.5282, allocations: 17.9 MB / 0.712 GB, free: 11.41 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003112/0.5313, allocations: 70.03 kB / 0.712 GB, free: 11.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.5341, allocations: 0.7221 MB / 0.7127 GB, free: 11.4 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008065/0.5422, allocations: 2.32 MB / 0.715 GB, free: 11.3 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00429/0.5465, allocations: 1.384 MB / 0.7164 GB, free: 11.27 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0235/0.57, allocations: 27.9 MB / 0.7436 GB, free: 144 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.5814, allocations: 8.713 MB / 0.7521 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01105/0.5925, allocations: 5.593 MB / 0.7576 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0111/0.6036, allocations: 6.195 MB / 0.7636 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002277/0.6059, allocations: 472 kB / 0.7641 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00616/0.6121, allocations: 1.146 MB / 0.7652 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00304/0.6151, allocations: 1.802 MB / 0.767 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.009792/0.625, allocations: 4.121 MB / 0.771 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01674/0.6417, allocations: 12.65 MB / 0.7833 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.6418, allocations: 0 / 0.7833 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6418, allocations: 0 / 0.7833 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004268/0.6422, allocations: 0 / 0.7833 GB, free: 9.5 MB / 0.5261 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.02551/0.6677, allocations: 8.504 MB / 0.7916 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6678, allocations: 8.031 kB / 0.7916 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/0.6724, allocations: 0.8587 MB / 0.7925 GB, free: 92 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/0.6876, allocations: 6.618 MB / 0.7989 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005265/0.6882, allocations: 466.9 kB / 0.7994 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/0.6905, allocations: 0.5923 MB / 0.8 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/0.7126, allocations: 9.031 MB / 0.8088 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002956/0.713, allocations: 19.78 kB / 0.8088 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001961/0.7149, allocations: 260 kB / 0.8091 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/0.7152, allocations: 183.9 kB / 0.8092 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/0.7322, allocations: 7.445 MB / 0.8165 GB, free: 7.258 MB / 0.5573 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.05566/0.7879, allocations: 35.91 MB / 0.8516 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007186/0.7951, allocations: 4.274 MB / 0.8557 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005083/0.8002, allocations: 3.311 MB / 0.859 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.8015, allocations: 0.9565 MB / 0.8599 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004237/0.8058, allocations: 2.398 MB / 0.8623 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002737/0.8086, allocations: 442.3 kB / 0.8627 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=317): time 8.336e-06/0.8086, allocations: 4 kB / 0.8627 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317): time 0.01406/0.8227, allocations: 7.1 MB / 0.8696 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.8227, allocations: 85.91 kB / 0.8697 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/0.8329, allocations: 5.459 MB / 0.875 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0007515/0.8337, allocations: 89.7 kB / 0.8751 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003364/0.8371, allocations: 3.194 MB / 0.8782 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001636/0.8387, allocations: 1.116 MB / 0.8793 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/0.841, allocations: 0.858 MB / 0.8802 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.8411, allocations: 309.1 kB / 0.8805 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003696/0.8448, allocations: 2.152 MB / 0.8826 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004558/0.8494, allocations: 3.68 MB / 0.8861 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008401/0.8578, allocations: 6.303 MB / 0.8923 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-05/0.8579, allocations: 16 kB / 0.8923 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01236/0.8703, allocations: 6.752 MB / 0.8989 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/0.8704, allocations: 49.7 kB / 0.899 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.903e-05/0.8705, allocations: 55.94 kB / 0.899 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.8715, allocations: 435.2 kB / 0.8994 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003874/0.8754, allocations: 1.01 MB / 0.9004 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/0.881, allocations: 5.257 MB / 0.9055 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006174/0.8872, allocations: 466.8 kB / 0.906 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/0.8886, allocations: 216 kB / 0.9062 GB, free: 7.582 MB / 0.6511 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.005995/0.8946, allocations: 2.488 MB / 0.9086 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002151/0.8967, allocations: 0.5249 MB / 0.9091 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.9077, allocations: 5.243 MB / 0.9143 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/0.9078, allocations: 28 kB / 0.9143 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/0.9078, allocations: 11.94 kB / 0.9143 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007259/0.9151, allocations: 4.526 MB / 0.9187 GB, free: 10.58 MB / 0.6667 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.03042/0.9455, allocations: 11.95 MB / 0.9304 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.9456, allocations: 11.92 kB / 0.9304 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003088/0.9487, allocations: 0.636 MB / 0.931 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009445/0.9496, allocations: 387.5 kB / 0.9314 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00047/0.9501, allocations: 83.95 kB / 0.9315 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005709/0.9559, allocations: 5.185 MB / 0.9365 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.9559, allocations: 3.938 kB / 0.9365 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4418/1.398, allocations: 47.41 MB / 0.9828 GB, free: 238.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003711/1.401, allocations: 1.136 MB / 0.984 GB, free: 238 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001463/1.403, allocations: 65.7 kB / 0.984 GB, free: 238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004517/1.408, allocations: 463.6 kB / 0.9845 GB, free: 237.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005059/1.408, allocations: 200.2 kB / 0.9846 GB, free: 237.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003565/1.408, allocations: 145.5 kB / 0.9848 GB, free: 237.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006407/1.415, allocations: 3.808 MB / 0.9885 GB, free: 236.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/1.415, allocations: 1.75 kB / 0.9885 GB, free: 236.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01349/1.428, allocations: 2.916 MB / 0.9914 GB, free: 236.3 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) * 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.001488/1.43, allocations: 481.8 kB / 0.9918 GB, free: 236.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007643/1.437, allocations: 5.368 MB / 0.9971 GB, free: 234.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.438, allocations: 3.781 kB / 0.9971 GB, free: 234.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00317/1.441, allocations: 2.509 MB / 0.9995 GB, free: 233.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01508/1.456, allocations: 3.229 MB / 1.003 GB, free: 232.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/1.479, allocations: 18.99 MB / 1.021 GB, free: 219.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/1.482, allocations: 4.711 MB / 1.026 GB, free: 214.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00632/1.489, allocations: 2.064 MB / 1.028 GB, free: 212.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/1.49, allocations: 491.2 kB / 1.028 GB, free: 212.1 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.49, allocations: 4 kB / 1.028 GB, free: 212.1 MB / 0.698 GB Notification: Performance of Templates: time 0.1634/1.654, allocations: 131.4 MB / 1.157 GB, free: 81.5 MB / 0.698 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)