Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 183.5 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.7699/0.7699, 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.45/1.45, allocations: 222.9 MB / 403.4 MB, free: 7.117 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.001263/0.001263, allocations: 107.3 kB / 484.3 MB, free: 8.738 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009644/0.0009644, allocations: 52.11 kB / 0.5618 GB, free: 71.1 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1275, allocations: 80.21 MB / 0.6402 GB, free: 6.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04561/0.1731, allocations: 48.97 MB / 0.688 GB, free: 5.672 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3633/0.5364, allocations: 13.79 MB / 0.7015 GB, free: 11.53 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.5393, allocations: 67.72 kB / 0.7015 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.5418, allocations: 0.6562 MB / 0.7022 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006699/0.5486, allocations: 2.083 MB / 0.7042 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.5523, allocations: 1.19 MB / 0.7054 GB, free: 11.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.02517/0.5775, allocations: 25.71 MB / 0.7305 GB, free: 6.312 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.5885, allocations: 8.12 MB / 0.7384 GB, free: 2.066 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01147/0.6, allocations: 5.061 MB / 0.7433 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/0.6107, allocations: 5.602 MB / 0.7488 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001998/0.6127, allocations: 423.9 kB / 0.7492 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006164/0.6189, allocations: 1.108 MB / 0.7503 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.003085/0.622, allocations: 1.614 MB / 0.7519 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.008665/0.6307, allocations: 3.759 MB / 0.7555 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.6447, allocations: 11.57 MB / 0.7668 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6448, allocations: 0 / 0.7668 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6448, allocations: 0 / 0.7668 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003729/0.6452, allocations: 4 kB / 0.7668 GB, free: 6.238 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01819/0.6634, allocations: 7.709 MB / 0.7744 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.6634, allocations: 8.031 kB / 0.7744 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/0.6669, allocations: 0.793 MB / 0.7752 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.6798, allocations: 6.24 MB / 0.7813 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.6802, allocations: 417.5 kB / 0.7817 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/0.6817, allocations: 0.541 MB / 0.7822 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.6967, allocations: 8.069 MB / 0.7901 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.6968, allocations: 19.78 kB / 0.7901 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005981/0.6974, allocations: 239.4 kB / 0.7903 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/0.6976, allocations: 164 kB / 0.7905 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.7085, allocations: 6.528 MB / 0.7968 GB, free: 7.348 MB / 0.5417 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.04044/0.7489, allocations: 31.1 MB / 0.8272 GB, free: 6.668 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004869/0.7538, allocations: 3.651 MB / 0.8308 GB, free: 3.031 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003579/0.7574, allocations: 2.807 MB / 0.8335 GB, free: 228 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008878/0.7583, allocations: 0.8293 MB / 0.8343 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.32e-05/0.7584, allocations: 72.61 kB / 0.8344 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=267): time 4.448e-06/0.7584, allocations: 0 / 0.8344 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=267): time 0.01036/0.7688, allocations: 5.768 MB / 0.84 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.7689, allocations: 81.52 kB / 0.8401 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009077/0.7779, allocations: 5.032 MB / 0.845 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004888/0.7784, allocations: 77.7 kB / 0.8451 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.7807, allocations: 2.863 MB / 0.8479 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.7819, allocations: 0.9376 MB / 0.8488 GB, free: 284 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009783/0.7829, allocations: 0.7152 MB / 0.8495 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.725e-05/0.783, allocations: 309 kB / 0.8498 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/0.7854, allocations: 1.67 MB / 0.8514 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/0.7885, allocations: 2.933 MB / 0.8543 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005817/0.7943, allocations: 4.965 MB / 0.8591 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/0.7944, allocations: 12 kB / 0.8592 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008842/0.8032, allocations: 5.439 MB / 0.8645 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.8033, allocations: 28.81 kB / 0.8645 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.114e-05/0.8034, allocations: 40 kB / 0.8645 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009608/0.8044, allocations: 420.2 kB / 0.8649 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/0.8073, allocations: 0.858 MB / 0.8658 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005437/0.8128, allocations: 5.269 MB / 0.8709 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/0.8178, allocations: 0.6432 MB / 0.8715 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005836/0.8184, allocations: 176 kB / 0.8717 GB, free: 7.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.00411/0.8225, allocations: 2.289 MB / 0.8739 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001599/0.8241, allocations: 486.1 kB / 0.8744 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007926/0.8321, allocations: 4.178 MB / 0.8785 GB, free: 324 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.8321, allocations: 28 kB / 0.8785 GB, free: 296 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.8322, allocations: 7.938 kB / 0.8785 GB, free: 288 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005435/0.8376, allocations: 3.645 MB / 0.8821 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02231/0.8599, allocations: 10.2 MB / 0.892 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.86, allocations: 4 kB / 0.892 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/0.8622, allocations: 0.4998 MB / 0.8925 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008463/0.863, allocations: 375.4 kB / 0.8929 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002638/0.8633, allocations: 83.89 kB / 0.893 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005641/0.869, allocations: 5.202 MB / 0.898 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/0.869, allocations: 8 kB / 0.8981 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06783/0.9369, allocations: 35.32 MB / 0.9325 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003956/0.9409, allocations: 1.072 MB / 0.9336 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/0.9424, allocations: 63.92 kB / 0.9337 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004008/0.9464, allocations: 327.2 kB / 0.934 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/0.947, allocations: 173.8 kB / 0.9341 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004689/0.9475, allocations: 131.9 kB / 0.9343 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.007131/0.9546, allocations: 3.687 MB / 0.9379 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9546, allocations: 0 / 0.9379 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01104/0.9657, allocations: 2.605 MB / 0.9404 GB, free: 15.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001646/0.9674, allocations: 463.5 kB / 0.9408 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007803/0.9752, allocations: 4.265 MB / 0.945 GB, free: 11.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.9752, allocations: 4 kB / 0.945 GB, free: 11.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003309/0.9785, allocations: 2.044 MB / 0.947 GB, free: 9.008 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0175/0.996, allocations: 3.28 MB / 0.9502 GB, free: 5.793 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3026/1.299, allocations: 17.11 MB / 0.9669 GB, free: 243.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006512/1.305, allocations: 4.374 MB / 0.9712 GB, free: 242.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007874/1.313, allocations: 1.902 MB / 0.973 GB, free: 242.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/1.315, allocations: 439.3 kB / 0.9735 GB, free: 242.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.315, allocations: 1.875 kB / 0.9735 GB, free: 242.5 MB / 0.698 GB Notification: Performance of Templates: time 0.1658/1.481, allocations: 122.8 MB / 1.093 GB, free: 141.7 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)