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.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.001649/0.001649, allocations: 106.5 kB / 16.45 MB, free: 6.457 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.00181/0.00181, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.545/1.545, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1019/0.1019, allocations: 22.7 MB / 325.4 MB, free: 3.551 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.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: Performance of FrontEnd - loaded program: time 0.003276/0.003276, allocations: 71.88 kB / 457.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1283, allocations: 58.02 MB / 0.5036 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003466/0.1318, allocations: 2.196 MB / 0.5057 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004264/0.1322, allocations: 203.1 kB / 0.5059 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1323, allocations: 15.88 kB / 0.5059 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.94e-05/0.1324, allocations: 23.72 kB / 0.506 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1326, allocations: 111.2 kB / 0.5061 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.1328, allocations: 39.95 kB / 0.5061 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.1331, allocations: 286.5 kB / 0.5064 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.1333, allocations: 116.6 kB / 0.5065 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.1335, allocations: 127.5 kB / 0.5066 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.1337, allocations: 91.58 kB / 0.5067 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.1337, allocations: 12 kB / 0.5067 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.645e-05/0.1337, allocations: 16 kB / 0.5067 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.1338, allocations: 39.78 kB / 0.5068 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1339, allocations: 107.4 kB / 0.5069 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.1342, allocations: 219 kB / 0.5071 GB, free: 3.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1342, allocations: 4 kB / 0.5071 GB, free: 3.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1342, allocations: 0 / 0.5071 GB, free: 3.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.1342, allocations: 0 / 0.5071 GB, free: 3.562 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.0007402/0.1349, allocations: 0.5099 MB / 0.5076 GB, free: 3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.135, allocations: 12.03 kB / 0.5076 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.135, allocations: 24.8 kB / 0.5076 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.1354, allocations: 276.7 kB / 0.5079 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1354, allocations: 12.38 kB / 0.5079 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1354, allocations: 16.33 kB / 0.5079 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.1357, allocations: 171.3 kB / 0.5081 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1357, allocations: 0 / 0.5081 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1357, allocations: 4 kB / 0.5081 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1358, allocations: 7.938 kB / 0.5081 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.1359, allocations: 99.89 kB / 0.5082 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009185/0.1369, allocations: 0.8057 MB / 0.509 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.137, allocations: 74.55 kB / 0.509 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.1371, allocations: 40.78 kB / 0.5091 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.1371, allocations: 0 / 0.5091 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1371, allocations: 34.56 kB / 0.5091 GB, free: 1.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.1371, allocations: 0 / 0.5091 GB, free: 1.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003043/0.1374, allocations: 133.6 kB / 0.5092 GB, free: 1.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.1375, allocations: 55.41 kB / 0.5093 GB, free: 1.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.1378, allocations: 274.9 kB / 0.5095 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1378, allocations: 25.7 kB / 0.5096 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1379, allocations: 140 kB / 0.5097 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.1379, allocations: 31.73 kB / 0.5097 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.138, allocations: 25.72 kB / 0.5098 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1381, allocations: 334.8 kB / 0.5101 GB, free: 240 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.44e-05/0.1382, allocations: 27.98 kB / 0.5101 GB, free: 212 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.1383, allocations: 50.56 kB / 0.5101 GB, free: 152 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2942/0.4325, allocations: 155.6 kB / 0.5103 GB, free: 15.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4325, allocations: 0.7812 kB / 0.5103 GB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003341/0.4328, allocations: 138.4 kB / 0.5104 GB, free: 15.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4329, allocations: 4.938 kB / 0.5104 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4329, allocations: 2.812 kB / 0.5104 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4329, allocations: 2.094 kB / 0.5104 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.4331, allocations: 27.28 kB / 0.5105 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4331, allocations: 7.047 kB / 0.5105 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.4332, allocations: 19.34 kB / 0.5105 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.4332, allocations: 2.781 kB / 0.5105 GB, free: 15.81 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.000156/0.4334, allocations: 138.9 kB / 0.5106 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.4334, allocations: 23.73 kB / 0.5106 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.4335, allocations: 26.09 kB / 0.5107 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4335, allocations: 2.562 kB / 0.5107 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4335, allocations: 2.859 kB / 0.5107 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4335, allocations: 0.6562 kB / 0.5107 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.4338, allocations: 245.6 kB / 0.5109 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4338, allocations: 2.156 kB / 0.5109 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.4339, allocations: 18.75 kB / 0.5109 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4339, allocations: 2.188 kB / 0.5109 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.4339, allocations: 4.891 kB / 0.5109 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4339, allocations: 0 / 0.5109 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4339, allocations: 2.094 kB / 0.5109 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.4342, allocations: 242.2 kB / 0.5112 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.4343, allocations: 103.1 kB / 0.5113 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.4343, allocations: 5.734 kB / 0.5113 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4344, allocations: 0.9062 kB / 0.5113 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.4344, allocations: 9.031 kB / 0.5113 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.4344, allocations: 2.734 kB / 0.5113 GB, free: 15.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.4346, allocations: 197.3 kB / 0.5115 GB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4346, allocations: 0 / 0.5115 GB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.4349, allocations: 41.44 kB / 0.5115 GB, free: 15.18 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 8.692e-05/0.435, allocations: 94.81 kB / 0.5116 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.4352, allocations: 72.98 kB / 0.5117 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4352, allocations: 0 / 0.5117 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.4352, allocations: 31.58 kB / 0.5117 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.4356, allocations: 53.08 kB / 0.5118 GB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000837/0.4364, allocations: 0.496 MB / 0.5122 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.4366, allocations: 0.7343 MB / 0.513 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.4367, allocations: 31.97 kB / 0.513 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.4367, allocations: 18.88 kB / 0.513 GB, free: 14.11 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4367, allocations: 1.094 kB / 0.513 GB, free: 14.11 MB / 382.1 MB Notification: Performance of Templates: time 0.005907/0.4426, allocations: 2.307 MB / 0.5153 GB, free: 13.96 MB / 382.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: 5.132704379968345] Failed to read output from testmodel.py, exit status != 0: 0.45233329106122255 0.46290380499999995 0.32617863299999994 Calling exit ...