Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.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.002071/0.002071, 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.002415/0.002415, 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.578/1.578, 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.1069/0.1069, allocations: 24.03 MB / 333.6 MB, free: 1.59 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001") [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.002043/0.002043, allocations: 64.44 kB / 469.6 MB, free: 31.03 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.0973, allocations: 59.54 MB / 0.5167 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.004443/0.1017, allocations: 3.211 MB / 0.5199 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1034, allocations: 0.9469 MB / 0.5208 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.1036, allocations: 4 kB / 0.5208 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1038, allocations: 71.28 kB / 0.5209 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.1041, allocations: 170.7 kB / 0.521 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.1046, allocations: 195.7 kB / 0.5212 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007436/0.1054, allocations: 0.7484 MB / 0.5219 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005143/0.1059, allocations: 377.8 kB / 0.5223 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000418/0.1063, allocations: 315.1 kB / 0.5226 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005366/0.1068, allocations: 398.6 kB / 0.523 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.1069, allocations: 76 kB / 0.5231 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1071, allocations: 76 kB / 0.5231 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.1073, allocations: 207.5 kB / 0.5233 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003715/0.1076, allocations: 338.5 kB / 0.5236 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.1087, allocations: 0.7939 MB / 0.5244 GB, free: 3.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1087, allocations: 0 / 0.5244 GB, free: 3.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1087, allocations: 4 kB / 0.5244 GB, free: 3.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.1087, allocations: 4 kB / 0.5244 GB, free: 3.207 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.002035/0.1107, allocations: 0.9116 MB / 0.5253 GB, free: 2.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1107, allocations: 12.56 kB / 0.5253 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.1109, allocations: 64.56 kB / 0.5254 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005771/0.1115, allocations: 396.3 kB / 0.5258 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.1116, allocations: 108.9 kB / 0.5259 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.1117, allocations: 48.38 kB / 0.5259 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.1134, allocations: 0.6897 MB / 0.5266 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1134, allocations: 0 / 0.5266 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.1135, allocations: 24 kB / 0.5266 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.1135, allocations: 15.94 kB / 0.5266 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.115, allocations: 0.6011 MB / 0.5272 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005562/0.1206, allocations: 2.583 MB / 0.5297 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.1218, allocations: 0.5247 MB / 0.5303 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000934/0.1228, allocations: 393.4 kB / 0.5306 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.1228, allocations: 4.375 kB / 0.5306 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1229, allocations: 43.02 kB / 0.5307 GB, free: 12.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.044e-06/0.1229, allocations: 3.938 kB / 0.5307 GB, free: 12.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.006575/0.1294, allocations: 2.261 MB / 0.5329 GB, free: 10.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.1295, allocations: 59.84 kB / 0.5329 GB, free: 10.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.1299, allocations: 357.7 kB / 0.5333 GB, free: 9.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.13, allocations: 33.7 kB / 0.5333 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.1301, allocations: 232.7 kB / 0.5335 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.1303, allocations: 206.2 kB / 0.5337 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.1305, allocations: 94.19 kB / 0.5338 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1307, allocations: 362.8 kB / 0.5342 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009482/0.1317, allocations: 367 kB / 0.5345 GB, free: 8.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009894/0.1327, allocations: 420.8 kB / 0.5349 GB, free: 8.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007481/0.1401, allocations: 2.085 MB / 0.537 GB, free: 6.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1401, allocations: 0 / 0.537 GB, free: 6.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002203/0.1423, allocations: 0.8539 MB / 0.5378 GB, free: 5.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1424, allocations: 8 kB / 0.5378 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1424, allocations: 0 / 0.5378 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.1424, allocations: 8 kB / 0.5378 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006294/0.1487, allocations: 0.8973 MB / 0.5387 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.78e-05/0.1487, allocations: 11.97 kB / 0.5387 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/0.1494, allocations: 55.88 kB / 0.5387 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.091e-05/0.1495, allocations: 23.98 kB / 0.5388 GB, free: 4.152 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.0004332/0.1499, allocations: 216 kB / 0.539 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.15, allocations: 43.86 kB / 0.539 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.1522, allocations: 0.8366 MB / 0.5398 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1522, allocations: 4 kB / 0.5398 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1523, allocations: 0 / 0.5398 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1523, allocations: 3.984 kB / 0.5398 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/0.1562, allocations: 1.796 MB / 0.5416 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1562, allocations: 3.938 kB / 0.5416 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00631/0.1625, allocations: 0.8896 MB / 0.5425 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.1625, allocations: 4 kB / 0.5425 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.163e-05/0.1626, allocations: 15.98 kB / 0.5425 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.1626, allocations: 15.81 kB / 0.5425 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1626, allocations: 0 / 0.5425 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.1658, allocations: 1.269 MB / 0.5437 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.166, allocations: 124.8 kB / 0.5439 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.1661, allocations: 16.09 kB / 0.5439 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005705/0.1667, allocations: 63.8 kB / 0.5439 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.1669, allocations: 72.33 kB / 0.544 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.1669, allocations: 16 kB / 0.544 GB, free: 14.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003202/0.1672, allocations: 259.2 kB / 0.5443 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1672, allocations: 4 kB / 0.5443 GB, free: 14.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005573/0.1678, allocations: 148 kB / 0.5444 GB, free: 14.25 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.0001715/0.168, allocations: 115.1 kB / 0.5445 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.17, allocations: 0.7395 MB / 0.5452 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.1701, allocations: 4.438 kB / 0.5453 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.1711, allocations: 410.2 kB / 0.5456 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.1717, allocations: 107.9 kB / 0.5457 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/0.1766, allocations: 1.895 MB / 0.5476 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.1772, allocations: 0.8625 MB / 0.5484 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005076/0.1777, allocations: 92.33 kB / 0.5485 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.178, allocations: 51.41 kB / 0.5486 GB, free: 9.914 MB / 414.1 MB Notification: Performance of SimCode: time 1.313e-06/0.178, allocations: 0 / 0.5486 GB, free: 9.914 MB / 414.1 MB Notification: Performance of Templates: time 0.01666/0.1947, allocations: 8.524 MB / 0.5569 GB, free: 1.457 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.26084853336215] Failed to read output from testmodel.py, exit status != 0: 0.20311937667429447 0.21687911699999995 0.105183788 Calling exit ...