Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_002.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00509/0.00509, allocations: 100.7 kB / 15.87 MB, free: 6.305 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.001108/0.001108, allocations: 190.7 kB / 16.79 MB, free: 6.238 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.283/1.283, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1876/0.1876, allocations: 22.34 MB / 313 MB, free: 12.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.91 kB / 380.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2149, allocations: 54.94 MB / 435.7 MB, free: 39.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003086/0.218, allocations: 3.448 MB / 439.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2191, allocations: 0.9365 MB / 440.1 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2193, allocations: 3.062 kB / 440.1 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.2194, allocations: 49.75 kB / 440.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.2197, allocations: 146.3 kB / 440.3 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.22, allocations: 167 kB / 440.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.2205, allocations: 0.8032 MB / 441.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.2209, allocations: 388.4 kB / 441.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.2211, allocations: 284.3 kB / 441.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.2214, allocations: 376.2 kB / 442.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/0.2215, allocations: 51.59 kB / 442.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.2216, allocations: 50.84 kB / 442.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.2217, allocations: 189 kB / 442.6 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.222, allocations: 313.9 kB / 442.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.2223, allocations: 0.6009 MB / 443.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2223, allocations: 0 / 443.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2223, allocations: 0 / 443.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2223, allocations: 0 / 443.5 MB, free: 34.95 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001562/0.2239, allocations: 0.9027 MB / 444.4 MB, free: 34.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.2239, allocations: 12.47 kB / 444.4 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.224, allocations: 60.12 kB / 444.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.2244, allocations: 395.2 kB / 444.8 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.2245, allocations: 101.8 kB / 444.9 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.429e-05/0.2246, allocations: 56.11 kB / 445 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.226, allocations: 0.6826 MB / 445.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.226, allocations: 0 / 445.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.2261, allocations: 21.53 kB / 445.7 MB, free: 33.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2261, allocations: 15.66 kB / 445.7 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.2274, allocations: 0.5992 MB / 446.3 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004333/0.2317, allocations: 2.593 MB / 448.9 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009557/0.2327, allocations: 0.5362 MB / 449.4 MB, free: 31.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000721/0.2334, allocations: 400.3 kB / 449.8 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.2335, allocations: 11.23 kB / 449.8 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.2335, allocations: 34.94 kB / 449.9 MB, free: 31.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.633e-06/0.2335, allocations: 0 / 449.9 MB, free: 31.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.0047/0.2382, allocations: 2.164 MB / 452 MB, free: 30.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.2383, allocations: 57.31 kB / 452.1 MB, free: 30.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.2385, allocations: 360.6 kB / 452.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.2386, allocations: 33.7 kB / 452.5 MB, free: 30.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.2387, allocations: 232.7 kB / 452.7 MB, free: 30.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.984e-05/0.2388, allocations: 179.9 kB / 452.9 MB, free: 30.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.239, allocations: 97.06 kB / 453 MB, free: 30.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.239, allocations: 357 kB / 453.3 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007049/0.2397, allocations: 359 kB / 453.7 MB, free: 29.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007404/0.2405, allocations: 416.4 kB / 454.1 MB, free: 29.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005926/0.2464, allocations: 1.978 MB / 456 MB, free: 28.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2464, allocations: 3.938 kB / 456 MB, free: 28.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001635/0.2481, allocations: 0.8423 MB / 456.9 MB, free: 28.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2481, allocations: 6.281 kB / 456.9 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2481, allocations: 1.156 kB / 456.9 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2481, allocations: 5.156 kB / 456.9 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/0.2535, allocations: 0.8994 MB / 457.8 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2535, allocations: 4.375 kB / 457.8 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.2541, allocations: 54.64 kB / 457.9 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.2541, allocations: 21.77 kB / 457.9 MB, free: 28.47 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002963/0.2544, allocations: 198.8 kB / 458.1 MB, free: 28.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.423e-05/0.2545, allocations: 53 kB / 458.1 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.2563, allocations: 0.8211 MB / 458.9 MB, free: 27.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2563, allocations: 5.625 kB / 459 MB, free: 27.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2563, allocations: 4 kB / 459 MB, free: 27.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2564, allocations: 3.719 kB / 459 MB, free: 27.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.2594, allocations: 1.741 MB / 460.7 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2594, allocations: 1.094 kB / 460.7 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005424/0.2649, allocations: 0.8832 MB / 461.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.2649, allocations: 2.562 kB / 461.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.2649, allocations: 14.61 kB / 461.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.2649, allocations: 1.906 kB / 461.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.265, allocations: 0 / 461.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.2674, allocations: 1.252 MB / 462.9 MB, free: 26.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.2675, allocations: 119.5 kB / 463 MB, free: 26.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.572e-05/0.2676, allocations: 13.84 kB / 463 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.2681, allocations: 52.86 kB / 463 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.2683, allocations: 69.34 kB / 463.1 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.2683, allocations: 16.31 kB / 463.1 MB, free: 26.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002541/0.2686, allocations: 262.2 kB / 463.4 MB, free: 26.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2686, allocations: 0 / 463.4 MB, free: 26.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000494/0.2691, allocations: 144.6 kB / 463.5 MB, free: 26.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.2692, allocations: 113.9 kB / 463.6 MB, free: 26.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.2709, allocations: 0.7783 MB / 464.4 MB, free: 25.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2709, allocations: 0 / 464.4 MB, free: 25.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008023/0.2717, allocations: 409.4 kB / 464.8 MB, free: 25.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.2723, allocations: 107.4 kB / 464.9 MB, free: 25.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.2762, allocations: 2.081 MB / 467 MB, free: 24.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.2764, allocations: 0.8512 MB / 467.8 MB, free: 23.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.2768, allocations: 49.86 kB / 467.9 MB, free: 23.74 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2768, allocations: 1.031 kB / 467.9 MB, free: 23.74 MB / 350.1 MB Notification: Performance of Templates: time 0.009327/0.2861, allocations: 7.276 MB / 475.2 MB, free: 21.55 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile (rm -f AES_AES.Devel_test_models.Test_stank_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_002.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_002.sim & ./AES_AES.Devel_test_models.Test_stank_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1)