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.001268/0.001268, allocations: 102.9 kB / 16.27 MB, free: 5.996 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.001139/0.001139, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09684/0.09684, allocations: 22.32 MB / 313.4 MB, free: 8.984 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.64 kB / 381.5 MB, free: 41.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07321/0.07448, allocations: 54.96 MB / 436.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004088/0.0786, allocations: 3.2 MB / 439.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.08012, allocations: 0.9041 MB / 440.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.08027, allocations: 4 kB / 440.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.08048, allocations: 63.36 kB / 440.6 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.08086, allocations: 162.7 kB / 440.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.08135, allocations: 203.6 kB / 440.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006349/0.082, allocations: 0.7368 MB / 441.7 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005747/0.08258, allocations: 449.8 kB / 442.1 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.08291, allocations: 307.1 kB / 442.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.08338, allocations: 390.7 kB / 442.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.0835, allocations: 76 kB / 442.9 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.08364, allocations: 76 kB / 443 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.08383, allocations: 207.4 kB / 443.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.08414, allocations: 334.6 kB / 443.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006581/0.0848, allocations: 0.7868 MB / 444.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.08481, allocations: 0 / 444.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.08482, allocations: 0 / 444.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.08484, allocations: 4 kB / 444.3 MB, free: 5.152 MB / 318.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.001884/0.08673, allocations: 0.9042 MB / 445.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.08677, allocations: 8.031 kB / 445.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.0869, allocations: 64.28 kB / 445.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.08743, allocations: 392.1 kB / 445.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.08758, allocations: 108.9 kB / 445.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.08769, allocations: 48.38 kB / 445.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.08931, allocations: 0.6858 MB / 446.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.08933, allocations: 0 / 446.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.08941, allocations: 20 kB / 446.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.08943, allocations: 12 kB / 446.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.09096, allocations: 0.6011 MB / 447.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.09639, allocations: 2.586 MB / 449.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.09763, allocations: 0.5376 MB / 450.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009063/0.09855, allocations: 401.5 kB / 450.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.0986, allocations: 12.3 kB / 450.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.09865, allocations: 38.94 kB / 450.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 2.124e-06/0.09866, allocations: 0 / 450.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.005966/0.1046, allocations: 2.157 MB / 452.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.1047, allocations: 55.84 kB / 452.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.1051, allocations: 361.7 kB / 453.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.1051, allocations: 37.7 kB / 453.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1053, allocations: 224.4 kB / 453.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.1055, allocations: 189.3 kB / 453.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.1057, allocations: 94.23 kB / 453.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1058, allocations: 354.8 kB / 454.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009052/0.1067, allocations: 366.2 kB / 454.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009251/0.1077, allocations: 412 kB / 454.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007178/0.1148, allocations: 1.994 MB / 456.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1149, allocations: 0 / 456.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00207/0.1169, allocations: 0.8457 MB / 457.7 MB, free: 7.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.117, allocations: 8 kB / 457.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.117, allocations: 0 / 457.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.117, allocations: 4 kB / 457.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006368/0.1234, allocations: 0.9012 MB / 458.6 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.1234, allocations: 4 kB / 458.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.124, allocations: 51.94 kB / 458.7 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/0.1241, allocations: 19.98 kB / 458.7 MB, free: 6.367 MB / 334.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.0003725/0.1245, allocations: 210.5 kB / 458.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1246, allocations: 47.38 kB / 458.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.1267, allocations: 0.8211 MB / 459.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1267, allocations: 4 kB / 459.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1267, allocations: 0 / 459.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1267, allocations: 3.984 kB / 459.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/0.1304, allocations: 1.732 MB / 461.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1304, allocations: 0 / 461.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006462/0.1369, allocations: 0.8894 MB / 462.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.1369, allocations: 0 / 462.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.137, allocations: 19.98 kB / 462.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.137, allocations: 0 / 462.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.137, allocations: 7.938 kB / 462.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.1398, allocations: 1.253 MB / 463.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.14, allocations: 116.5 kB / 463.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/0.1401, allocations: 16 kB / 463.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.1406, allocations: 47.94 kB / 463.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.1409, allocations: 72.33 kB / 463.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.1409, allocations: 23.98 kB / 463.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002725/0.1412, allocations: 263.1 kB / 464.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1412, allocations: 0 / 464.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005009/0.1417, allocations: 144 kB / 464.3 MB, free: 0.6055 MB / 334.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.0001386/0.1419, allocations: 110 kB / 464.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.1441, allocations: 0.8296 MB / 465.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1441, allocations: 4 kB / 465.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009263/0.145, allocations: 406.5 kB / 465.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.1456, allocations: 109.5 kB / 465.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.15, allocations: 1.896 MB / 467.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.1505, allocations: 0.851 MB / 468.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.1508, allocations: 51.42 kB / 468.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1508, allocations: 0 / 468.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Templates: time 0.01065/0.1615, allocations: 7.276 MB / 475.9 MB, free: 5.047 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)