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: 90.83 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.007239/0.007239, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2062/0.2062, allocations: 22.34 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003867, allocations: 8.281 kB / 382.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3157, 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.002996/0.3187, allocations: 3.056 MB / 441.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3204, allocations: 0.9234 MB / 442.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.3206, allocations: 5.375 kB / 442.6 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3208, allocations: 49.7 kB / 442.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.3211, allocations: 151.7 kB / 442.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.3216, allocations: 173 kB / 442.9 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006349/0.3222, allocations: 0.7967 MB / 443.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005082/0.3228, allocations: 382.5 kB / 444.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.3231, allocations: 259.3 kB / 444.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.3235, allocations: 370.3 kB / 444.7 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.3236, allocations: 46.34 kB / 444.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.3237, allocations: 44.5 kB / 444.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.3239, allocations: 182.5 kB / 445 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.3241, allocations: 330.4 kB / 445.3 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.3247, allocations: 0.7449 MB / 446 MB, free: 34.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3247, allocations: 0 / 446 MB, free: 34.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3247, allocations: 0 / 446 MB, free: 34.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3247, allocations: 0 / 446 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.001582/0.3263, allocations: 0.7984 MB / 446.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3263, allocations: 14.47 kB / 446.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.3265, allocations: 63.97 kB / 446.9 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.3269, allocations: 386.3 kB / 447.3 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.3271, allocations: 123 kB / 447.4 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.3272, allocations: 53.59 kB / 447.5 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.3286, allocations: 0.7296 MB / 448.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3287, allocations: 3.984 kB / 448.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.3287, allocations: 17.84 kB / 448.2 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3288, allocations: 11.47 kB / 448.2 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.3302, allocations: 0.6483 MB / 448.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004657/0.3348, allocations: 2.693 MB / 451.6 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.3359, allocations: 0.5635 MB / 452.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008427/0.3368, allocations: 437.8 kB / 452.6 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.739e-05/0.3368, allocations: 14.81 kB / 452.6 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.3368, allocations: 34.94 kB / 452.6 MB, free: 31.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.964e-06/0.3369, allocations: 3.375 kB / 452.6 MB, free: 31.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005578/0.3424, allocations: 2.348 MB / 455 MB, free: 30.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.3425, allocations: 55.22 kB / 455 MB, free: 30.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.3429, allocations: 364.2 kB / 455.4 MB, free: 30.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.3429, allocations: 35.7 kB / 455.4 MB, free: 30.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3431, allocations: 223.6 kB / 455.6 MB, free: 30.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.3432, allocations: 184.5 kB / 455.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/0.3433, allocations: 52.11 kB / 455.9 MB, free: 30.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.3434, allocations: 353.5 kB / 456.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008915/0.3443, allocations: 402.4 kB / 456.6 MB, free: 29.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009118/0.3452, allocations: 454.2 kB / 457 MB, free: 29.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006922/0.3521, allocations: 2.218 MB / 459.3 MB, free: 28.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3522, allocations: 1.094 kB / 459.3 MB, free: 28.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002096/0.3543, allocations: 0.9153 MB / 460.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.3543, allocations: 5.406 kB / 460.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3543, allocations: 2.312 kB / 460.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3543, allocations: 4.188 kB / 460.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006511/0.3608, allocations: 1.19 MB / 461.4 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.3609, allocations: 8.281 kB / 461.4 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.3616, allocations: 75.83 kB / 461.5 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.3617, allocations: 19.8 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.000439/0.3621, allocations: 203.5 kB / 461.7 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.3622, allocations: 52.44 kB / 461.7 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.3647, allocations: 0.8865 MB / 462.6 MB, free: 27.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.3647, allocations: 5.75 kB / 462.6 MB, free: 27.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3648, allocations: 0 / 462.6 MB, free: 27.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3648, allocations: 4 kB / 462.6 MB, free: 27.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.3688, allocations: 1.828 MB / 464.4 MB, free: 26.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.3688, allocations: 6 kB / 464.5 MB, free: 26.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006568/0.3754, allocations: 1.175 MB / 465.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.272e-05/0.3755, allocations: 2.438 kB / 465.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.3756, allocations: 21.55 kB / 465.7 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.3756, allocations: 3.344 kB / 465.7 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3756, allocations: 4 kB / 465.7 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.3787, allocations: 1.353 MB / 467 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3789, allocations: 115.3 kB / 467.1 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.379, allocations: 17.56 kB / 467.1 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007987/0.3798, allocations: 69.58 kB / 467.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.38, allocations: 72.09 kB / 467.3 MB, free: 26.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/0.3801, allocations: 17.03 kB / 467.3 MB, free: 26.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003229/0.3804, allocations: 262.8 kB / 467.6 MB, free: 26.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3805, allocations: 0 / 467.6 MB, free: 26.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008657/0.3813, allocations: 140.4 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.0001994/0.3816, allocations: 109.5 kB / 467.8 MB, free: 25.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.3845, allocations: 0.8522 MB / 468.7 MB, free: 25.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3845, allocations: 0 / 468.7 MB, free: 25.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.386, allocations: 451 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.001097/0.3871, allocations: 96.73 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.006859/0.394, allocations: 2.234 MB / 471.4 MB, free: 24.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.3946, allocations: 0.8557 MB / 472.3 MB, free: 23.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008078/0.3954, allocations: 95.94 kB / 472.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.3958, allocations: 46.95 kB / 472.4 MB, free: 23.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.256e-06/0.3958, allocations: 0 / 472.4 MB, free: 23.53 MB / 350.1 MB Notification: Performance of Templates: time 0.02472/0.4205, allocations: 7.513 MB / 479.9 MB, free: 19.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)