Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008924/0.0008922, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0009534/0.0009535, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.3 MB / 426.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004439, allocations: 8 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2165, allocations: 82.3 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.4517/0.6682, allocations: 45.33 MB / 0.6316 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.6842, allocations: 12.94 MB / 0.6443 GB, free: 18.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002679/0.6869, allocations: 63.5 kB / 0.6443 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.6891, allocations: 0.5662 MB / 0.6449 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005995/0.6951, allocations: 1.785 MB / 0.6466 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003627/0.6987, allocations: 0.944 MB / 0.6475 GB, free: 17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02364/0.7224, allocations: 21.69 MB / 0.6687 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/0.7351, allocations: 6.552 MB / 0.6751 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01392/0.7491, allocations: 4.788 MB / 0.6798 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01581/0.7649, allocations: 4.944 MB / 0.6846 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00409/0.7691, allocations: 307.2 kB / 0.6849 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01046/0.7796, allocations: 0.7433 MB / 0.6857 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004861/0.7845, allocations: 1.355 MB / 0.687 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00652/0.791, allocations: 1.486 MB / 0.6884 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01519/0.8062, allocations: 9.477 MB / 0.6977 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.8063, allocations: 0 / 0.6977 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8063, allocations: 0 / 0.6977 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005187/0.8068, allocations: 0 / 0.6977 GB, free: 10.55 MB / 0.5137 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.02183/0.8286, allocations: 6.295 MB / 0.7038 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.147e-05/0.8287, allocations: 15.97 kB / 0.7038 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008149/0.8369, allocations: 0.7882 MB / 0.7046 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01779/0.8547, allocations: 6.094 MB / 0.7106 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006851/0.8555, allocations: 415 kB / 0.711 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003704/0.8592, allocations: 0.539 MB / 0.7115 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02612/0.8854, allocations: 8.022 MB / 0.7193 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003463/0.8858, allocations: 19.84 kB / 0.7193 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002252/0.888, allocations: 236 kB / 0.7196 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/0.8883, allocations: 163.9 kB / 0.7197 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/0.9056, allocations: 6.493 MB / 0.7261 GB, free: 14.27 MB / 0.545 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.06052/0.9662, allocations: 31.13 MB / 0.7565 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007123/0.9734, allocations: 3.648 MB / 0.76 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005052/0.9785, allocations: 2.878 MB / 0.7628 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.9797, allocations: 0.8437 MB / 0.7637 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.776e-05/0.9798, allocations: 64.67 kB / 0.7637 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 7.063e-06/0.9799, allocations: 0 / 0.7637 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.01461/0.9945, allocations: 5.732 MB / 0.7693 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.9946, allocations: 81.52 kB / 0.7694 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/1.008, allocations: 4.997 MB / 0.7743 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.01, allocations: 77.7 kB / 0.7743 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004078/1.014, allocations: 2.868 MB / 0.7771 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002337/1.016, allocations: 0.9398 MB / 0.7781 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007354/1.017, allocations: 76 kB / 0.7781 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0005309/1.018, allocations: 457.9 kB / 0.7786 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003825/1.022, allocations: 1.662 MB / 0.7802 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005041/1.027, allocations: 2.928 MB / 0.7831 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004621/1.031, allocations: 2.262 MB / 0.7853 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.592e-05/1.031, allocations: 8 kB / 0.7853 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01273/1.044, allocations: 5.406 MB / 0.7906 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/1.044, allocations: 24.94 kB / 0.7906 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.001e-05/1.044, allocations: 43.98 kB / 0.7906 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/1.045, allocations: 424.6 kB / 0.791 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003534/1.049, allocations: 0.858 MB / 0.7919 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006219/1.055, allocations: 5.272 MB / 0.797 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006669/1.062, allocations: 0.6473 MB / 0.7976 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1.063, allocations: 176 kB / 0.7978 GB, free: 1.703 MB / 0.6075 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 (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.006379/1.069, allocations: 2.285 MB / 0.8 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002352/1.072, allocations: 486.1 kB / 0.8005 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/1.082, allocations: 4.164 MB / 0.8046 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.736e-05/1.083, allocations: 28 kB / 0.8046 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-05/1.083, allocations: 7.938 kB / 0.8046 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006602/1.089, allocations: 3.618 MB / 0.8081 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03244/1.122, allocations: 10.19 MB / 0.8181 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/1.122, allocations: 4.562 kB / 0.8181 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/1.124, allocations: 0.5031 MB / 0.8186 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/1.125, allocations: 367.8 kB / 0.8189 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000514/1.126, allocations: 79.95 kB / 0.819 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006174/1.132, allocations: 5.205 MB / 0.8241 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.132, allocations: 12.48 kB / 0.8241 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/1.146, allocations: 6.215 MB / 0.8302 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004905/1.151, allocations: 1.17 MB / 0.8313 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002306/1.153, allocations: 63.98 kB / 0.8314 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005295/1.158, allocations: 329 kB / 0.8317 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007208/1.159, allocations: 173.7 kB / 0.8319 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006884/1.16, allocations: 127.9 kB / 0.832 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.009022/1.169, allocations: 3.64 MB / 0.8355 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.174e-06/1.169, allocations: 0 / 0.8355 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01042/1.179, allocations: 1.789 MB / 0.8373 GB, free: 8.473 MB / 0.6544 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 (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.002459/1.182, allocations: 463.4 kB / 0.8377 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.193, allocations: 4.227 MB / 0.8419 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.489e-05/1.193, allocations: 8.125 kB / 0.8419 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004969/1.198, allocations: 2.024 MB / 0.8438 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02153/1.22, allocations: 3.284 MB / 0.847 GB, free: 14.48 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3681/1.588, allocations: 14.64 MB / 0.8613 GB, free: 193.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005798/1.594, allocations: 4.304 MB / 0.8655 GB, free: 193.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00647/1.6, allocations: 1.84 MB / 0.8673 GB, free: 193.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/1.602, allocations: 414 kB / 0.8677 GB, free: 193 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/1.602, allocations: 0 / 0.8677 GB, free: 193 MB / 0.67 GB Notification: Performance of Templates: time 0.1669/1.768, allocations: 107.2 MB / 0.9725 GB, free: 134.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)