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.008103/0.008103, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001669/0.001669, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9667/0.9667, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.89 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4998, allocations: 80.92 MB / 0.6646 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05527/0.5552, allocations: 49.28 MB / 0.7128 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02192/0.5771, allocations: 13.81 MB / 0.7262 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004044/0.5812, allocations: 67.62 kB / 0.7263 GB, free: 2.305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004092/0.5853, allocations: 0.8227 MB / 0.7271 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008413/0.5938, allocations: 2.352 MB / 0.7294 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004202/0.598, allocations: 1.306 MB / 0.7307 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02468/0.6227, allocations: 19.59 MB / 0.7498 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0129/0.6357, allocations: 9.926 MB / 0.7595 GB, free: 120 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01446/0.6502, allocations: 6.61 MB / 0.766 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/0.6609, allocations: 5.762 MB / 0.7716 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003236/0.6642, allocations: 0.8438 MB / 0.7724 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007567/0.6718, allocations: 1.604 MB / 0.774 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004449/0.6762, allocations: 2.127 MB / 0.7761 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01073/0.687, allocations: 4.287 MB / 0.7803 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.7061, allocations: 12.08 MB / 0.7921 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.7061, allocations: 4 kB / 0.7921 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7061, allocations: 0 / 0.7921 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0005506/0.7067, allocations: 0 / 0.7921 GB, free: 14.74 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.02432/0.731, allocations: 7.729 MB / 0.7996 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.7311, allocations: 16.03 kB / 0.7996 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004709/0.7358, allocations: 0.7775 MB / 0.8004 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01302/0.7488, allocations: 6.314 MB / 0.8065 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.7492, allocations: 411.1 kB / 0.8069 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/0.7509, allocations: 0.5467 MB / 0.8075 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/0.7666, allocations: 8.068 MB / 0.8153 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.7668, allocations: 19.88 kB / 0.8154 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007297/0.7675, allocations: 236 kB / 0.8156 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001937/0.7677, allocations: 163.9 kB / 0.8157 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.781, allocations: 6.524 MB / 0.8221 GB, free: 15.55 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.04942/0.8304, allocations: 31.19 MB / 0.8526 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005966/0.8364, allocations: 3.645 MB / 0.8561 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004094/0.8406, allocations: 2.802 MB / 0.8589 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.8416, allocations: 0.828 MB / 0.8597 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.847e-05/0.8417, allocations: 72.67 kB / 0.8598 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=267): time 4.999e-06/0.8417, allocations: 0 / 0.8598 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267): time 0.01097/0.8527, allocations: 5.759 MB / 0.8654 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.8528, allocations: 77.52 kB / 0.8655 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4158/1.269, allocations: 5.232 MB / 0.8706 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000804/1.269, allocations: 76.2 kB / 0.8706 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00262/1.272, allocations: 2.872 MB / 0.8734 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.274, allocations: 0.9357 MB / 0.8744 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/1.275, allocations: 0.7165 MB / 0.8751 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/1.275, allocations: 303.5 kB / 0.8753 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002947/1.278, allocations: 1.673 MB / 0.877 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003641/1.281, allocations: 2.936 MB / 0.8798 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005581/1.287, allocations: 4.966 MB / 0.8847 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.088e-05/1.287, allocations: 11.47 kB / 0.8847 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009133/1.296, allocations: 5.438 MB / 0.89 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/1.296, allocations: 25.81 kB / 0.89 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-05/1.296, allocations: 39.12 kB / 0.8901 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009735/1.297, allocations: 423.5 kB / 0.8905 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/1.3, allocations: 0.8572 MB / 0.8913 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/1.305, allocations: 5.694 MB / 0.8969 GB, free: 159.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/1.31, allocations: 0.5182 MB / 0.8974 GB, free: 159.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004552/1.31, allocations: 177.1 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.004366/1.315, allocations: 2.295 MB / 0.8998 GB, free: 157.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/1.316, allocations: 487.3 kB / 0.9003 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007472/1.324, allocations: 4.181 MB / 0.9043 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/1.324, allocations: 23.75 kB / 0.9044 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.324, allocations: 7.906 kB / 0.9044 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004789/1.329, allocations: 3.637 MB / 0.9079 GB, free: 153.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/1.343, allocations: 10.26 MB / 0.9179 GB, free: 146.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.343, allocations: 12.03 kB / 0.918 GB, free: 146.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/1.345, allocations: 0.5031 MB / 0.9184 GB, free: 145.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006831/1.346, allocations: 377.3 kB / 0.9188 GB, free: 145.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/1.346, allocations: 71.97 kB / 0.9189 GB, free: 145.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00403/1.35, allocations: 5.641 MB / 0.9244 GB, free: 139.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/1.35, allocations: 12 kB / 0.9244 GB, free: 139.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007702/1.358, allocations: 6.246 MB / 0.9305 GB, free: 133.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/1.36, allocations: 1.096 MB / 0.9316 GB, free: 132 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.362, allocations: 63.98 kB / 0.9316 GB, free: 131.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/1.364, allocations: 169.8 kB / 0.9318 GB, free: 131.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/1.365, allocations: 181.6 kB / 0.932 GB, free: 131.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/1.365, allocations: 131.8 kB / 0.9321 GB, free: 131.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.004865/1.37, allocations: 3.839 MB / 0.9358 GB, free: 127.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.37, allocations: 0 / 0.9358 GB, free: 127.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005842/1.376, allocations: 1.802 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.001166/1.377, allocations: 491.5 kB / 0.9381 GB, free: 125.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005591/1.382, allocations: 4.28 MB / 0.9422 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/1.382, allocations: 7.828 kB / 0.9422 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/1.385, 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.01321/1.398, allocations: 3.451 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.0164/1.414, 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.003046/1.417, allocations: 4.315 MB / 0.964 GB, free: 98.81 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005009/1.422, allocations: 1.854 MB / 0.9658 GB, free: 96.95 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.424, allocations: 415.3 kB / 0.9662 GB, free: 96.55 MB / 0.6856 GB Notification: Performance of SimCode: time 8.82e-07/1.424, allocations: 0 / 0.9662 GB, free: 96.55 MB / 0.6856 GB Notification: Performance of Templates: time 0.1461/1.57, allocations: 113.2 MB / 1.077 GB, free: 292 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)