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.001586/0.001586, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001849/0.001849, allocations: 219 kB / 23.01 MB, free: 4.609 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.13 MB / 337.3 MB, free: 11.44 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) 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.002505/0.002505, allocations: 63.91 kB / 475.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3131, allocations: 59.6 MB / 0.5224 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.005085/0.3182, allocations: 3.228 MB / 0.5256 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.3205, allocations: 0.946 MB / 0.5265 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.3209, allocations: 7.312 kB / 0.5265 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.3212, allocations: 66.06 kB / 0.5266 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.3219, allocations: 179.8 kB / 0.5267 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009089/0.3228, allocations: 197.6 kB / 0.5269 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.3242, allocations: 0.7482 MB / 0.5276 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008602/0.325, allocations: 362.5 kB / 0.528 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007694/0.3258, allocations: 314 kB / 0.5283 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009102/0.3267, allocations: 407.2 kB / 0.5287 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.327, allocations: 76.38 kB / 0.5287 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.3273, allocations: 81.94 kB / 0.5288 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.3276, allocations: 202 kB / 0.529 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006856/0.3282, allocations: 337.2 kB / 0.5293 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.3296, allocations: 0.8016 MB / 0.5301 GB, free: 6.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3296, allocations: 0 / 0.5301 GB, free: 6.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3296, allocations: 0 / 0.5301 GB, free: 6.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.403e-05/0.3296, allocations: 0 / 0.5301 GB, free: 6.137 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.00325/0.3329, allocations: 0.8392 MB / 0.5309 GB, free: 5.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.3329, allocations: 9.938 kB / 0.531 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.3332, allocations: 69.28 kB / 0.531 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.3341, allocations: 328 kB / 0.5313 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.3343, allocations: 109.4 kB / 0.5314 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.3345, allocations: 49.31 kB / 0.5315 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/0.3369, allocations: 0.6906 MB / 0.5322 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.3369, allocations: 0 / 0.5322 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.28e-05/0.337, allocations: 20.75 kB / 0.5322 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.337, allocations: 11.69 kB / 0.5322 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.3393, allocations: 0.601 MB / 0.5328 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007737/0.3471, allocations: 2.539 MB / 0.5353 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.3487, allocations: 0.5315 MB / 0.5358 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.3499, allocations: 387.8 kB / 0.5361 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.985e-05/0.35, allocations: 6.031 kB / 0.5361 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.35, allocations: 37.86 kB / 0.5362 GB, free: 3.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.866e-06/0.35, allocations: 0 / 0.5362 GB, free: 3.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.007345/0.3573, allocations: 2.186 MB / 0.5383 GB, free: 2.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3574, allocations: 58.16 kB / 0.5384 GB, free: 2.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.3578, allocations: 359.2 kB / 0.5387 GB, free: 1.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.3578, allocations: 36.2 kB / 0.5388 GB, free: 1.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3579, allocations: 239 kB / 0.539 GB, free: 1.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3581, allocations: 196.3 kB / 0.5392 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.3582, allocations: 97.67 kB / 0.5393 GB, free: 1.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.3583, allocations: 355.8 kB / 0.5396 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/0.3591, allocations: 374.9 kB / 0.54 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008342/0.36, allocations: 423.6 kB / 0.5404 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00632/0.3663, allocations: 2.008 MB / 0.5423 GB, free: 15.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3663, allocations: 0 / 0.5423 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00198/0.3683, allocations: 0.8516 MB / 0.5432 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3683, allocations: 5.094 kB / 0.5432 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3683, allocations: 10.69 kB / 0.5432 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3683, allocations: 3.594 kB / 0.5432 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005637/0.374, allocations: 0.8996 MB / 0.5441 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.374, allocations: 7.781 kB / 0.5441 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.3746, allocations: 57.47 kB / 0.5441 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.3747, allocations: 22.48 kB / 0.5441 GB, free: 15.14 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.0004397/0.3751, allocations: 209.1 kB / 0.5443 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3752, allocations: 49.53 kB / 0.5444 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.3772, allocations: 0.8265 MB / 0.5452 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3773, allocations: 10.67 kB / 0.5452 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3773, allocations: 0 / 0.5452 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.3773, allocations: 7.969 kB / 0.5452 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/0.381, allocations: 1.765 MB / 0.5469 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.381, allocations: 1.25 kB / 0.5469 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00561/0.3866, allocations: 0.8899 MB / 0.5478 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/0.3866, allocations: 3.25 kB / 0.5478 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.3867, allocations: 17.73 kB / 0.5478 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.3867, allocations: 6.688 kB / 0.5478 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3867, allocations: 1.5 kB / 0.5478 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.3896, allocations: 1.278 MB / 0.5491 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.3898, allocations: 46.95 kB / 0.5491 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.555e-05/0.3899, allocations: 8.906 kB / 0.5491 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.3904, allocations: 63.89 kB / 0.5492 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.3906, allocations: 76.08 kB / 0.5493 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.3906, allocations: 19.14 kB / 0.5493 GB, free: 12.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003199/0.391, allocations: 258.1 kB / 0.5495 GB, free: 11.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.391, allocations: 0 / 0.5495 GB, free: 11.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005372/0.3915, allocations: 145.6 kB / 0.5497 GB, free: 11.87 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.0001759/0.3917, allocations: 125.5 kB / 0.5498 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.3935, allocations: 0.7378 MB / 0.5505 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3935, allocations: 1.5 kB / 0.5505 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009061/0.3945, allocations: 410.6 kB / 0.5509 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.3951, allocations: 107.6 kB / 0.551 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.3994, allocations: 1.937 MB / 0.5529 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.3999, allocations: 0.8585 MB / 0.5537 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.4003, allocations: 53.91 kB / 0.5538 GB, free: 9.113 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4003, allocations: 0 / 0.5538 GB, free: 9.113 MB / 398.1 MB Notification: Performance of Templates: time 0.01172/0.412, allocations: 7.444 MB / 0.5611 GB, free: 3.285 MB / 398.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: 7.858870377996936] Failed to read output from testmodel.py, exit status != 0: 0.42143009207211435 0.435176435 0.10242806800000001 Calling exit ...