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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 72.83 kB / 20.74 MB, free: 3.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 177 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9453/0.9453, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.069/0.069, allocations: 18.13 MB / 279.2 MB, free: 11.19 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 1.062 kB / 304.5 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.95e-05, allocations: 4.844 kB / 304.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004508/0.004528, allocations: 3.185 MB / 307.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.006753, allocations: 0.9435 MB / 308.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002196/0.006973, allocations: 4 kB / 308.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.007188, allocations: 62.98 kB / 308.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.007628, allocations: 176.9 kB / 308.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.008267, allocations: 210.6 kB / 309.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009007/0.009168, allocations: 0.7745 MB / 309.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005646/0.009732, allocations: 384.2 kB / 310.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.01023, allocations: 295.4 kB / 310.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.01071, allocations: 319.2 kB / 310.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.01083, allocations: 76 kB / 310.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.01093, allocations: 79.94 kB / 311 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.01112, allocations: 219.4 kB / 311.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.01138, allocations: 251.4 kB / 311.5 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.01199, allocations: 0.5412 MB / 312 MB, free: 10.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01199, allocations: 0 / 312 MB, free: 10.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01199, allocations: 0 / 312 MB, free: 10.44 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.012, allocations: 4 kB / 312 MB, free: 10.43 MB / 282.7 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.001386/0.01339, allocations: 0.7982 MB / 312.8 MB, free: 9.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.01343, allocations: 12.92 kB / 312.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.01357, allocations: 84.88 kB / 312.9 MB, free: 9.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.01396, allocations: 244.4 kB / 313.2 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.01409, allocations: 105 kB / 313.3 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.977e-05/0.01419, allocations: 52.38 kB / 313.3 MB, free: 9.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.01486, allocations: 458.9 kB / 313.8 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01487, allocations: 4.188 kB / 313.8 MB, free: 8.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.01493, allocations: 24.12 kB / 313.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.01494, allocations: 12 kB / 313.8 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.01536, allocations: 190.8 kB / 314 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.0185, allocations: 1.421 MB / 315.4 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.01893, allocations: 239.3 kB / 315.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.01918, allocations: 137.6 kB / 315.8 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.01923, allocations: 12.38 kB / 315.8 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.01926, allocations: 42.25 kB / 315.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 2.043e-06/0.01926, allocations: 0 / 315.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=52): time 0.002407/0.02167, allocations: 1.086 MB / 316.9 MB, free: 5.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.02171, allocations: 59.91 kB / 317 MB, free: 5.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.02192, allocations: 247 kB / 317.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.02196, allocations: 37.7 kB / 317.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.02207, allocations: 221.6 kB / 317.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.02222, allocations: 194.2 kB / 317.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.02238, allocations: 94.28 kB / 317.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.0225, allocations: 350.7 kB / 318.1 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.02272, allocations: 131.4 kB / 318.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.02297, allocations: 181.8 kB / 318.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006945/0.02366, allocations: 425.8 kB / 318.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.02366, allocations: 3.984 kB / 318.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000599/0.02426, allocations: 342.4 kB / 319.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.02428, allocations: 8 kB / 319.2 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.02429, allocations: 0 / 319.2 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.02431, allocations: 11.94 kB / 319.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002813/0.02712, allocations: 0.6205 MB / 319.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.02713, allocations: 4 kB / 319.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.02731, allocations: 39.97 kB / 319.8 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.02734, allocations: 15.98 kB / 319.8 MB, free: 2.344 MB / 282.7 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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (68): * Single equations (assignments): 68 * 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.0001751/0.02751, allocations: 168.6 kB / 320 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.02758, allocations: 35.97 kB / 320 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004125/0.02799, allocations: 378.4 kB / 320.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.028, allocations: 11.94 kB / 320.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.028, allocations: 0 / 320.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.02801, allocations: 3.984 kB / 320.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.02904, allocations: 0.8101 MB / 321.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.02904, allocations: 11.97 kB / 321.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.03092, allocations: 0.6009 MB / 321.9 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.03092, allocations: 4 kB / 321.9 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.03096, allocations: 8 kB / 321.9 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.03096, allocations: 3.984 kB / 321.9 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.03096, allocations: 4 kB / 321.9 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.03158, allocations: 0.5842 MB / 322.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.03161, allocations: 31.7 kB / 322.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.03166, allocations: 12 kB / 322.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.03183, allocations: 35.97 kB / 322.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.03192, allocations: 76.34 kB / 322.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.03195, allocations: 12 kB / 322.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.624e-05/0.03201, allocations: 92.62 kB / 322.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03201, allocations: 0 / 322.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.03229, allocations: 140 kB / 322.8 MB, free: 15.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (53): * Single equations (assignments): 53 * 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.0001053/0.03239, allocations: 104.3 kB / 322.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.03277, allocations: 328.5 kB / 323.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.03277, allocations: 4 kB / 323.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.03296, allocations: 180.6 kB / 323.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.03324, allocations: 108 kB / 323.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.03503, allocations: 1.266 MB / 324.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.498e-05/0.0351, allocations: 126.5 kB / 324.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.03529, allocations: 63.28 kB / 325 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.03558, allocations: 155.3 kB / 325.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03558, allocations: 0 / 325.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of Templates: time 0.009272/0.04486, allocations: 8.363 MB / 333.5 MB, free: 4.648 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile [Timeout 660] (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=240 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.941766236908734]