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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.212/1.212, allocations: 154.8 MB / 414.3 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.5198 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.355e-05, allocations: 9.812 kB / 0.5198 GB, free: 2.285 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05963/0.05967, allocations: 45.11 MB / 0.5639 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02583/0.08549, allocations: 13.06 MB / 0.5766 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00361/0.0891, allocations: 91.25 kB / 0.5767 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.09214, allocations: 0.8185 MB / 0.5775 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.008794/0.1009, allocations: 2.455 MB / 0.5799 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004525/0.1055, allocations: 1.427 MB / 0.5813 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.02992/0.1354, allocations: 20.64 MB / 0.6015 GB, free: 14.62 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01399/0.1494, allocations: 6.714 MB / 0.608 GB, free: 7.793 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02755/0.1769, allocations: 9.573 MB / 0.6174 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01355/0.1905, allocations: 5.743 MB / 0.623 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.00367/0.1941, allocations: 0.8438 MB / 0.6238 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007326/0.2015, allocations: 1.491 MB / 0.6253 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.004824/0.2063, allocations: 2.262 MB / 0.6275 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.01011/0.2164, allocations: 3.052 MB / 0.6305 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0223/0.2387, allocations: 12.35 MB / 0.6425 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2387, allocations: 0 / 0.6425 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2387, allocations: 0 / 0.6425 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000417/0.2391, allocations: 0 / 0.6425 GB, free: 4.512 MB / 0.6042 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.0224/0.2615, allocations: 7.787 MB / 0.6501 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.2616, allocations: 8.031 kB / 0.6501 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/0.2675, allocations: 1.397 MB / 0.6515 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/0.2842, allocations: 6.753 MB / 0.6581 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005271/0.2848, allocations: 411.4 kB / 0.6585 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/0.2872, allocations: 0.5706 MB / 0.659 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/0.3107, allocations: 9.131 MB / 0.668 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.3109, allocations: 19.83 kB / 0.668 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008481/0.3117, allocations: 232 kB / 0.6682 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/0.3119, allocations: 168 kB / 0.6684 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01523/0.3272, allocations: 6.508 MB / 0.6747 GB, free: 2.879 MB / 0.6355 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.3168/0.6439, allocations: 22.73 MB / 0.6969 GB, free: 172.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004854/0.6488, allocations: 3.422 MB / 0.7003 GB, free: 171.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003306/0.6521, allocations: 2.589 MB / 0.7028 GB, free: 170.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006426/0.6527, allocations: 164.8 kB / 0.7029 GB, free: 170.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.451e-05/0.6528, allocations: 69.8 kB / 0.703 GB, free: 170.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=267): time 4.849e-06/0.6528, allocations: 0 / 0.703 GB, free: 170.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=267): time 0.01074/0.6635, allocations: 5.657 MB / 0.7085 GB, free: 168.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.6636, allocations: 80.05 kB / 0.7086 GB, free: 168.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008905/0.6725, allocations: 4.546 MB / 0.713 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0009229/0.6734, allocations: 80.33 kB / 0.7131 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002531/0.676, allocations: 2.919 MB / 0.716 GB, free: 165.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/0.6777, allocations: 0.9689 MB / 0.7169 GB, free: 164.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.6789, allocations: 0.713 MB / 0.7176 GB, free: 164.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.679, allocations: 301.7 kB / 0.7179 GB, free: 164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/0.6818, allocations: 1.674 MB / 0.7195 GB, free: 163.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003428/0.6852, allocations: 3.037 MB / 0.7225 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006163/0.6914, allocations: 4.965 MB / 0.7274 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.552e-05/0.6914, allocations: 11.66 kB / 0.7274 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00953/0.701, allocations: 5.565 MB / 0.7328 GB, free: 156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.701, allocations: 24.34 kB / 0.7328 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.648e-05/0.7011, allocations: 39.58 kB / 0.7329 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.7034, allocations: 0.5181 MB / 0.7334 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003266/0.7067, allocations: 0.8573 MB / 0.7342 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005107/0.7118, allocations: 5.391 MB / 0.7395 GB, free: 152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004972/0.7168, allocations: 470.4 kB / 0.7399 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007524/0.7175, allocations: 177 kB / 0.7401 GB, free: 151.7 MB / 0.6355 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.004295/0.7218, allocations: 2.286 MB / 0.7423 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001774/0.7236, allocations: 0.5296 MB / 0.7428 GB, free: 149.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00623/0.7298, allocations: 4.107 MB / 0.7468 GB, free: 145.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.7299, allocations: 28 kB / 0.7469 GB, free: 145.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.7299, allocations: 6.312 kB / 0.7469 GB, free: 145.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004386/0.7343, allocations: 3.628 MB / 0.7504 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/0.7527, allocations: 8.889 MB / 0.7591 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.7527, allocations: 4 kB / 0.7591 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/0.7547, allocations: 0.4982 MB / 0.7596 GB, free: 132.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.7568, allocations: 491.8 kB / 0.7601 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/0.7571, allocations: 72.52 kB / 0.7601 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004522/0.7616, allocations: 5.339 MB / 0.7653 GB, free: 126.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.7616, allocations: 7.938 kB / 0.7653 GB, free: 126.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008403/0.77, allocations: 6.264 MB / 0.7715 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002969/0.773, allocations: 0.9975 MB / 0.7724 GB, free: 119 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009358/0.7739, allocations: 63.98 kB / 0.7725 GB, free: 118.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/0.7766, allocations: 168.4 kB / 0.7727 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/0.7769, allocations: 185.5 kB / 0.7728 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002772/0.7772, allocations: 131.2 kB / 0.773 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004148/0.7814, allocations: 3.117 MB / 0.776 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.7814, allocations: 0 / 0.776 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006773/0.7881, allocations: 1.897 MB / 0.7779 GB, free: 113.5 MB / 0.6355 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.001317/0.7895, allocations: 473.2 kB / 0.7783 GB, free: 113.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005791/0.7953, allocations: 4.136 MB / 0.7824 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/0.7953, allocations: 4.984 kB / 0.7824 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.7977, allocations: 1.934 MB / 0.7842 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01232/0.81, allocations: 2.717 MB / 0.7869 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.8289, allocations: 12.34 MB / 0.7989 GB, free: 91.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003695/0.8326, allocations: 3.812 MB / 0.8027 GB, free: 88.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.005237/0.8378, allocations: 1.67 MB / 0.8043 GB, free: 86.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/0.8392, allocations: 380.4 kB / 0.8047 GB, free: 86.1 MB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/0.8392, allocations: 0 / 0.8047 GB, free: 86.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.1275/0.9667, allocations: 94.17 MB / 0.8966 GB, free: 9.32 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.51027561898809]