Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_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.00137/0.00137, allocations: 108.2 kB / 17.15 MB, free: 6.02 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.001519/0.001519, allocations: 204.5 kB / 20.11 MB, free: 3.066 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.552/1.552, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1133/0.1133, allocations: 24.03 MB / 333.6 MB, free: 1.562 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.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_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.002056/0.002056, allocations: 62.72 kB / 468.9 MB, free: 31.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1049, allocations: 59.54 MB / 0.516 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003509/0.1084, allocations: 2.201 MB / 0.5182 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004693/0.1088, allocations: 207.2 kB / 0.5184 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.109, allocations: 15.88 kB / 0.5184 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.606e-05/0.109, allocations: 27.72 kB / 0.5184 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1093, allocations: 99.17 kB / 0.5185 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.1094, allocations: 43.94 kB / 0.5186 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.1097, allocations: 290.5 kB / 0.5188 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.1099, allocations: 104.6 kB / 0.5189 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.1101, allocations: 139.5 kB / 0.5191 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1103, allocations: 87.58 kB / 0.5192 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.1103, allocations: 16 kB / 0.5192 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.163e-05/0.1104, allocations: 12 kB / 0.5192 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.1104, allocations: 39.78 kB / 0.5192 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.1105, allocations: 99.48 kB / 0.5193 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.1108, allocations: 227 kB / 0.5195 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1108, allocations: 0 / 0.5195 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1108, allocations: 0 / 0.5195 GB, free: 8.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1108, allocations: 0 / 0.5195 GB, free: 8.219 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007588/0.1116, allocations: 0.5177 MB / 0.52 GB, free: 7.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1116, allocations: 8.625 kB / 0.52 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.1117, allocations: 28.73 kB / 0.5201 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1121, allocations: 277.7 kB / 0.5203 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1121, allocations: 8.375 kB / 0.5203 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.1121, allocations: 16.36 kB / 0.5204 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.1124, allocations: 175.3 kB / 0.5205 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1124, allocations: 0 / 0.5205 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.1125, allocations: 8 kB / 0.5205 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1125, allocations: 7.938 kB / 0.5205 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.1127, allocations: 91.89 kB / 0.5206 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009257/0.1136, allocations: 0.8096 MB / 0.5214 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1138, allocations: 74.55 kB / 0.5215 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.597e-05/0.1138, allocations: 36.84 kB / 0.5215 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1139, allocations: 3.938 kB / 0.5215 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1139, allocations: 38.56 kB / 0.5216 GB, free: 5.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.1139, allocations: 0 / 0.5216 GB, free: 5.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00029/0.1142, allocations: 121.5 kB / 0.5217 GB, free: 5.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1142, allocations: 51.41 kB / 0.5217 GB, free: 5.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.1145, allocations: 271 kB / 0.522 GB, free: 5.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1145, allocations: 29.7 kB / 0.522 GB, free: 5.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1146, allocations: 144 kB / 0.5222 GB, free: 5.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1147, allocations: 35.88 kB / 0.5222 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.1147, allocations: 29.66 kB / 0.5222 GB, free: 5.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1149, allocations: 334.8 kB / 0.5225 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.1149, allocations: 23.98 kB / 0.5226 GB, free: 4.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.723e-05/0.115, allocations: 58.12 kB / 0.5226 GB, free: 4.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.1156, allocations: 162.4 kB / 0.5228 GB, free: 4.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1156, allocations: 0 / 0.5228 GB, free: 4.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002568/0.1158, allocations: 137.5 kB / 0.5229 GB, free: 4.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1159, allocations: 4 kB / 0.5229 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1159, allocations: 0 / 0.5229 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1159, allocations: 64 / 0.5229 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.116, allocations: 31.98 kB / 0.5229 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1161, allocations: 3.938 kB / 0.5229 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.1162, allocations: 15.83 kB / 0.523 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1162, allocations: 8 kB / 0.523 GB, free: 4.426 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001747/0.1163, allocations: 142.2 kB / 0.5231 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.1164, allocations: 27.86 kB / 0.5231 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.1164, allocations: 29.73 kB / 0.5232 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1164, allocations: 0 / 0.5232 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1164, allocations: 3.938 kB / 0.5232 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1164, allocations: 0 / 0.5232 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.1167, allocations: 233.6 kB / 0.5234 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1167, allocations: 3.938 kB / 0.5234 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1169, allocations: 19.98 kB / 0.5234 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1169, allocations: 0 / 0.5234 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1169, allocations: 4 kB / 0.5234 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1169, allocations: 4 kB / 0.5234 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.1169, allocations: 11.92 kB / 0.5234 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.1172, allocations: 235.3 kB / 0.5237 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.1173, allocations: 101 kB / 0.5237 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.1173, allocations: 7.984 kB / 0.5238 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1175, allocations: 0 / 0.5238 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1175, allocations: 15.92 kB / 0.5238 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1175, allocations: 0 / 0.5238 GB, free: 3.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.1177, allocations: 198 kB / 0.524 GB, free: 3.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1177, allocations: 0 / 0.524 GB, free: 3.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.118, allocations: 43.94 kB / 0.524 GB, free: 3.273 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * 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.0001071/0.1181, allocations: 95.19 kB / 0.5241 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1183, allocations: 71.91 kB / 0.5242 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1183, allocations: 0 / 0.5242 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/0.1183, allocations: 27.94 kB / 0.5242 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1187, allocations: 57.2 kB / 0.5242 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.1196, allocations: 0.4923 MB / 0.5247 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.12, allocations: 0.7363 MB / 0.5254 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1201, allocations: 30.27 kB / 0.5255 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.1202, allocations: 19.44 kB / 0.5255 GB, free: 1.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1202, allocations: 3.938 kB / 0.5255 GB, free: 1.676 MB / 382.1 MB Notification: Performance of Templates: time 0.005956/0.1261, allocations: 2.307 MB / 0.5277 GB, free: 15.41 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.675369763746858] Failed to read output from testmodel.py, exit status != 0: 0.13381163962185383 0.147595827 0.033953334 Calling exit ...