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.001374/0.001374, allocations: 92.42 kB / 20.46 MB, free: 1.246 MB / 14.72 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.001406/0.001406, allocations: 223.3 kB / 23.77 MB, free: 4.422 MB / 14.72 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 1.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.1101/0.1101, allocations: 24.04 MB / 338 MB, free: 11.33 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 67.89 kB / 475.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.276, allocations: 59.58 MB / 0.5221 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.00326/0.2792, allocations: 2.946 MB / 0.525 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.2805, allocations: 0.911 MB / 0.5259 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.2806, allocations: 4.469 kB / 0.5259 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.2808, allocations: 69.36 kB / 0.526 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.2811, allocations: 174.8 kB / 0.5261 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.2815, allocations: 198.5 kB / 0.5263 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.2821, allocations: 0.7393 MB / 0.5271 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.2825, allocations: 354.1 kB / 0.5274 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.2828, allocations: 317.6 kB / 0.5277 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.2833, allocations: 346.1 kB / 0.528 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.2834, allocations: 76.66 kB / 0.5281 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.2835, allocations: 81.38 kB / 0.5282 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2836, allocations: 208.7 kB / 0.5284 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.2839, allocations: 293.6 kB / 0.5287 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006487/0.2845, allocations: 0.7977 MB / 0.5294 GB, free: 6.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2845, allocations: 0 / 0.5294 GB, free: 6.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2845, allocations: 3.938 kB / 0.5294 GB, free: 6.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.2845, allocations: 3.938 kB / 0.5294 GB, free: 6.176 MB / 382.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.001696/0.2862, allocations: 0.8431 MB / 0.5303 GB, free: 5.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.2863, allocations: 9.922 kB / 0.5303 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.2864, allocations: 65.28 kB / 0.5303 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.2869, allocations: 328.4 kB / 0.5306 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.287, allocations: 114.1 kB / 0.5308 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2871, allocations: 49.69 kB / 0.5308 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.2887, allocations: 0.7341 MB / 0.5315 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.2887, allocations: 0 / 0.5315 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/0.2887, allocations: 24.98 kB / 0.5315 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2887, allocations: 11.97 kB / 0.5316 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.2902, allocations: 0.5975 MB / 0.5321 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.295, allocations: 2.283 MB / 0.5344 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.2961, allocations: 0.5258 MB / 0.5349 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008548/0.297, allocations: 392.1 kB / 0.5353 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.297, allocations: 10.53 kB / 0.5353 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.297, allocations: 38.22 kB / 0.5353 GB, free: 3.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.753e-06/0.297, allocations: 0 / 0.5353 GB, free: 3.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.005846/0.3029, allocations: 2.178 MB / 0.5374 GB, free: 2.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.3029, allocations: 61.72 kB / 0.5375 GB, free: 2.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.3032, allocations: 283 kB / 0.5378 GB, free: 2.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.3032, allocations: 39.73 kB / 0.5378 GB, free: 1.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.3033, allocations: 240.9 kB / 0.538 GB, free: 1.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.3034, allocations: 196.8 kB / 0.5382 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.3036, allocations: 101.9 kB / 0.5383 GB, free: 1.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.3037, allocations: 349.5 kB / 0.5386 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/0.3045, allocations: 370 kB / 0.539 GB, free: 1.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008554/0.3054, allocations: 424.9 kB / 0.5394 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/0.3119, allocations: 2 MB / 0.5414 GB, free: 340 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.3119, allocations: 1.375 kB / 0.5414 GB, free: 340 kB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001813/0.3137, allocations: 0.8506 MB / 0.5422 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3138, allocations: 6.719 kB / 0.5422 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3138, allocations: 5.109 kB / 0.5422 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3138, allocations: 5.188 kB / 0.5422 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005956/0.3197, allocations: 0.8992 MB / 0.5431 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3197, allocations: 3.75 kB / 0.5431 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.3202, allocations: 57.08 kB / 0.5431 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.3203, allocations: 22.62 kB / 0.5432 GB, free: 15.54 MB / 398.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 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.0003474/0.3206, allocations: 207 kB / 0.5434 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/0.3207, allocations: 41.98 kB / 0.5434 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.3227, allocations: 0.8164 MB / 0.5442 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3228, allocations: 4.906 kB / 0.5442 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3228, allocations: 1.406 kB / 0.5442 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3228, allocations: 3.984 kB / 0.5442 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/0.3263, allocations: 1.609 MB / 0.5458 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3263, allocations: 1.781 kB / 0.5458 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006071/0.3324, allocations: 0.8979 MB / 0.5467 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3324, allocations: 3.594 kB / 0.5467 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.3325, allocations: 17.67 kB / 0.5467 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3325, allocations: 2.875 kB / 0.5467 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3325, allocations: 1.125 kB / 0.5467 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.3353, allocations: 1.272 MB / 0.5479 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.3354, allocations: 34.72 kB / 0.548 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.3355, allocations: 12.25 kB / 0.548 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.336, allocations: 59.98 kB / 0.548 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.3362, allocations: 84.33 kB / 0.5481 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.3362, allocations: 18.95 kB / 0.5481 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.3365, allocations: 201 kB / 0.5483 GB, free: 12.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3365, allocations: 1.188 kB / 0.5483 GB, free: 12.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004729/0.3369, allocations: 139.1 kB / 0.5484 GB, free: 12.47 MB / 398.1 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.0001452/0.3371, allocations: 112.2 kB / 0.5486 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.3389, allocations: 0.7462 MB / 0.5493 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3389, allocations: 1.156 kB / 0.5493 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000947/0.3399, allocations: 410 kB / 0.5497 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.3404, allocations: 80.22 kB / 0.5498 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.3447, allocations: 1.924 MB / 0.5516 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.345, allocations: 248 kB / 0.5519 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.3453, allocations: 57.47 kB / 0.5519 GB, free: 10.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3453, allocations: 5.125 kB / 0.5519 GB, free: 10.34 MB / 398.1 MB Notification: Performance of Templates: time 0.01036/0.3556, allocations: 7.148 MB / 0.5589 GB, free: 5.223 MB / 398.1 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=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.538031043950468] Failed to read output from testmodel.py, exit status != 0: 0.3638591533526778 0.378278733 0.09067642000000001 Calling exit ...