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.001602/0.001602, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.0026/0.0026, allocations: 210.9 kB / 23.01 MB, free: 4.992 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.57/1.57, allocations: 230.6 MB / 256.8 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.1278/0.1278, allocations: 24.03 MB / 337.2 MB, free: 11.45 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.002374/0.002374, allocations: 59.91 kB / 474.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4414, allocations: 59.58 MB / 0.5214 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004244/0.4457, allocations: 2.947 MB / 0.5243 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.4476, allocations: 0.9069 MB / 0.5252 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.4479, allocations: 4.219 kB / 0.5252 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.4481, allocations: 72.03 kB / 0.5252 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.4485, allocations: 163.9 kB / 0.5254 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.4491, allocations: 201.3 kB / 0.5256 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008726/0.45, allocations: 0.7524 MB / 0.5263 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006548/0.4507, allocations: 348 kB / 0.5266 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.4513, allocations: 316.4 kB / 0.5269 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007174/0.452, allocations: 350.6 kB / 0.5273 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.4522, allocations: 77.06 kB / 0.5274 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.4524, allocations: 77.38 kB / 0.5274 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.4526, allocations: 208.2 kB / 0.5276 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.453, allocations: 294.1 kB / 0.5279 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.4542, allocations: 0.797 MB / 0.5287 GB, free: 6.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.4542, allocations: 1.641 kB / 0.5287 GB, free: 6.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4542, allocations: 4 kB / 0.5287 GB, free: 6.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.4542, allocations: 3.938 kB / 0.5287 GB, free: 6.105 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.001997/0.4562, allocations: 0.838 MB / 0.5295 GB, free: 5.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4563, allocations: 9.859 kB / 0.5295 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.4564, allocations: 66.52 kB / 0.5296 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006104/0.457, allocations: 330.9 kB / 0.5299 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.4572, allocations: 113.5 kB / 0.53 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.4573, allocations: 50.27 kB / 0.5301 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.4591, allocations: 0.7382 MB / 0.5308 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.4592, allocations: 1.156 kB / 0.5308 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.737e-05/0.4592, allocations: 16.28 kB / 0.5308 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.4593, allocations: 12.56 kB / 0.5308 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.4608, allocations: 0.6041 MB / 0.5314 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005272/0.4661, allocations: 2.275 MB / 0.5336 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.4672, allocations: 0.528 MB / 0.5341 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008818/0.4681, allocations: 392 kB / 0.5345 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.4682, allocations: 6.375 kB / 0.5345 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.4682, allocations: 38.53 kB / 0.5346 GB, free: 3.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.284e-06/0.4682, allocations: 4.094 kB / 0.5346 GB, free: 3.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.006325/0.4745, allocations: 2.184 MB / 0.5367 GB, free: 2.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.4746, allocations: 58.38 kB / 0.5367 GB, free: 2.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.4749, allocations: 281.9 kB / 0.537 GB, free: 1.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.475, allocations: 37.17 kB / 0.5371 GB, free: 1.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.4751, allocations: 240.2 kB / 0.5373 GB, free: 1.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.4752, allocations: 198.7 kB / 0.5375 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.4754, allocations: 101.6 kB / 0.5376 GB, free: 1.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.4755, allocations: 348.4 kB / 0.5379 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008541/0.4764, allocations: 373.1 kB / 0.5383 GB, free: 1.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008915/0.4772, allocations: 425.6 kB / 0.5387 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00701/0.4843, allocations: 2.002 MB / 0.5406 GB, free: 260 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4843, allocations: 1.375 kB / 0.5406 GB, free: 260 kB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002055/0.4863, allocations: 0.851 MB / 0.5414 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4863, allocations: 10 kB / 0.5415 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4864, allocations: 2.438 kB / 0.5415 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.4864, allocations: 3.75 kB / 0.5415 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005718/0.4921, allocations: 0.9025 MB / 0.5423 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.4921, allocations: 5.688 kB / 0.5423 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/0.4927, allocations: 52.34 kB / 0.5424 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.4928, allocations: 26.53 kB / 0.5424 GB, free: 15.46 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.000459/0.4932, allocations: 199.2 kB / 0.5426 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4933, allocations: 38.2 kB / 0.5427 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.4954, allocations: 0.8192 MB / 0.5435 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.4954, allocations: 9.312 kB / 0.5435 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4954, allocations: 1.219 kB / 0.5435 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4954, allocations: 3.984 kB / 0.5435 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.4991, allocations: 1.605 MB / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4991, allocations: 5.688 kB / 0.545 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005713/0.5048, allocations: 0.882 MB / 0.5459 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/0.5048, allocations: 7.828 kB / 0.5459 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.88e-05/0.5049, allocations: 25.58 kB / 0.5459 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.505, allocations: 7.375 kB / 0.5459 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.505, allocations: 1.156 kB / 0.5459 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.508, allocations: 1.267 MB / 0.5472 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.5082, allocations: 39.89 kB / 0.5472 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.269e-05/0.5083, allocations: 16.64 kB / 0.5472 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.5088, allocations: 52.19 kB / 0.5473 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.509, allocations: 83.8 kB / 0.5474 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.509, allocations: 18.86 kB / 0.5474 GB, free: 12.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000292/0.5093, allocations: 197.2 kB / 0.5476 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5093, allocations: 0 / 0.5476 GB, free: 12.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007175/0.51, allocations: 144.7 kB / 0.5477 GB, free: 12.4 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.0002027/0.5103, allocations: 115.6 kB / 0.5478 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.5124, allocations: 0.7466 MB / 0.5485 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5124, allocations: 0 / 0.5485 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009365/0.5134, allocations: 409.6 kB / 0.5489 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.514, allocations: 84.69 kB / 0.549 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.5188, allocations: 1.881 MB / 0.5509 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5192, allocations: 256.4 kB / 0.5511 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005513/0.5197, allocations: 83.95 kB / 0.5512 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.52, allocations: 46.5 kB / 0.5512 GB, free: 10.27 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.52, allocations: 0 / 0.5512 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Templates: time 0.01641/0.5364, allocations: 8.459 MB / 0.5595 GB, free: 3.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.684717120602727] Failed to read output from testmodel.py, exit status != 0: 0.5458877049386501 0.559670051 0.102372374 Calling exit ...