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.001359/0.001359, allocations: 104 kB / 16.41 MB, free: 6.512 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.001248/0.001248, allocations: 187 kB / 17.34 MB, free: 5.742 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8583/0.8583, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 70.83 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1852, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05413/0.2394, allocations: 49.28 MB / 0.7085 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02078/0.2602, allocations: 13.8 MB / 0.7219 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.2636, allocations: 67.62 kB / 0.722 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.2667, allocations: 0.807 MB / 0.7228 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007751/0.2745, allocations: 2.25 MB / 0.725 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.2784, allocations: 1.301 MB / 0.7262 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02049/0.2989, allocations: 19.56 MB / 0.7454 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4496/0.7486, allocations: 9.927 MB / 0.755 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01549/0.7641, allocations: 6.597 MB / 0.7615 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01272/0.7768, allocations: 5.772 MB / 0.7671 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003932/0.7808, allocations: 0.8482 MB / 0.768 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009037/0.7899, allocations: 1.605 MB / 0.7695 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005816/0.7957, allocations: 2.112 MB / 0.7716 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01392/0.8097, allocations: 4.289 MB / 0.7758 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02031/0.83, allocations: 12.09 MB / 0.7876 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.8301, allocations: 0 / 0.7876 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8301, allocations: 0 / 0.7876 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0006995/0.8308, allocations: 0 / 0.7876 GB, free: 2.262 MB / 0.5762 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.02644/0.8572, allocations: 7.724 MB / 0.7951 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.8573, allocations: 14.19 kB / 0.7951 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005343/0.8627, allocations: 0.7935 MB / 0.7959 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01665/0.8794, allocations: 6.305 MB / 0.8021 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004517/0.8798, allocations: 417.6 kB / 0.8025 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002709/0.8826, allocations: 0.5414 MB / 0.803 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/0.9076, allocations: 8.063 MB / 0.8109 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003393/0.908, allocations: 24.39 kB / 0.8109 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002737/0.9108, allocations: 239.5 kB / 0.8111 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002556/0.911, allocations: 161.9 kB / 0.8113 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/0.9276, allocations: 6.524 MB / 0.8176 GB, free: 3.977 MB / 0.5919 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.06039/0.9881, allocations: 31.19 MB / 0.8481 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006999/0.9951, allocations: 3.646 MB / 0.8517 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004776/0.9999, allocations: 2.801 MB / 0.8544 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.001, allocations: 0.825 MB / 0.8552 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.589e-05/1.001, allocations: 68.67 kB / 0.8553 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 7.784e-06/1.001, allocations: 4 kB / 0.8553 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.01361/1.015, allocations: 5.762 MB / 0.8609 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/1.015, allocations: 85.5 kB / 0.861 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01199/1.027, allocations: 5.231 MB / 0.8661 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008836/1.028, allocations: 81.7 kB / 0.8662 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003886/1.032, allocations: 2.869 MB / 0.869 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001975/1.034, allocations: 0.9399 MB / 0.8699 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002478/1.036, allocations: 0.7074 MB / 0.8706 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.036, allocations: 313.1 kB / 0.8709 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/1.04, allocations: 1.674 MB / 0.8725 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00408/1.044, allocations: 2.932 MB / 0.8754 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007576/1.051, allocations: 4.964 MB / 0.8802 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.713e-05/1.051, allocations: 16 kB / 0.8802 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01127/1.063, allocations: 5.434 MB / 0.8855 GB, free: 12.17 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/1.063, allocations: 24 kB / 0.8856 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.946e-05/1.063, allocations: 44.12 kB / 0.8856 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.064, allocations: 423.5 kB / 0.886 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003121/1.067, allocations: 0.8627 MB / 0.8869 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/1.073, allocations: 5.687 MB / 0.8924 GB, free: 4.977 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005209/1.078, allocations: 0.5185 MB / 0.8929 GB, free: 4.453 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007449/1.079, allocations: 176 kB / 0.8931 GB, free: 4.281 MB / 0.67 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.005547/1.085, allocations: 2.294 MB / 0.8953 GB, free: 2.035 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002119/1.087, allocations: 486.1 kB / 0.8958 GB, free: 1.555 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00873/1.096, allocations: 4.177 MB / 0.8999 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.288e-05/1.096, allocations: 31.98 kB / 0.8999 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/1.096, allocations: 4 kB / 0.8999 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005565/1.101, allocations: 3.632 MB / 0.9034 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02362/1.125, allocations: 10.28 MB / 0.9135 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.125, allocations: 4 kB / 0.9135 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/1.127, allocations: 0.4988 MB / 0.914 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009067/1.128, allocations: 380.8 kB / 0.9143 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000317/1.129, allocations: 71.97 kB / 0.9144 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00609/1.135, allocations: 5.651 MB / 0.9199 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.135, allocations: 7.938 kB / 0.9199 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.146, allocations: 6.244 MB / 0.926 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003983/1.15, allocations: 1.096 MB / 0.9271 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001781/1.152, allocations: 63.98 kB / 0.9272 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004032/1.156, allocations: 171 kB / 0.9273 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004804/1.157, allocations: 181.1 kB / 0.9275 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004712/1.157, allocations: 123.9 kB / 0.9276 GB, free: 388 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00833/1.166, allocations: 3.839 MB / 0.9314 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/1.166, allocations: 3.188 kB / 0.9314 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007724/1.173, allocations: 1.812 MB / 0.9331 GB, free: 10.74 MB / 0.7169 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.001831/1.175, allocations: 474.3 kB / 0.9336 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008791/1.184, allocations: 4.278 MB / 0.9378 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.184, allocations: 4 kB / 0.9378 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003838/1.188, allocations: 2.045 MB / 0.9398 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02224/1.21, allocations: 3.446 MB / 0.9431 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02688/1.237, allocations: 12.54 MB / 0.9554 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005981/1.243, allocations: 4.235 MB / 0.9595 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/1.245, allocations: 443.3 kB / 0.9599 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of SimCode: time 8.11e-07/1.245, allocations: 0 / 0.9599 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.5672/1.812, allocations: 175.2 MB / 1.131 GB, free: 258.9 MB / 0.8262 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)