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.001026/0.001026, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001282/0.001283, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2139/0.2139, allocations: 22.34 MB / 313.4 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005428/0.000543, allocations: 12 kB / 381.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3709, allocations: 55.97 MB / 437.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004006/0.3749, allocations: 2.917 MB / 440.8 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.3777, allocations: 0.9019 MB / 441.7 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000389/0.3781, allocations: 5.062 kB / 441.7 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.3784, allocations: 46.61 kB / 441.8 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004867/0.3789, allocations: 170.8 kB / 441.9 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.3795, allocations: 142.5 kB / 442.1 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007241/0.3802, allocations: 0.7353 MB / 442.8 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.3807, allocations: 355.9 kB / 443.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.381, allocations: 261.6 kB / 443.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.3814, allocations: 362.1 kB / 443.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.66e-05/0.3815, allocations: 48.84 kB / 443.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.083e-05/0.3816, allocations: 47.06 kB / 443.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.3817, allocations: 173.8 kB / 444 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.3818, allocations: 119.8 kB / 444.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.3823, allocations: 0.5791 MB / 444.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3823, allocations: 0 / 444.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3823, allocations: 0 / 444.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.3823, allocations: 0 / 444.7 MB, free: 35.27 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.001622/0.384, allocations: 0.8071 MB / 445.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.384, allocations: 9.094 kB / 445.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.3842, allocations: 66.14 kB / 445.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.3846, allocations: 381 kB / 446 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.3848, allocations: 122.5 kB / 446.1 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/0.3849, allocations: 53.56 kB / 446.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.3863, allocations: 0.7249 MB / 446.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.3863, allocations: 0 / 446.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.3864, allocations: 17.88 kB / 446.9 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3864, allocations: 15.69 kB / 446.9 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.3877, allocations: 0.6415 MB / 447.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005022/0.3928, allocations: 2.689 MB / 450.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3938, allocations: 0.5702 MB / 450.8 MB, free: 32.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008426/0.3947, allocations: 430.2 kB / 451.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.3948, allocations: 13.8 kB / 451.3 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.3949, allocations: 38.72 kB / 451.3 MB, free: 32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.567e-06/0.3949, allocations: 3.938 kB / 451.3 MB, free: 32 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005319/0.4002, allocations: 2.339 MB / 453.6 MB, free: 31.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.4003, allocations: 58.25 kB / 453.7 MB, free: 30.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.4007, allocations: 350.3 kB / 454 MB, free: 30.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.4008, allocations: 36.61 kB / 454.1 MB, free: 30.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.4009, allocations: 232.9 kB / 454.3 MB, free: 30.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.4011, allocations: 178.6 kB / 454.5 MB, free: 30.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.4012, allocations: 9.938 kB / 454.5 MB, free: 30.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4013, allocations: 354.2 kB / 454.8 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009648/0.4023, allocations: 403.3 kB / 455.2 MB, free: 29.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009551/0.4032, allocations: 448.5 kB / 455.7 MB, free: 29.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/0.4042, allocations: 384.4 kB / 456 MB, free: 29.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4042, allocations: 0 / 456 MB, free: 29.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002029/0.4062, allocations: 0.9118 MB / 456.9 MB, free: 29.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4063, allocations: 5.719 kB / 457 MB, free: 29.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4063, allocations: 1.281 kB / 457 MB, free: 29.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4063, allocations: 11.55 kB / 457 MB, free: 29.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00553/0.4118, allocations: 1.188 MB / 458.2 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.4119, allocations: 4.562 kB / 458.2 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.4124, allocations: 75.08 kB / 458.2 MB, free: 29.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.4125, allocations: 24.7 kB / 458.3 MB, free: 29.21 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003764/0.4129, allocations: 198.9 kB / 458.4 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.413, allocations: 44.41 kB / 458.5 MB, free: 29.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.4149, allocations: 0.893 MB / 459.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.415, allocations: 8.406 kB / 459.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.415, allocations: 5.078 kB / 459.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.415, allocations: 0 / 459.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.4184, allocations: 1.82 MB / 461.2 MB, free: 27.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4185, allocations: 1.25 kB / 461.2 MB, free: 27.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005631/0.4241, allocations: 1.18 MB / 462.4 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.183e-05/0.4242, allocations: 2.562 kB / 462.4 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.4243, allocations: 16.8 kB / 462.4 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.4243, allocations: 3.297 kB / 462.4 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4243, allocations: 4 kB / 462.4 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.4273, allocations: 1.363 MB / 463.8 MB, free: 27.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.4275, allocations: 115.3 kB / 463.9 MB, free: 27.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.4277, allocations: 13.88 kB / 463.9 MB, free: 27.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/0.4282, allocations: 68.19 kB / 464 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.4284, allocations: 71.88 kB / 464.1 MB, free: 27.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.4285, allocations: 21.08 kB / 464.1 MB, free: 27.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003564/0.4289, allocations: 255.2 kB / 464.3 MB, free: 26.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4289, allocations: 3.938 kB / 464.3 MB, free: 26.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000659/0.4295, allocations: 144.1 kB / 464.5 MB, free: 26.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001807/0.4297, allocations: 118.4 kB / 464.6 MB, free: 26.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.4317, allocations: 0.8416 MB / 465.4 MB, free: 26.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4317, allocations: 0 / 465.4 MB, free: 26.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009358/0.4326, allocations: 449.1 kB / 465.9 MB, free: 26.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.4333, allocations: 103.9 kB / 466 MB, free: 26.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.438, allocations: 2.215 MB / 468.2 MB, free: 25.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.4384, allocations: 0.851 MB / 469 MB, free: 24.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000656/0.4391, allocations: 96.16 kB / 469.1 MB, free: 24.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.4394, allocations: 49.67 kB / 469.2 MB, free: 24.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4394, allocations: 1.125 kB / 469.2 MB, free: 24.39 MB / 350.1 MB Notification: Performance of Templates: time 0.01836/0.4578, allocations: 7.259 MB / 476.4 MB, free: 22.38 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)