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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.0009138, allocations: 84.38 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.001/0.001, 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.283/1.283, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7262/0.7262, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002834, allocations: 8 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3385, allocations: 81.58 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04158/0.3801, allocations: 45.34 MB / 0.6274 GB, free: 1.723 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.3965, allocations: 12.93 MB / 0.64 GB, free: 6.203 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.3979, allocations: 63.62 kB / 0.64 GB, free: 6.141 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.3993, allocations: 0.5782 MB / 0.6406 GB, free: 5.559 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003632/0.4029, allocations: 1.782 MB / 0.6423 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.4051, allocations: 0.9445 MB / 0.6433 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01825/0.4233, allocations: 21.7 MB / 0.6645 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007882/0.4313, allocations: 6.55 MB / 0.6709 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006411/0.4377, allocations: 4.79 MB / 0.6755 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005533/0.4432, allocations: 4.94 MB / 0.6804 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005491/0.4438, allocations: 308 kB / 0.6807 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.4462, allocations: 0.7411 MB / 0.6814 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.4474, allocations: 1.366 MB / 0.6827 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.449, allocations: 1.483 MB / 0.6842 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007891/0.4569, allocations: 9.458 MB / 0.6934 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4569, allocations: 4 kB / 0.6934 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4569, allocations: 3.938 kB / 0.6934 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001797/0.4571, allocations: 0 / 0.6934 GB, free: 15.29 MB / 0.5294 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.009866/0.467, allocations: 6.299 MB / 0.6996 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.467, allocations: 8.031 kB / 0.6996 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.4689, allocations: 0.7843 MB / 0.7003 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008761/0.4777, allocations: 6.093 MB / 0.7063 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.478, allocations: 419.1 kB / 0.7067 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000711/0.4787, allocations: 0.539 MB / 0.7072 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.4903, allocations: 8.022 MB / 0.715 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.4905, allocations: 23.78 kB / 0.7151 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005028/0.491, allocations: 239.9 kB / 0.7153 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.4911, allocations: 163.9 kB / 0.7154 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009622/0.5007, allocations: 6.481 MB / 0.7218 GB, free: 1.84 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.03199/0.5327, allocations: 31.14 MB / 0.7522 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/0.5378, allocations: 3.647 MB / 0.7557 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/0.5415, allocations: 2.874 MB / 0.7585 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008769/0.5424, allocations: 0.8358 MB / 0.7594 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.5424, allocations: 72.67 kB / 0.7594 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 4.378e-06/0.5424, allocations: 0 / 0.7594 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.009533/0.552, allocations: 5.739 MB / 0.765 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.552, allocations: 81.45 kB / 0.7651 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005877/0.5579, allocations: 4.989 MB / 0.77 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.5581, allocations: 81.7 kB / 0.7701 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002144/0.5603, allocations: 2.872 MB / 0.7729 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008341/0.5611, allocations: 0.9398 MB / 0.7738 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.5613, allocations: 68 kB / 0.7739 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.5615, allocations: 461.9 kB / 0.7743 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/0.5639, allocations: 1.662 MB / 0.7759 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003115/0.567, allocations: 2.916 MB / 0.7788 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.5701, allocations: 2.265 MB / 0.781 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.5701, allocations: 12 kB / 0.781 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007666/0.5778, allocations: 5.406 MB / 0.7863 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.5778, allocations: 20.97 kB / 0.7863 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/0.5779, allocations: 40 kB / 0.7863 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008809/0.5788, allocations: 436.8 kB / 0.7867 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/0.5817, allocations: 0.8618 MB / 0.7876 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005172/0.5869, allocations: 5.264 MB / 0.7927 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/0.5911, allocations: 0.6432 MB / 0.7934 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/0.5914, allocations: 180 kB / 0.7935 GB, free: 5.258 MB / 0.6231 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.003373/0.5948, allocations: 2.278 MB / 0.7958 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/0.5956, allocations: 490.2 kB / 0.7962 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006329/0.6019, allocations: 4.168 MB / 0.8003 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.602, allocations: 28.19 kB / 0.8003 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.602, allocations: 4 kB / 0.8003 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004913/0.6069, allocations: 3.628 MB / 0.8039 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.6212, allocations: 10.18 MB / 0.8138 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.6213, allocations: 8.562 kB / 0.8138 GB, free: 128 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2463/0.8675, allocations: 0.4983 MB / 0.8143 GB, free: 199.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009086/0.8685, allocations: 377.3 kB / 0.8147 GB, free: 199 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002418/0.8687, allocations: 75.48 kB / 0.8147 GB, free: 199 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004606/0.8733, allocations: 5.189 MB / 0.8198 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.8734, allocations: 9.75 kB / 0.8198 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008838/0.8822, allocations: 6.224 MB / 0.8259 GB, free: 194 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/0.8844, allocations: 1.162 MB / 0.827 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005876/0.885, allocations: 63.55 kB / 0.8271 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002625/0.8876, allocations: 328.5 kB / 0.8274 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.8879, allocations: 172.2 kB / 0.8276 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/0.8882, allocations: 131 kB / 0.8277 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004627/0.8928, allocations: 3.648 MB / 0.8312 GB, free: 192.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8928, allocations: 0 / 0.8312 GB, free: 192.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004078/0.8969, allocations: 1.783 MB / 0.833 GB, free: 191.9 MB / 0.6387 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.0008136/0.8977, allocations: 463.8 kB / 0.8334 GB, free: 191.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005426/0.9032, allocations: 4.228 MB / 0.8376 GB, free: 190.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.9032, allocations: 10.06 kB / 0.8376 GB, free: 190.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.9055, allocations: 2.036 MB / 0.8396 GB, free: 189.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01084/0.9163, allocations: 3.28 MB / 0.8428 GB, free: 188.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.9297, allocations: 14.63 MB / 0.8571 GB, free: 179.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/0.9325, allocations: 4.307 MB / 0.8613 GB, free: 175.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004505/0.937, allocations: 1.84 MB / 0.8631 GB, free: 173.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000867/0.9379, allocations: 419.2 kB / 0.8635 GB, free: 172.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.9379, allocations: 0 / 0.8635 GB, free: 172.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.1207/1.059, allocations: 107.2 MB / 0.9682 GB, free: 66.68 MB / 0.6387 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)