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.00116/0.00116, allocations: 108 kB / 15.6 MB, free: 132 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.001546/0.001546, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2369/0.2369, allocations: 22.35 MB / 312.7 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 380.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.295, allocations: 54.95 MB / 435.8 MB, free: 39.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004321/0.2994, allocations: 3.2 MB / 439 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3013, allocations: 0.905 MB / 439.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.3015, allocations: 3.031 kB / 439.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.3018, allocations: 69.25 kB / 439.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.3021, allocations: 160.9 kB / 440.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.3027, allocations: 197.1 kB / 440.3 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006018/0.3033, allocations: 0.7425 MB / 441 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004759/0.3038, allocations: 444.9 kB / 441.5 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.3041, allocations: 310 kB / 441.8 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.3044, allocations: 387.5 kB / 442.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.752e-05/0.3045, allocations: 78.16 kB / 442.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3047, allocations: 76.53 kB / 442.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3048, allocations: 207 kB / 442.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.3051, allocations: 347 kB / 442.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005436/0.3056, allocations: 0.7785 MB / 443.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3056, allocations: 0 / 443.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3057, allocations: 0 / 443.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3057, allocations: 0 / 443.6 MB, free: 35.14 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.001724/0.3074, allocations: 0.8981 MB / 444.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3074, allocations: 8.781 kB / 444.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.3076, allocations: 67.03 kB / 444.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.3081, allocations: 389 kB / 445 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.3082, allocations: 106.2 kB / 445.1 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.049e-05/0.3083, allocations: 57.22 kB / 445.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.3096, allocations: 0.677 MB / 445.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3097, allocations: 4 kB / 445.8 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.3097, allocations: 25.34 kB / 445.8 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.3098, allocations: 20.39 kB / 445.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.3111, allocations: 0.5892 MB / 446.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004601/0.3157, allocations: 2.601 MB / 449 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.3167, allocations: 0.5369 MB / 449.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008342/0.3176, allocations: 399.5 kB / 450 MB, free: 31.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.989e-05/0.3176, allocations: 10.16 kB / 450 MB, free: 31.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3177, allocations: 40.98 kB / 450 MB, free: 31.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/0.3177, allocations: 0 / 450 MB, free: 31.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005412/0.3231, allocations: 2.157 MB / 452.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.3231, allocations: 58.31 kB / 452.2 MB, free: 30.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.3234, allocations: 363.6 kB / 452.6 MB, free: 30.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3235, allocations: 40.83 kB / 452.6 MB, free: 30.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.3236, allocations: 228.8 kB / 452.9 MB, free: 30.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.3237, allocations: 179.5 kB / 453 MB, free: 30.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.3239, allocations: 94.67 kB / 453.1 MB, free: 30.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.324, allocations: 358.9 kB / 453.5 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008013/0.3248, allocations: 367.2 kB / 453.8 MB, free: 29.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007891/0.3256, allocations: 418.9 kB / 454.2 MB, free: 29.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006392/0.332, allocations: 1.975 MB / 456.2 MB, free: 29.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.332, allocations: 5.25 kB / 456.2 MB, free: 29.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001876/0.3339, allocations: 0.8388 MB / 457.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3339, allocations: 5.625 kB / 457.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3339, allocations: 1.062 kB / 457.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3339, allocations: 5.172 kB / 457.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006061/0.34, allocations: 0.8982 MB / 458 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.34, allocations: 4.312 kB / 458 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.3406, allocations: 58.19 kB / 458 MB, free: 28.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.3407, allocations: 21.58 kB / 458.1 MB, free: 28.65 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.0004102/0.3411, allocations: 209 kB / 458.3 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3412, allocations: 48.25 kB / 458.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.3432, allocations: 0.8133 MB / 459.1 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3432, allocations: 4.844 kB / 459.1 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.3433, allocations: 2.219 kB / 459.1 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.3433, allocations: 2.25 kB / 459.1 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.3467, allocations: 1.741 MB / 460.9 MB, free: 27.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3467, allocations: 1.094 kB / 460.9 MB, free: 27.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006262/0.3529, allocations: 0.8887 MB / 461.8 MB, free: 27.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.978e-05/0.353, allocations: 2.344 kB / 461.8 MB, free: 27.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.3531, allocations: 17.02 kB / 461.8 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.3531, allocations: 1.344 kB / 461.8 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3531, allocations: 6.062 kB / 461.8 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.3565, allocations: 1.251 MB / 463 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.3567, allocations: 125.2 kB / 463.2 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.3568, allocations: 11.62 kB / 463.2 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.3574, allocations: 49.83 kB / 463.2 MB, free: 26.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.3576, allocations: 71.38 kB / 463.3 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.3576, allocations: 17.03 kB / 463.3 MB, free: 26.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003484/0.358, allocations: 266 kB / 463.6 MB, free: 26.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.358, allocations: 0 / 463.6 MB, free: 26.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007417/0.3588, allocations: 144.3 kB / 463.7 MB, free: 26.35 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.0001933/0.359, allocations: 110.4 kB / 463.8 MB, free: 26.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.3614, allocations: 0.8307 MB / 464.6 MB, free: 25.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3614, allocations: 4.062 kB / 464.6 MB, free: 25.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.3624, allocations: 406.5 kB / 465 MB, free: 25.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.363, allocations: 106.4 kB / 465.1 MB, free: 25.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.3683, allocations: 1.861 MB / 467 MB, free: 24.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/0.3691, allocations: 0.8468 MB / 467.9 MB, free: 24.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008441/0.37, allocations: 99.8 kB / 468 MB, free: 24.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.3703, allocations: 50.97 kB / 468 MB, free: 24.08 MB / 350.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3703, allocations: 1.281 kB / 468 MB, free: 24.08 MB / 350.1 MB Notification: Performance of Templates: time 0.01911/0.3895, allocations: 8.28 MB / 476.3 MB, free: 20.92 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)