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.0008176/0.0008176, allocations: 91.92 kB / 16.02 MB, free: 80 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.0008681/0.0008681, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.151/1.151, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1672/0.1672, allocations: 22.34 MB / 314.4 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002519/0.0002521, allocations: 11.98 kB / 383.3 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.208, allocations: 55.97 MB / 439.2 MB, free: 39.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002083/0.2101, allocations: 3.066 MB / 442.3 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2113, allocations: 0.9199 MB / 443.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.2115, allocations: 6.156 kB / 443.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2116, allocations: 47.92 kB / 443.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.2118, allocations: 154.3 kB / 443.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.2122, allocations: 169.7 kB / 443.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004463/0.2127, allocations: 0.7972 MB / 444.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.213, allocations: 381.5 kB / 444.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.2132, allocations: 268.2 kB / 445 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.2135, allocations: 362.2 kB / 445.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.2136, allocations: 45.62 kB / 445.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.2137, allocations: 51.75 kB / 445.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-05/0.2138, allocations: 177 kB / 445.6 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.214, allocations: 326.1 kB / 446 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.2142, allocations: 0.5808 MB / 446.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2143, allocations: 0 / 446.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2143, allocations: 3 kB / 446.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2143, allocations: 0 / 446.5 MB, free: 35.26 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.001248/0.2155, allocations: 0.8074 MB / 447.4 MB, free: 34.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.2156, allocations: 12.59 kB / 447.4 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.04e-05/0.2157, allocations: 64.03 kB / 447.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.216, allocations: 394 kB / 447.8 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.703e-05/0.2161, allocations: 111.2 kB / 447.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.2162, allocations: 53.62 kB / 448 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.2175, allocations: 0.7309 MB / 448.7 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2175, allocations: 0 / 448.7 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.2175, allocations: 18.81 kB / 448.7 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2176, allocations: 16.09 kB / 448.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.2187, allocations: 0.6411 MB / 449.4 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.2227, allocations: 2.695 MB / 452.1 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009138/0.2236, allocations: 0.5673 MB / 452.6 MB, free: 32.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007082/0.2243, allocations: 440.1 kB / 453.1 MB, free: 32.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.2244, allocations: 10.16 kB / 453.1 MB, free: 32.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.2244, allocations: 41.88 kB / 453.1 MB, free: 31.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.352e-06/0.2244, allocations: 0 / 453.1 MB, free: 31.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.004583/0.229, allocations: 2.337 MB / 455.5 MB, free: 31.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.2291, allocations: 57.47 kB / 455.5 MB, free: 30.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.2293, allocations: 363.9 kB / 455.9 MB, free: 30.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.2294, allocations: 39.64 kB / 455.9 MB, free: 30.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.2295, allocations: 222.7 kB / 456.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.525e-05/0.2296, allocations: 185.5 kB / 456.3 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.2297, allocations: 48.34 kB / 456.4 MB, free: 30.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.2297, allocations: 354.4 kB / 456.7 MB, free: 30.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007681/0.2305, allocations: 405.6 kB / 457.1 MB, free: 29.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007765/0.2313, allocations: 451 kB / 457.5 MB, free: 29.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005957/0.2372, allocations: 2.214 MB / 459.8 MB, free: 29.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2372, allocations: 1.281 kB / 459.8 MB, free: 29.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001722/0.239, allocations: 0.9182 MB / 460.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.239, allocations: 6.281 kB / 460.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.239, allocations: 4.406 kB / 460.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.239, allocations: 4.188 kB / 460.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005743/0.2448, allocations: 1.188 MB / 461.9 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.2448, allocations: 4.75 kB / 461.9 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.2453, allocations: 74.11 kB / 462 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.2453, allocations: 21.7 kB / 462 MB, free: 28.71 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.0002318/0.2456, allocations: 213.7 kB / 462.2 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.2457, allocations: 48.28 kB / 462.2 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.2474, allocations: 0.8851 MB / 463.1 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2475, allocations: 8.281 kB / 463.1 MB, free: 28.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2475, allocations: 1.5 kB / 463.1 MB, free: 28.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2475, allocations: 6.297 kB / 463.1 MB, free: 28.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.2504, allocations: 1.824 MB / 465 MB, free: 27.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2505, allocations: 1.781 kB / 465 MB, free: 27.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005709/0.2562, allocations: 1.179 MB / 466.1 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.2562, allocations: 2.75 kB / 466.1 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.2562, allocations: 17.11 kB / 466.2 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2562, allocations: 2.75 kB / 466.2 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2563, allocations: 0 / 466.2 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.2587, allocations: 1.354 MB / 467.5 MB, free: 26.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.2588, allocations: 116.1 kB / 467.6 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.2589, allocations: 20.69 kB / 467.6 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.2594, allocations: 73.28 kB / 467.7 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.2595, allocations: 72.55 kB / 467.8 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.2596, allocations: 17.84 kB / 467.8 MB, free: 26.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.2598, allocations: 261.6 kB / 468.1 MB, free: 26.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2598, allocations: 0 / 468.1 MB, free: 26.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004085/0.2602, allocations: 143.8 kB / 468.2 MB, free: 26.36 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.0001005/0.2603, allocations: 113.3 kB / 468.3 MB, free: 26.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.262, allocations: 0.8472 MB / 469.2 MB, free: 26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.262, allocations: 0.9688 kB / 469.2 MB, free: 26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008269/0.2628, allocations: 446.3 kB / 469.6 MB, free: 25.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.2634, allocations: 106.9 kB / 469.7 MB, free: 25.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.267, allocations: 2.268 MB / 472 MB, free: 24.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.2672, allocations: 0.8506 MB / 472.8 MB, free: 23.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.2675, allocations: 55.55 kB / 472.9 MB, free: 23.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2675, allocations: 3.938 kB / 472.9 MB, free: 23.84 MB / 350.1 MB Notification: Performance of Templates: time 0.009379/0.2769, allocations: 7.238 MB / 480.1 MB, free: 19.9 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)