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.001399/0.001399, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.001457/0.001457, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.542/1.542, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.106/0.106, allocations: 24.03 MB / 332.9 MB, free: 12.78 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.003262/0.003262, allocations: 72.19 kB / 468.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4453, allocations: 59.53 MB / 0.5154 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004233/0.4495, allocations: 3.239 MB / 0.5185 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.4513, allocations: 0.9479 MB / 0.5195 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.4516, allocations: 4.312 kB / 0.5195 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.4518, allocations: 66.53 kB / 0.5195 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.4523, allocations: 167.8 kB / 0.5197 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007208/0.453, allocations: 204.8 kB / 0.5199 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008763/0.4539, allocations: 0.7479 MB / 0.5206 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006346/0.4545, allocations: 371.5 kB / 0.521 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000555/0.455, allocations: 315.7 kB / 0.5213 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.4556, allocations: 400.6 kB / 0.5217 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.4558, allocations: 77.28 kB / 0.5217 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.4559, allocations: 76.84 kB / 0.5218 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.4561, allocations: 201.8 kB / 0.522 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.4564, allocations: 334.9 kB / 0.5223 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007945/0.4572, allocations: 0.7997 MB / 0.5231 GB, free: 5.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4572, allocations: 1.062 kB / 0.5231 GB, free: 5.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4572, allocations: 3.938 kB / 0.5231 GB, free: 5.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4572, allocations: 4 kB / 0.5231 GB, free: 5.355 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.002073/0.4593, allocations: 0.9206 MB / 0.524 GB, free: 4.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.4593, allocations: 10.16 kB / 0.524 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.4595, allocations: 65.69 kB / 0.5241 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/0.4602, allocations: 392.8 kB / 0.5245 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.4603, allocations: 110.9 kB / 0.5246 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.4605, allocations: 51.39 kB / 0.5246 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.4622, allocations: 0.6885 MB / 0.5253 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4623, allocations: 0 / 0.5253 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.4623, allocations: 16.59 kB / 0.5253 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.4623, allocations: 12.25 kB / 0.5253 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.4639, allocations: 0.602 MB / 0.5259 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005664/0.4696, allocations: 2.583 MB / 0.5284 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.4708, allocations: 0.5259 MB / 0.5289 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009936/0.4718, allocations: 396.3 kB / 0.5293 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.4718, allocations: 10.3 kB / 0.5293 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4718, allocations: 37.44 kB / 0.5294 GB, free: 2.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.585e-06/0.4718, allocations: 0.75 kB / 0.5294 GB, free: 2.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.006685/0.4785, allocations: 2.267 MB / 0.5316 GB, free: 1.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.4786, allocations: 58.53 kB / 0.5316 GB, free: 1.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/0.479, allocations: 359.4 kB / 0.532 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.4791, allocations: 35.86 kB / 0.532 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4792, allocations: 234.1 kB / 0.5322 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.4794, allocations: 193 kB / 0.5324 GB, free: 452 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.4796, allocations: 101.9 kB / 0.5325 GB, free: 396 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4797, allocations: 355.8 kB / 0.5328 GB, free: 56 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.4808, allocations: 370.1 kB / 0.5332 GB, free: 15.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.4818, allocations: 426.4 kB / 0.5336 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007664/0.4895, allocations: 2.078 MB / 0.5356 GB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4895, allocations: 0 / 0.5356 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002449/0.4919, allocations: 0.8583 MB / 0.5365 GB, free: 14.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.492, allocations: 7.891 kB / 0.5365 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.492, allocations: 1.438 kB / 0.5365 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.492, allocations: 5.047 kB / 0.5365 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006248/0.4983, allocations: 0.9035 MB / 0.5374 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/0.4983, allocations: 4.062 kB / 0.5374 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.4991, allocations: 57.22 kB / 0.5374 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.4991, allocations: 21.61 kB / 0.5375 GB, free: 14.42 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.0005648/0.4997, allocations: 214.1 kB / 0.5377 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.4998, allocations: 45.72 kB / 0.5377 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.5021, allocations: 0.835 MB / 0.5385 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.5021, allocations: 5.5 kB / 0.5385 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5021, allocations: 0 / 0.5385 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5021, allocations: 3.984 kB / 0.5385 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/0.5065, allocations: 1.799 MB / 0.5403 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5065, allocations: 2.469 kB / 0.5403 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006254/0.5128, allocations: 0.8932 MB / 0.5412 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.177e-05/0.5128, allocations: 3.469 kB / 0.5412 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.5129, allocations: 17.48 kB / 0.5412 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.5129, allocations: 7.906 kB / 0.5412 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5129, allocations: 0 / 0.5412 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/0.516, allocations: 1.273 MB / 0.5424 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.5163, allocations: 124.9 kB / 0.5425 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.5163, allocations: 21.42 kB / 0.5426 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.5169, allocations: 50.69 kB / 0.5426 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.5171, allocations: 74.08 kB / 0.5427 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.5171, allocations: 19.14 kB / 0.5427 GB, free: 11.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000399/0.5175, allocations: 257.4 kB / 0.5429 GB, free: 11.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5175, allocations: 4 kB / 0.543 GB, free: 11.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006561/0.5182, allocations: 145.4 kB / 0.5431 GB, free: 11.03 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.0001933/0.5184, allocations: 109.9 kB / 0.5432 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002445/0.5208, allocations: 0.746 MB / 0.5439 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5208, allocations: 4.375 kB / 0.5439 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.5221, allocations: 408.8 kB / 0.5443 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5231, allocations: 104 kB / 0.5444 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007427/0.5305, allocations: 1.898 MB / 0.5463 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008752/0.5314, allocations: 0.851 MB / 0.5471 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008757/0.5323, allocations: 98.91 kB / 0.5472 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.5327, allocations: 50.61 kB / 0.5472 GB, free: 8.281 MB / 398.1 MB Notification: Performance of SimCode: time 1.873e-06/0.5327, allocations: 0 / 0.5472 GB, free: 8.281 MB / 398.1 MB Notification: Performance of Templates: time 0.02963/0.5623, allocations: 8.53 MB / 0.5556 GB, free: 2.945 MB / 398.1 MB " [Timeout remaining time 659] 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: 5.432453595101833] Failed to read output from testmodel.py, exit status != 0: 0.5752823343500495 0.598934678 0.13651717700000002 Calling exit ...