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.006816/0.006816, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002387/0.002387, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9743/0.9743, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.91 kB / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.5014, allocations: 80.91 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05003/0.5515, allocations: 49.28 MB / 0.7128 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02161/0.5731, allocations: 13.8 MB / 0.7262 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006294/0.5795, allocations: 67.62 kB / 0.7263 GB, free: 2.305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.583, allocations: 0.8344 MB / 0.7271 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008424/0.5915, allocations: 2.348 MB / 0.7294 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.5951, allocations: 1.311 MB / 0.7307 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01999/0.6151, allocations: 19.59 MB / 0.7498 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01375/0.6289, allocations: 9.926 MB / 0.7595 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01499/0.6439, allocations: 6.615 MB / 0.766 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01188/0.6558, allocations: 5.766 MB / 0.7716 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003403/0.6593, allocations: 0.8438 MB / 0.7724 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006958/0.6663, allocations: 1.608 MB / 0.774 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003516/0.6698, allocations: 2.115 MB / 0.7761 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009545/0.6794, allocations: 4.295 MB / 0.7803 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.6946, allocations: 12.08 MB / 0.7921 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.6947, allocations: 4 kB / 0.7921 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6947, allocations: 0 / 0.7921 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003898/0.6951, allocations: 0 / 0.7921 GB, free: 14.73 MB / 0.6231 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.01952/0.7146, allocations: 7.733 MB / 0.7996 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.7147, allocations: 12.03 kB / 0.7996 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/0.7176, allocations: 0.7814 MB / 0.8004 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.7304, allocations: 6.311 MB / 0.8065 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004252/0.7308, allocations: 415 kB / 0.8069 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/0.7328, allocations: 0.5467 MB / 0.8075 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/0.7526, allocations: 8.065 MB / 0.8154 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002335/0.7529, allocations: 11.94 kB / 0.8154 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/0.7546, allocations: 244 kB / 0.8156 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000207/0.7548, allocations: 167.9 kB / 0.8158 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.7696, allocations: 6.524 MB / 0.8221 GB, free: 15.54 MB / 0.6544 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.05189/0.8215, allocations: 31.19 MB / 0.8526 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006494/0.8281, allocations: 3.638 MB / 0.8561 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00466/0.8328, allocations: 2.802 MB / 0.8589 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.8339, allocations: 0.8241 MB / 0.8597 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.474e-05/0.8341, allocations: 76.67 kB / 0.8598 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=267): time 6.402e-06/0.8341, allocations: 0 / 0.8598 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267): time 0.01264/0.8467, allocations: 5.759 MB / 0.8654 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.8468, allocations: 81.52 kB / 0.8655 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4358/1.283, allocations: 5.231 MB / 0.8706 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008387/1.283, allocations: 80.55 kB / 0.8706 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002659/1.286, allocations: 2.87 MB / 0.8734 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.288, allocations: 0.9388 MB / 0.8744 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/1.289, allocations: 0.7095 MB / 0.8751 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.548e-05/1.289, allocations: 305 kB / 0.8753 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/1.292, allocations: 1.671 MB / 0.877 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/1.296, allocations: 2.941 MB / 0.8798 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0069/1.303, allocations: 4.969 MB / 0.8847 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.203e-05/1.303, allocations: 10.59 kB / 0.8847 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01068/1.313, allocations: 5.435 MB / 0.89 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/1.314, allocations: 22.5 kB / 0.89 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.402e-05/1.314, allocations: 40.39 kB / 0.8901 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/1.315, allocations: 420.1 kB / 0.8905 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003384/1.318, allocations: 0.8635 MB / 0.8913 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005052/1.323, allocations: 5.689 MB / 0.8969 GB, free: 159.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005094/1.328, allocations: 0.5186 MB / 0.8974 GB, free: 159.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006702/1.329, allocations: 181.7 kB / 0.8976 GB, free: 159.1 MB / 0.6856 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.004707/1.334, allocations: 2.295 MB / 0.8998 GB, free: 157.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/1.335, allocations: 486.7 kB / 0.9003 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006655/1.342, allocations: 4.179 MB / 0.9043 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/1.342, allocations: 27.69 kB / 0.9044 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.342, allocations: 8.094 kB / 0.9044 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004256/1.346, allocations: 3.63 MB / 0.9079 GB, free: 153 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/1.361, allocations: 10.27 MB / 0.9179 GB, free: 146.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.361, allocations: 4.562 kB / 0.918 GB, free: 146.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/1.363, allocations: 0.4993 MB / 0.9184 GB, free: 145.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007117/1.364, allocations: 373.3 kB / 0.9188 GB, free: 145.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/1.364, allocations: 75.97 kB / 0.9189 GB, free: 145.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004484/1.369, allocations: 5.65 MB / 0.9244 GB, free: 139.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.369, allocations: 7.938 kB / 0.9244 GB, free: 139.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008348/1.377, allocations: 6.242 MB / 0.9305 GB, free: 133.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/1.38, allocations: 1.096 MB / 0.9316 GB, free: 132 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.381, allocations: 59.98 kB / 0.9316 GB, free: 131.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003395/1.385, allocations: 178.8 kB / 0.9318 GB, free: 131.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/1.385, allocations: 177.6 kB / 0.932 GB, free: 131.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/1.385, allocations: 131.9 kB / 0.9321 GB, free: 131.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.006688/1.392, allocations: 3.839 MB / 0.9358 GB, free: 127.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7.02e-07/1.392, allocations: 0 / 0.9358 GB, free: 127.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006226/1.398, allocations: 1.798 MB / 0.9376 GB, free: 125.9 MB / 0.6856 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.001396/1.399, allocations: 492.4 kB / 0.9381 GB, free: 125.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006579/1.406, allocations: 4.282 MB / 0.9422 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.406, allocations: 8.062 kB / 0.9422 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002806/1.409, allocations: 2.042 MB / 0.9442 GB, free: 119 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01654/1.425, allocations: 3.448 MB / 0.9476 GB, free: 115.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02039/1.446, allocations: 12.48 MB / 0.9598 GB, free: 103.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003368/1.449, allocations: 4.315 MB / 0.964 GB, free: 98.82 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005501/1.455, allocations: 1.851 MB / 0.9658 GB, free: 96.96 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.456, allocations: 415.2 kB / 0.9662 GB, free: 96.56 MB / 0.6856 GB Notification: Performance of SimCode: time 1.102e-06/1.456, allocations: 0 / 0.9662 GB, free: 96.56 MB / 0.6856 GB Notification: Performance of Templates: time 0.1452/1.601, allocations: 113.2 MB / 1.077 GB, free: 304 kB / 0.7012 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)