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.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001999/0.001999, allocations: 192.9 kB / 16.13 MB, free: 6.648 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2635/0.2635, allocations: 22.34 MB / 312.3 MB, free: 12.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 380.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2714, allocations: 54.94 MB / 435 MB, free: 39.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003359/0.2748, allocations: 3.446 MB / 438.5 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.276, allocations: 0.9317 MB / 439.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.2762, allocations: 5.062 kB / 439.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.2764, allocations: 48.72 kB / 439.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.2766, allocations: 152.4 kB / 439.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.277, allocations: 162.8 kB / 439.8 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.2775, allocations: 0.8036 MB / 440.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.2779, allocations: 392 kB / 441 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.2782, allocations: 285.7 kB / 441.2 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.2785, allocations: 379.9 kB / 441.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/0.2786, allocations: 50.25 kB / 441.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.2787, allocations: 54.16 kB / 441.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.2789, allocations: 179.9 kB / 441.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.2791, allocations: 312 kB / 442.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.2795, allocations: 0.7622 MB / 443 MB, free: 34.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2795, allocations: 4 kB / 443 MB, free: 34.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2795, allocations: 2.969 kB / 443 MB, free: 34.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.2796, allocations: 0 / 443 MB, free: 34.93 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.001629/0.2812, allocations: 0.8961 MB / 443.9 MB, free: 34.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.2812, allocations: 16 kB / 443.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.2813, allocations: 62.06 kB / 443.9 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.2818, allocations: 393.2 kB / 444.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.2819, allocations: 109.4 kB / 444.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.71e-05/0.282, allocations: 48.88 kB / 444.5 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.2833, allocations: 0.6877 MB / 445.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2833, allocations: 0 / 445.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.2834, allocations: 14.75 kB / 445.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.2834, allocations: 18.47 kB / 445.2 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.2847, allocations: 0.6046 MB / 445.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004382/0.2891, allocations: 2.603 MB / 448.4 MB, free: 32.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009466/0.29, allocations: 0.5285 MB / 448.9 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/0.2908, allocations: 399.7 kB / 449.3 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.2908, allocations: 9.781 kB / 449.3 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.2909, allocations: 37.59 kB / 449.4 MB, free: 31.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.683e-06/0.2909, allocations: 0 / 449.4 MB, free: 31.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.004796/0.2957, allocations: 2.156 MB / 451.5 MB, free: 30.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.2957, allocations: 61.09 kB / 451.6 MB, free: 30.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.296, allocations: 359.7 kB / 451.9 MB, free: 30.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.2961, allocations: 32.67 kB / 452 MB, free: 30.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.2962, allocations: 235.3 kB / 452.2 MB, free: 30.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2963, allocations: 183.2 kB / 452.4 MB, free: 30.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.2965, allocations: 98.16 kB / 452.5 MB, free: 30.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.2965, allocations: 353.6 kB / 452.8 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007162/0.2973, allocations: 364.4 kB / 453.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/0.298, allocations: 415.6 kB / 453.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006171/0.3042, allocations: 1.975 MB / 455.6 MB, free: 28.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3042, allocations: 0 / 455.6 MB, free: 28.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001735/0.3059, allocations: 0.845 MB / 456.4 MB, free: 28.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.306, allocations: 6.688 kB / 456.4 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.306, allocations: 1.969 kB / 456.4 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.306, allocations: 8.812 kB / 456.4 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005387/0.3114, allocations: 0.8961 MB / 457.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.3114, allocations: 5 kB / 457.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/0.312, allocations: 58.73 kB / 457.4 MB, free: 28.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.3121, allocations: 21.05 kB / 457.4 MB, free: 28.44 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.000336/0.3124, allocations: 196.7 kB / 457.6 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.3125, allocations: 52.88 kB / 457.6 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.3144, allocations: 0.8132 MB / 458.5 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3144, allocations: 5 kB / 458.5 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3144, allocations: 1.188 kB / 458.5 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3144, allocations: 6.484 kB / 458.5 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.3175, allocations: 1.73 MB / 460.2 MB, free: 27.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3175, allocations: 4.781 kB / 460.2 MB, free: 27.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005662/0.3231, allocations: 0.8879 MB / 461.1 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.3232, allocations: 2.406 kB / 461.1 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.263e-05/0.3233, allocations: 17.03 kB / 461.1 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.3233, allocations: 11.03 kB / 461.1 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3233, allocations: 1.188 kB / 461.1 MB, free: 27.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.3259, allocations: 1.247 MB / 462.4 MB, free: 26.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.326, allocations: 119.5 kB / 462.5 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.034e-05/0.3261, allocations: 13.36 kB / 462.5 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.3266, allocations: 52.47 kB / 462.6 MB, free: 26.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.3269, allocations: 70.28 kB / 462.6 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.3269, allocations: 21.39 kB / 462.6 MB, free: 26.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.3272, allocations: 260.9 kB / 462.9 MB, free: 26.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3272, allocations: 0 / 462.9 MB, free: 26.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000504/0.3277, allocations: 140.1 kB / 463 MB, free: 26.16 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.000131/0.3278, allocations: 116 kB / 463.1 MB, free: 26.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.3296, allocations: 0.7783 MB / 463.9 MB, free: 25.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3296, allocations: 0 / 463.9 MB, free: 25.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008537/0.3305, allocations: 410.2 kB / 464.3 MB, free: 25.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.3311, allocations: 101.3 kB / 464.4 MB, free: 25.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.3352, allocations: 2.044 MB / 466.5 MB, free: 24.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3355, allocations: 0.8558 MB / 467.3 MB, free: 23.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004641/0.336, allocations: 91.17 kB / 467.4 MB, free: 23.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.3363, allocations: 47.14 kB / 467.5 MB, free: 23.73 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3363, allocations: 0 / 467.5 MB, free: 23.73 MB / 350.1 MB Notification: Performance of Templates: time 0.01257/0.3488, allocations: 7.606 MB / 475.1 MB, free: 21.45 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)