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.001571/0.001571, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001847/0.001847, allocations: 191.2 kB / 16.14 MB, free: 6.688 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7816/0.7816, allocations: 132.2 MB / 422.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.31 kB / 0.5011 GB, free: 9.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1982, allocations: 80.22 MB / 0.5794 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.4011/0.5993, allocations: 48.97 MB / 0.6272 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01807/0.6174, allocations: 13.81 MB / 0.6407 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.6205, allocations: 61.97 kB / 0.6408 GB, free: 20.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.6234, allocations: 0.6551 MB / 0.6414 GB, free: 20.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006644/0.6301, allocations: 2.084 MB / 0.6435 GB, free: 19.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.6337, allocations: 1.19 MB / 0.6446 GB, free: 18.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02443/0.6582, allocations: 25.6 MB / 0.6696 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.671, allocations: 8.108 MB / 0.6775 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.6837, allocations: 5.011 MB / 0.6824 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.6947, allocations: 5.607 MB / 0.6879 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002378/0.6971, allocations: 422.4 kB / 0.6883 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006679/0.7038, allocations: 1.099 MB / 0.6894 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003557/0.7073, allocations: 1.627 MB / 0.691 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01058/0.7179, allocations: 3.75 MB / 0.6946 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01736/0.7353, allocations: 11.58 MB / 0.7059 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.7354, allocations: 0 / 0.7059 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7354, allocations: 0 / 0.7059 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000401/0.7358, allocations: 0 / 0.7059 GB, free: 1.902 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.02061/0.7564, allocations: 7.714 MB / 0.7135 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.7565, allocations: 12.03 kB / 0.7135 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/0.7598, allocations: 0.7852 MB / 0.7143 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/0.7721, allocations: 6.239 MB / 0.7203 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/0.7724, allocations: 423 kB / 0.7208 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001823/0.7743, allocations: 0.539 MB / 0.7213 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.7906, allocations: 8.076 MB / 0.7292 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.7908, allocations: 19.84 kB / 0.7292 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000724/0.7915, allocations: 236 kB / 0.7294 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.7917, allocations: 163.9 kB / 0.7296 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/0.8061, allocations: 6.524 MB / 0.7359 GB, free: 2.797 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.05222/0.8583, allocations: 31.1 MB / 0.7663 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006349/0.8647, allocations: 3.659 MB / 0.7699 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004573/0.8693, allocations: 2.807 MB / 0.7726 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.8704, allocations: 0.828 MB / 0.7734 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.353e-05/0.8706, allocations: 68.67 kB / 0.7735 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=267): time 7.545e-06/0.8706, allocations: 0 / 0.7735 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=267): time 0.01275/0.8833, allocations: 5.766 MB / 0.7791 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.8834, allocations: 89.52 kB / 0.7792 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/0.8947, allocations: 5.024 MB / 0.7841 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008088/0.8956, allocations: 77.7 kB / 0.7842 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003121/0.8987, allocations: 2.868 MB / 0.787 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001835/0.9006, allocations: 0.9398 MB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002146/0.9028, allocations: 0.7113 MB / 0.7886 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.9029, allocations: 305.1 kB / 0.7889 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003201/0.9061, allocations: 1.674 MB / 0.7905 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004333/0.9105, allocations: 2.936 MB / 0.7934 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007763/0.9182, allocations: 4.966 MB / 0.7983 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.33e-05/0.9183, allocations: 8 kB / 0.7983 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01101/0.9293, allocations: 5.449 MB / 0.8036 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.9294, allocations: 23.94 kB / 0.8036 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.463e-05/0.9295, allocations: 40 kB / 0.8036 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.9305, allocations: 420.1 kB / 0.804 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/0.9336, allocations: 0.8619 MB / 0.8049 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/0.9392, allocations: 5.258 MB / 0.81 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004712/0.9439, allocations: 0.6432 MB / 0.8106 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004833/0.9444, allocations: 176 kB / 0.8108 GB, free: 2.445 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.00427/0.9487, allocations: 2.289 MB / 0.8131 GB, free: 148 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/0.9503, allocations: 486.3 kB / 0.8135 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007611/0.958, allocations: 4.186 MB / 0.8176 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/0.958, allocations: 27.94 kB / 0.8176 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.958, allocations: 8 kB / 0.8176 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00566/0.9637, allocations: 3.633 MB / 0.8212 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/0.989, allocations: 10.2 MB / 0.8312 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.9891, allocations: 15.86 kB / 0.8312 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002215/0.9913, allocations: 0.4993 MB / 0.8317 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009267/0.9922, allocations: 373.4 kB / 0.832 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002866/0.9926, allocations: 75.97 kB / 0.8321 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005686/0.9983, allocations: 5.204 MB / 0.8372 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/0.9983, allocations: 11.92 kB / 0.8372 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/1.01, allocations: 6.243 MB / 0.8433 GB, free: 420 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003945/1.014, allocations: 1.076 MB / 0.8443 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/1.016, allocations: 67.98 kB / 0.8444 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004656/1.021, allocations: 331.2 kB / 0.8447 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004153/1.021, allocations: 177.6 kB / 0.8449 GB, free: 14.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004274/1.022, allocations: 131.9 kB / 0.845 GB, free: 14.61 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.008673/1.03, allocations: 3.683 MB / 0.8486 GB, free: 10.95 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.21e-07/1.03, allocations: 0 / 0.8486 GB, free: 10.95 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01176/1.042, allocations: 1.781 MB / 0.8503 GB, free: 9.16 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.002697/1.045, allocations: 478.6 kB / 0.8508 GB, free: 8.691 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01301/1.058, allocations: 4.25 MB / 0.8549 GB, free: 4.402 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-05/1.058, allocations: 4 kB / 0.8549 GB, free: 4.398 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006797/1.065, allocations: 2.035 MB / 0.8569 GB, free: 2.332 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3219/1.387, allocations: 3.279 MB / 0.8601 GB, free: 204.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/1.406, allocations: 14.88 MB / 0.8747 GB, free: 198.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003409/1.41, allocations: 4.305 MB / 0.8789 GB, free: 196.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005983/1.416, allocations: 1.845 MB / 0.8807 GB, free: 196.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/1.417, allocations: 411.9 kB / 0.8811 GB, free: 196.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.683e-06/1.417, allocations: 3.75 kB / 0.8811 GB, free: 196.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1598/1.577, allocations: 110.9 MB / 0.9894 GB, free: 124.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)