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.001486/0.001487, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7617/0.7617, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.19 kB / 0.5018 GB, free: 8.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1656, allocations: 80.21 MB / 0.5801 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3111/0.4768, allocations: 49.27 MB / 0.6282 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.4917, allocations: 13.8 MB / 0.6417 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.4945, allocations: 68.28 kB / 0.6417 GB, free: 20.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.4968, allocations: 0.8016 MB / 0.6425 GB, free: 19.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00551/0.5023, allocations: 2.255 MB / 0.6447 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.5052, allocations: 1.301 MB / 0.646 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01646/0.5217, allocations: 19.55 MB / 0.6651 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01321/0.5349, allocations: 9.932 MB / 0.6748 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01606/0.551, allocations: 6.51 MB / 0.6812 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01368/0.5647, allocations: 5.771 MB / 0.6868 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.003745/0.5685, allocations: 0.8473 MB / 0.6876 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008397/0.5769, allocations: 1.602 MB / 0.6892 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004852/0.5818, allocations: 2.119 MB / 0.6912 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01144/0.5932, allocations: 4.288 MB / 0.6954 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.6097, allocations: 11.94 MB / 0.7071 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.6098, allocations: 0 / 0.7071 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.956e-06/0.6098, allocations: 0 / 0.7071 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000517/0.6103, allocations: 0 / 0.7071 GB, free: 0.9453 MB / 0.5137 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.02316/0.6335, allocations: 7.737 MB / 0.7147 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.6335, allocations: 8.031 kB / 0.7147 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/0.6373, allocations: 0.7852 MB / 0.7154 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/0.6491, allocations: 6.053 MB / 0.7213 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/0.6494, allocations: 427 kB / 0.7217 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/0.6512, allocations: 0.5351 MB / 0.7223 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/0.6672, allocations: 8.065 MB / 0.7301 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.6673, allocations: 19.78 kB / 0.7302 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006835/0.668, allocations: 236 kB / 0.7304 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.6682, allocations: 163.9 kB / 0.7305 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.68, allocations: 6.528 MB / 0.7369 GB, free: 2.02 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.04127/0.7213, allocations: 31.42 MB / 0.7676 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005531/0.7268, allocations: 3.659 MB / 0.7712 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003826/0.7307, allocations: 2.807 MB / 0.7739 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009006/0.7316, allocations: 0.8241 MB / 0.7747 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.657e-05/0.7317, allocations: 72.67 kB / 0.7748 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 4.238e-06/0.7317, allocations: 0 / 0.7748 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01044/0.7421, allocations: 5.763 MB / 0.7804 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.7423, allocations: 85.52 kB / 0.7805 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008685/0.7509, allocations: 5.231 MB / 0.7856 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004424/0.7514, allocations: 77.7 kB / 0.7857 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00244/0.7539, allocations: 2.86 MB / 0.7885 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/0.755, allocations: 0.9398 MB / 0.7894 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009701/0.756, allocations: 0.7152 MB / 0.7901 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7561, allocations: 309.1 kB / 0.7904 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/0.7584, allocations: 1.674 MB / 0.792 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/0.7617, allocations: 2.936 MB / 0.7949 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005995/0.7677, allocations: 4.966 MB / 0.7997 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/0.7677, allocations: 12 kB / 0.7998 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008772/0.7765, allocations: 5.438 MB / 0.8051 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.7765, allocations: 24 kB / 0.8051 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.305e-05/0.7766, allocations: 40 kB / 0.8051 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009111/0.7775, allocations: 425.3 kB / 0.8055 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/0.7804, allocations: 0.8541 MB / 0.8064 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006242/0.7866, allocations: 5.703 MB / 0.8119 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005105/0.7918, allocations: 0.5262 MB / 0.8125 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008001/0.7926, allocations: 176 kB / 0.8126 GB, free: 0.8242 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 (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.004949/0.7976, allocations: 2.282 MB / 0.8148 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/0.7995, allocations: 486.1 kB / 0.8153 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007989/0.8075, allocations: 4.179 MB / 0.8194 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.8075, allocations: 31.98 kB / 0.8194 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.8076, allocations: 4 kB / 0.8194 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005636/0.8132, allocations: 3.641 MB / 0.823 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01998/0.8332, allocations: 10.29 MB / 0.833 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.8332, allocations: 4 kB / 0.833 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/0.8353, allocations: 0.4998 MB / 0.8335 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008871/0.8362, allocations: 377.3 kB / 0.8339 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002671/0.8365, allocations: 75.97 kB / 0.834 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005689/0.8422, allocations: 5.644 MB / 0.8395 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.8423, allocations: 11.94 kB / 0.8395 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.8523, allocations: 6.239 MB / 0.8456 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002944/0.8553, allocations: 1.092 MB / 0.8466 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/0.8567, allocations: 67.98 kB / 0.8467 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003394/0.8602, allocations: 175.7 kB / 0.8469 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/0.8605, allocations: 185.6 kB / 0.847 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003544/0.8609, allocations: 123.9 kB / 0.8472 GB, free: 12.61 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007604/0.8685, allocations: 3.835 MB / 0.8509 GB, free: 8.785 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8685, allocations: 0 / 0.8509 GB, free: 8.785 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007005/0.8755, allocations: 1.808 MB / 0.8527 GB, free: 6.973 MB / 0.67 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.002058/0.8776, allocations: 490.5 kB / 0.8531 GB, free: 6.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2917/1.169, allocations: 8.059 MB / 0.861 GB, free: 206.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.939e-05/1.169, allocations: 7.312 kB / 0.861 GB, free: 206.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002599/1.172, allocations: 2.036 MB / 0.863 GB, free: 206.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01705/1.189, allocations: 3.475 MB / 0.8664 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/1.208, allocations: 12.62 MB / 0.8787 GB, free: 200.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003307/1.211, allocations: 4.306 MB / 0.8829 GB, free: 199 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005757/1.217, allocations: 1.85 MB / 0.8847 GB, free: 198.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.218, allocations: 417.4 kB / 0.8851 GB, free: 198.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.163e-06/1.219, allocations: 0 / 0.8851 GB, free: 198.7 MB / 0.67 GB Notification: Performance of Templates: time 0.1734/1.392, allocations: 117 MB / 0.9994 GB, free: 115.2 MB / 0.67 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)