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.0008107/0.0008106, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.007158/0.007158, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.495/1.495, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2243/0.2243, allocations: 22.35 MB / 313.8 MB, free: 13.02 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004018, allocations: 12 kB / 382.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3178, allocations: 55.99 MB / 438.6 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002512/0.3204, allocations: 3.069 MB / 441.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3216, allocations: 0.9114 MB / 442.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.3218, allocations: 6.906 kB / 442.6 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.3219, allocations: 49.83 kB / 442.6 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.3222, allocations: 148.7 kB / 442.8 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.3226, allocations: 172.5 kB / 442.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005211/0.3231, allocations: 0.7975 MB / 443.7 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004104/0.3235, allocations: 379.4 kB / 444.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.3238, allocations: 271.8 kB / 444.4 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.3241, allocations: 362.8 kB / 444.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.212e-05/0.3242, allocations: 48.28 kB / 444.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.021e-05/0.3243, allocations: 46.72 kB / 444.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3244, allocations: 168.6 kB / 445 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.3246, allocations: 335.1 kB / 445.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.3251, allocations: 0.7502 MB / 446 MB, free: 34.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3251, allocations: 0 / 446 MB, free: 34.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3251, allocations: 0 / 446 MB, free: 34.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3251, allocations: 0 / 446 MB, free: 34.92 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.001423/0.3265, allocations: 0.8017 MB / 446.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3266, allocations: 14.31 kB / 446.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3267, allocations: 64.47 kB / 446.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.3271, allocations: 385.1 kB / 447.3 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.3272, allocations: 110.6 kB / 447.4 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.3273, allocations: 57.5 kB / 447.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.3288, allocations: 0.7281 MB / 448.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.3288, allocations: 0 / 448.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.3289, allocations: 21.75 kB / 448.2 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3289, allocations: 11.06 kB / 448.2 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3302, allocations: 0.6412 MB / 448.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004838/0.3351, allocations: 2.694 MB / 451.6 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3361, allocations: 0.5785 MB / 452.1 MB, free: 31.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.337, allocations: 431.5 kB / 452.6 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.337, allocations: 13.69 kB / 452.6 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3371, allocations: 37.56 kB / 452.6 MB, free: 31.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.824e-06/0.3371, allocations: 0 / 452.6 MB, free: 31.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005343/0.3424, allocations: 2.336 MB / 454.9 MB, free: 30.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.3425, allocations: 56.66 kB / 455 MB, free: 30.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.3428, allocations: 369.2 kB / 455.4 MB, free: 30.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.3429, allocations: 40.92 kB / 455.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.343, allocations: 226.8 kB / 455.6 MB, free: 30.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.3431, allocations: 183.6 kB / 455.8 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.3432, allocations: 48.48 kB / 455.8 MB, free: 30.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.3433, allocations: 356.1 kB / 456.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/0.3442, allocations: 402.8 kB / 456.6 MB, free: 29.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008758/0.3451, allocations: 449.1 kB / 457 MB, free: 29.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006646/0.3517, allocations: 2.23 MB / 459.3 MB, free: 28.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3517, allocations: 1.031 kB / 459.3 MB, free: 28.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002219/0.354, allocations: 0.9078 MB / 460.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.354, allocations: 4.312 kB / 460.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.354, allocations: 11.56 kB / 460.2 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.3541, allocations: 2.875 kB / 460.2 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006522/0.3606, allocations: 1.188 MB / 461.4 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.3606, allocations: 3.516 kB / 461.4 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.3613, allocations: 74.89 kB / 461.5 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/0.3614, allocations: 22.06 kB / 461.5 MB, free: 28.38 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.0003858/0.3618, allocations: 200.5 kB / 461.7 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3619, allocations: 48.72 kB / 461.7 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.3641, allocations: 0.8881 MB / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3641, allocations: 4.406 kB / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/0.3641, allocations: 5.578 kB / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3641, allocations: 2.625 kB / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/0.3678, allocations: 1.833 MB / 464.4 MB, free: 26.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3678, allocations: 3.938 kB / 464.5 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006268/0.3741, allocations: 1.173 MB / 465.6 MB, free: 26.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/0.3741, allocations: 6.75 kB / 465.6 MB, free: 26.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.486e-05/0.3742, allocations: 13.02 kB / 465.6 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/0.3743, allocations: 2.75 kB / 465.6 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3743, allocations: 0.5156 kB / 465.6 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.3773, allocations: 1.357 MB / 467 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3775, allocations: 114.9 kB / 467.1 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3776, allocations: 14.25 kB / 467.1 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.3781, allocations: 69.33 kB / 467.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.3784, allocations: 69.16 kB / 467.3 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.3784, allocations: 16.66 kB / 467.3 MB, free: 26.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003489/0.3788, allocations: 266.3 kB / 467.5 MB, free: 26.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3788, allocations: 192 / 467.5 MB, free: 26.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006112/0.3794, allocations: 144.1 kB / 467.7 MB, free: 26.03 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.0001655/0.3796, allocations: 119.5 kB / 467.8 MB, free: 25.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.3816, allocations: 0.8533 MB / 468.7 MB, free: 25.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3816, allocations: 0 / 468.7 MB, free: 25.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009291/0.3825, allocations: 440.8 kB / 469.1 MB, free: 25.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.3832, allocations: 101.2 kB / 469.2 MB, free: 25.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.3875, allocations: 2.239 MB / 471.4 MB, free: 24.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3879, allocations: 0.8512 MB / 472.3 MB, free: 23.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004886/0.3884, allocations: 99.39 kB / 472.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.3887, allocations: 47.52 kB / 472.4 MB, free: 23.53 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3887, allocations: 0 / 472.4 MB, free: 23.53 MB / 350.1 MB Notification: Performance of Templates: time 0.01353/0.4022, allocations: 7.507 MB / 479.9 MB, free: 19.39 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)