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.001957/0.001957, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.002579/0.002579, allocations: 204 kB / 20.11 MB, free: 2.977 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.576/1.576, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1068/0.1068, allocations: 24.03 MB / 333.6 MB, free: 1.582 MB / 254.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.002333/0.002333, allocations: 71.12 kB / 468.9 MB, free: 31.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1187, allocations: 59.54 MB / 0.5161 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.005524/0.1243, allocations: 3.239 MB / 0.5192 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.1268, allocations: 0.943 MB / 0.5201 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003911/0.1272, allocations: 4 kB / 0.5202 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.1275, allocations: 71.28 kB / 0.5202 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.128, allocations: 178.7 kB / 0.5204 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.1287, allocations: 191.7 kB / 0.5206 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1297, allocations: 0.7407 MB / 0.5213 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006926/0.1304, allocations: 385.7 kB / 0.5217 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005772/0.131, allocations: 315.1 kB / 0.522 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006665/0.1316, allocations: 390.7 kB / 0.5223 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.1318, allocations: 80 kB / 0.5224 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.132, allocations: 76 kB / 0.5225 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.1322, allocations: 207.4 kB / 0.5227 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.1327, allocations: 342.5 kB / 0.523 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000976/0.1336, allocations: 0.7978 MB / 0.5238 GB, free: 3.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1336, allocations: 0 / 0.5238 GB, free: 3.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1336, allocations: 0 / 0.5238 GB, free: 3.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.589e-05/0.1337, allocations: 0 / 0.5238 GB, free: 3.832 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.002284/0.136, allocations: 0.9155 MB / 0.5247 GB, free: 2.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.136, allocations: 16.61 kB / 0.5247 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1361, allocations: 68.5 kB / 0.5248 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.1368, allocations: 388.4 kB / 0.5251 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.137, allocations: 105 kB / 0.5252 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.1371, allocations: 56.38 kB / 0.5253 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.1389, allocations: 0.6857 MB / 0.526 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1389, allocations: 0 / 0.526 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.139, allocations: 24 kB / 0.526 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.139, allocations: 12 kB / 0.526 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.1408, allocations: 0.5972 MB / 0.5266 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006455/0.1472, allocations: 2.575 MB / 0.5291 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.1486, allocations: 0.5331 MB / 0.5296 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009551/0.1495, allocations: 393.3 kB / 0.53 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.1496, allocations: 4.375 kB / 0.53 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/0.1496, allocations: 42.94 kB / 0.53 GB, free: 13.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.195e-06/0.1497, allocations: 0 / 0.53 GB, free: 13.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.007061/0.1567, allocations: 2.27 MB / 0.5322 GB, free: 10.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.1568, allocations: 55.84 kB / 0.5323 GB, free: 10.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/0.1573, allocations: 357.7 kB / 0.5326 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.974e-05/0.1574, allocations: 33.7 kB / 0.5327 GB, free: 10.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.1576, allocations: 236.7 kB / 0.5329 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.1578, allocations: 194.3 kB / 0.5331 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.158, allocations: 102.2 kB / 0.5332 GB, free: 9.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1582, allocations: 358.8 kB / 0.5335 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009853/0.1592, allocations: 367 kB / 0.5339 GB, free: 9.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.1603, allocations: 432.7 kB / 0.5343 GB, free: 8.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007567/0.1678, allocations: 2.085 MB / 0.5363 GB, free: 6.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.1678, allocations: 0 / 0.5363 GB, free: 6.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002337/0.1702, allocations: 0.8501 MB / 0.5372 GB, free: 5.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.1702, allocations: 8 kB / 0.5372 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1702, allocations: 0 / 0.5372 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.1702, allocations: 4 kB / 0.5372 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00633/0.1766, allocations: 0.9051 MB / 0.538 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.068e-05/0.1766, allocations: 7.938 kB / 0.5381 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.1773, allocations: 55.94 kB / 0.5381 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.1774, allocations: 31.92 kB / 0.5381 GB, free: 4.77 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.0005991/0.178, allocations: 209.4 kB / 0.5383 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.1782, allocations: 51.7 kB / 0.5384 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.1805, allocations: 0.8327 MB / 0.5392 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.1806, allocations: 4 kB / 0.5392 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1806, allocations: 0 / 0.5392 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.1806, allocations: 3.984 kB / 0.5392 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.1849, allocations: 1.792 MB / 0.541 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.1849, allocations: 0 / 0.541 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006271/0.1912, allocations: 0.8895 MB / 0.5418 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.059e-05/0.1912, allocations: 4 kB / 0.5418 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.1914, allocations: 12 kB / 0.5418 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.1914, allocations: 11.92 kB / 0.5419 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1914, allocations: 7.875 kB / 0.5419 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/0.1947, allocations: 1.273 MB / 0.5431 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.195, allocations: 120.8 kB / 0.5432 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.1951, allocations: 15.98 kB / 0.5432 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.1957, allocations: 55.88 kB / 0.5433 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.1959, allocations: 84.36 kB / 0.5434 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.196, allocations: 23.98 kB / 0.5434 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.1963, allocations: 255.2 kB / 0.5436 GB, free: 15.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1963, allocations: 0 / 0.5436 GB, free: 15.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006186/0.197, allocations: 144 kB / 0.5438 GB, free: 14.88 MB / 414.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.0002198/0.1972, allocations: 111.2 kB / 0.5439 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.1994, allocations: 0.7475 MB / 0.5446 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.1994, allocations: 0 / 0.5446 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.2005, allocations: 406.6 kB / 0.545 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.2013, allocations: 109.5 kB / 0.5451 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/0.2064, allocations: 1.895 MB / 0.547 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.207, allocations: 0.8471 MB / 0.5478 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005487/0.2076, allocations: 104.3 kB / 0.5479 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.2079, allocations: 51.42 kB / 0.5479 GB, free: 10.55 MB / 414.1 MB Notification: Performance of SimCode: time 1.402e-06/0.2079, allocations: 0 / 0.5479 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Templates: time 0.01805/0.226, allocations: 8.508 MB / 0.5562 GB, free: 2.109 MB / 414.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: 5.284496087580919] Failed to read output from testmodel.py, exit status != 0: 0.23727480694651604 0.25656834100000003 0.118880778 Calling exit ...