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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 107.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 13.97 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.1256/0.1256, allocations: 22.7 MB / 325.4 MB, free: 3.543 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 457.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1129, allocations: 58.02 MB / 0.5036 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.004562/0.1175, allocations: 3.187 MB / 0.5067 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1193, allocations: 0.908 MB / 0.5076 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.1194, allocations: 7.938 kB / 0.5076 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1197, allocations: 63.36 kB / 0.5077 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.12, allocations: 182.7 kB / 0.5078 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.1206, allocations: 199.6 kB / 0.508 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008028/0.1214, allocations: 0.7406 MB / 0.5087 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.1219, allocations: 377.7 kB / 0.5091 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.1223, allocations: 315.1 kB / 0.5094 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005403/0.1229, allocations: 394.7 kB / 0.5098 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.123, allocations: 76 kB / 0.5099 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1231, allocations: 76 kB / 0.5099 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.1233, allocations: 207.4 kB / 0.5101 GB, free: 412 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.1236, allocations: 338.6 kB / 0.5105 GB, free: 72 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2096/0.3332, allocations: 0.8006 MB / 0.5112 GB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3332, allocations: 0.6875 kB / 0.5112 GB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3332, allocations: 0 / 0.5112 GB, free: 11.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.3332, allocations: 0 / 0.5112 GB, free: 11.96 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.001854/0.3351, allocations: 0.9076 MB / 0.5121 GB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3351, allocations: 10.06 kB / 0.5121 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.3353, allocations: 66.06 kB / 0.5122 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.3358, allocations: 389.6 kB / 0.5126 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.3359, allocations: 109.9 kB / 0.5127 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.336, allocations: 58.02 kB / 0.5127 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.3375, allocations: 0.6841 MB / 0.5134 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3375, allocations: 0 / 0.5134 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.3376, allocations: 22.38 kB / 0.5134 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3376, allocations: 13.38 kB / 0.5134 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.339, allocations: 0.6073 MB / 0.514 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005053/0.344, allocations: 2.576 MB / 0.5165 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.3452, allocations: 0.5205 MB / 0.517 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008746/0.3461, allocations: 393.6 kB / 0.5174 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.3461, allocations: 12.81 kB / 0.5174 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.3462, allocations: 40.58 kB / 0.5175 GB, free: 10.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.723e-06/0.3462, allocations: 0 / 0.5175 GB, free: 10.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.006295/0.3524, allocations: 2.255 MB / 0.5197 GB, free: 9.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.3525, allocations: 58.14 kB / 0.5197 GB, free: 9.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.3529, allocations: 358.5 kB / 0.5201 GB, free: 9.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.3529, allocations: 32.67 kB / 0.5201 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.353, allocations: 238.1 kB / 0.5203 GB, free: 8.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.3532, allocations: 199.7 kB / 0.5205 GB, free: 8.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.3534, allocations: 98.16 kB / 0.5206 GB, free: 8.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.3534, allocations: 352.2 kB / 0.5209 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008721/0.3543, allocations: 373.5 kB / 0.5213 GB, free: 8.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008926/0.3552, allocations: 429.7 kB / 0.5217 GB, free: 8.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006923/0.3621, allocations: 2.083 MB / 0.5237 GB, free: 7.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.3621, allocations: 3.938 kB / 0.5237 GB, free: 7.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001975/0.3641, allocations: 0.8524 MB / 0.5246 GB, free: 7.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3641, allocations: 12.14 kB / 0.5246 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3641, allocations: 2.25 kB / 0.5246 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3642, allocations: 4.531 kB / 0.5246 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006068/0.3702, allocations: 0.904 MB / 0.5255 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.3702, allocations: 7.562 kB / 0.5255 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/0.3709, allocations: 58.45 kB / 0.5255 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.3709, allocations: 21.41 kB / 0.5256 GB, free: 7.121 MB / 382.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.0003532/0.3713, allocations: 208.2 kB / 0.5258 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.3714, allocations: 43.2 kB / 0.5258 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.3733, allocations: 0.8226 MB / 0.5266 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.3733, allocations: 5.562 kB / 0.5266 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3733, allocations: 1.062 kB / 0.5266 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3734, allocations: 4.312 kB / 0.5266 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.3771, allocations: 1.8 MB / 0.5284 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3771, allocations: 1.094 kB / 0.5284 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0061/0.3832, allocations: 0.891 MB / 0.5292 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.981e-05/0.3832, allocations: 3.188 kB / 0.5293 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-05/0.3833, allocations: 17.98 kB / 0.5293 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.3833, allocations: 2.844 kB / 0.5293 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.3833, allocations: 9.844 kB / 0.5293 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.3862, allocations: 1.277 MB / 0.5305 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.3864, allocations: 121.2 kB / 0.5306 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.3866, allocations: 14.91 kB / 0.5307 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/0.3872, allocations: 53.66 kB / 0.5307 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.3874, allocations: 80.8 kB / 0.5308 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.3874, allocations: 20 kB / 0.5308 GB, free: 4.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003154/0.3878, allocations: 256 kB / 0.531 GB, free: 4.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3878, allocations: 0 / 0.531 GB, free: 4.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006914/0.3885, allocations: 146.2 kB / 0.5312 GB, free: 4.809 MB / 382.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.0001638/0.3886, allocations: 120.8 kB / 0.5313 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.3906, allocations: 0.7477 MB / 0.532 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3906, allocations: 0 / 0.532 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009369/0.3915, allocations: 413.2 kB / 0.5324 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.3922, allocations: 97.03 kB / 0.5325 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.3962, allocations: 1.896 MB / 0.5344 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.3965, allocations: 0.8553 MB / 0.5352 GB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004112/0.3969, allocations: 102.2 kB / 0.5353 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.3972, allocations: 49.8 kB / 0.5354 GB, free: 2.297 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3972, allocations: 4.562 kB / 0.5354 GB, free: 2.297 MB / 382.1 MB Notification: Performance of Templates: time 0.01505/0.4122, allocations: 8.544 MB / 0.5437 GB, free: 14.17 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_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.089283911976963] Failed to read output from testmodel.py, exit status != 0: 0.42088990937918425 0.434970263 0.098755009 Calling exit ...