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-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_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.0008183/0.0008184, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009867/0.0009867, allocations: 177.3 kB / 15.94 MB, free: 228 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.192/1.192, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8727/0.8727, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003239, allocations: 8 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1595, allocations: 82.32 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2988/0.4583, allocations: 41.18 MB / 0.6274 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.4716, allocations: 11.95 MB / 0.6391 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.4739, allocations: 60 kB / 0.6391 GB, free: 22.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.4763, allocations: 0.7556 MB / 0.6399 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005735/0.4821, allocations: 1.97 MB / 0.6418 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004203/0.4863, allocations: 1.432 MB / 0.6432 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01351/0.4998, allocations: 10.53 MB / 0.6535 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009274/0.5091, allocations: 6.552 MB / 0.6599 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007879/0.517, allocations: 4.007 MB / 0.6638 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007283/0.5243, allocations: 3.446 MB / 0.6672 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.5263, allocations: 302.8 kB / 0.6674 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005313/0.5316, allocations: 0.7975 MB / 0.6682 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002744/0.5343, allocations: 1.305 MB / 0.6695 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003923/0.5383, allocations: 1.475 MB / 0.6709 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.5511, allocations: 9.426 MB / 0.6801 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5511, allocations: 0 / 0.6801 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5511, allocations: 1.438 kB / 0.6801 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004308/0.5515, allocations: 0 / 0.6801 GB, free: 5.07 MB / 0.4981 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.01795/0.5695, allocations: 6.29 MB / 0.6863 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5696, allocations: 8.812 kB / 0.6863 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/0.5745, allocations: 0.7889 MB / 0.6871 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.5876, allocations: 5.672 MB / 0.6926 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003832/0.588, allocations: 414.1 kB / 0.693 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.5898, allocations: 0.5428 MB / 0.6935 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.6037, allocations: 7.981 MB / 0.7013 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.6039, allocations: 23.84 kB / 0.7013 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006418/0.6045, allocations: 232 kB / 0.7016 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.6047, allocations: 167.9 kB / 0.7017 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.6162, allocations: 6.485 MB / 0.7081 GB, free: 272 kB / 0.5137 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.04281/0.659, allocations: 31.39 MB / 0.7387 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005305/0.6644, allocations: 3.64 MB / 0.7423 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009671/0.6654, allocations: 0.8358 MB / 0.7431 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.21e-05/0.6654, allocations: 68.67 kB / 0.7432 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=267): time 4.087e-06/0.6655, allocations: 4 kB / 0.7432 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.01059/0.6761, allocations: 5.79 MB / 0.7488 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.6761, allocations: 85.52 kB / 0.7489 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008412/0.6846, allocations: 5.403 MB / 0.7542 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007782/0.6854, allocations: 73.7 kB / 0.7542 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002378/0.6878, allocations: 2.868 MB / 0.757 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001492/0.6893, allocations: 0.9398 MB / 0.758 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.6895, allocations: 68 kB / 0.758 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002323/0.6897, allocations: 461.9 kB / 0.7585 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002598/0.6923, allocations: 1.682 MB / 0.7601 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.6955, allocations: 2.932 MB / 0.763 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/0.6986, allocations: 2.293 MB / 0.7652 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/0.6986, allocations: 12 kB / 0.7652 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008754/0.7074, allocations: 5.449 MB / 0.7705 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.7075, allocations: 26.97 kB / 0.7706 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.838e-05/0.7075, allocations: 43.95 kB / 0.7706 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008755/0.7084, allocations: 421.6 kB / 0.771 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/0.7112, allocations: 0.858 MB / 0.7719 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005175/0.7164, allocations: 5.339 MB / 0.7771 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/0.7218, allocations: 0.6781 MB / 0.7777 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004609/0.7223, allocations: 176.1 kB / 0.7779 GB, free: 5.668 MB / 0.5919 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.004876/0.7272, allocations: 2.288 MB / 0.7801 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/0.7287, allocations: 490 kB / 0.7806 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006624/0.7353, allocations: 4.21 MB / 0.7847 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.7353, allocations: 31.98 kB / 0.7847 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.7353, allocations: 8 kB / 0.7847 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004734/0.7401, allocations: 3.649 MB / 0.7883 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/0.7593, allocations: 10.13 MB / 0.7982 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.7593, allocations: 4 kB / 0.7982 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/0.7613, allocations: 0.4992 MB / 0.7987 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008739/0.7622, allocations: 368.3 kB / 0.799 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/0.7624, allocations: 75.95 kB / 0.7991 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005643/0.7681, allocations: 5.268 MB / 0.8043 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.7681, allocations: 4 kB / 0.8043 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.7791, allocations: 6.915 MB / 0.811 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004245/0.7834, allocations: 1.252 MB / 0.8122 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/0.7849, allocations: 59.98 kB / 0.8123 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003754/0.7887, allocations: 339.5 kB / 0.8126 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.789, allocations: 173.7 kB / 0.8128 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002807/0.7893, allocations: 131.9 kB / 0.8129 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006194/0.7955, allocations: 3.98 MB / 0.8168 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7955, allocations: 0 / 0.8168 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006882/0.8024, allocations: 1.8 MB / 0.8186 GB, free: 11.1 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.001169/0.8035, allocations: 491.9 kB / 0.819 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006415/0.81, allocations: 4.277 MB / 0.8232 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.81, allocations: 4 kB / 0.8232 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/0.8127, allocations: 2.052 MB / 0.8252 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01576/0.8285, allocations: 3.228 MB / 0.8284 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/0.8521, allocations: 14.65 MB / 0.8427 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004113/0.8562, allocations: 4.419 MB / 0.847 GB, free: 13.87 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005995/0.8622, allocations: 1.895 MB / 0.8488 GB, free: 11.97 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/0.8635, allocations: 407.3 kB / 0.8492 GB, free: 11.57 MB / 0.67 GB Notification: Performance of SimCode: time 1.863e-06/0.8636, allocations: 3.938 kB / 0.8492 GB, free: 11.57 MB / 0.67 GB Notification: Performance of Templates: time 0.3844/1.248, allocations: 108.7 MB / 0.9554 GB, free: 154.3 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: