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.001391/0.001391, allocations: 110 kB / 18.93 MB, free: 2.945 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.001631/0.001631, allocations: 192.5 kB / 22.23 MB, free: 5.156 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.543/1.543, allocations: 225.6 MB / 251 MB, free: 13.01 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.1053/0.1053, allocations: 22.71 MB / 329 MB, free: 2.367 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.002215/0.002215, allocations: 63.89 kB / 463.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1324, allocations: 58.05 MB / 0.5089 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.004319/0.1368, allocations: 2.207 MB / 0.5111 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006246/0.1374, allocations: 203.2 kB / 0.5113 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.1376, allocations: 19.88 kB / 0.5113 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.1377, allocations: 27.72 kB / 0.5113 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.138, allocations: 103.2 kB / 0.5114 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.1381, allocations: 39.95 kB / 0.5115 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.1385, allocations: 290.5 kB / 0.5117 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.1388, allocations: 108.8 kB / 0.5118 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.139, allocations: 135.5 kB / 0.512 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.1392, allocations: 91.52 kB / 0.5121 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.1392, allocations: 16 kB / 0.5121 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.1393, allocations: 12 kB / 0.5121 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.1393, allocations: 31.86 kB / 0.5121 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.1394, allocations: 111.4 kB / 0.5122 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1397, allocations: 219 kB / 0.5124 GB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1397, allocations: 0 / 0.5124 GB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1397, allocations: 4 kB / 0.5124 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1397, allocations: 0 / 0.5124 GB, free: 0.8281 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.0008232/0.1406, allocations: 445 kB / 0.5129 GB, free: 368 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1406, allocations: 8.031 kB / 0.5129 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.1407, allocations: 24.8 kB / 0.5129 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.1411, allocations: 211.1 kB / 0.5131 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1411, allocations: 12.38 kB / 0.5131 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.1412, allocations: 12.38 kB / 0.5131 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2294/0.3705, allocations: 158.6 kB / 0.5133 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3706, allocations: 2.719 kB / 0.5133 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.3706, allocations: 6.875 kB / 0.5133 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.3706, allocations: 4.094 kB / 0.5133 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.3708, allocations: 93.78 kB / 0.5134 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.3717, allocations: 0.7769 MB / 0.5141 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.3719, allocations: 77.16 kB / 0.5142 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.203e-05/0.372, allocations: 40.84 kB / 0.5142 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.372, allocations: 1.031 kB / 0.5142 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.372, allocations: 36.89 kB / 0.5143 GB, free: 14.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.532e-06/0.372, allocations: 0.5625 kB / 0.5143 GB, free: 14.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003/0.3723, allocations: 124.4 kB / 0.5144 GB, free: 14.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.3723, allocations: 57.88 kB / 0.5145 GB, free: 14.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.3726, allocations: 270.3 kB / 0.5147 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.3726, allocations: 25.7 kB / 0.5147 GB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.3727, allocations: 145.4 kB / 0.5149 GB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.3727, allocations: 33.88 kB / 0.5149 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.3727, allocations: 33.14 kB / 0.5149 GB, free: 14.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.3728, allocations: 333.5 kB / 0.5153 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.3728, allocations: 28 kB / 0.5153 GB, free: 13.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.3729, allocations: 49.88 kB / 0.5153 GB, free: 13.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.3734, allocations: 158.8 kB / 0.5155 GB, free: 13.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3734, allocations: 8.141 kB / 0.5155 GB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002103/0.3736, allocations: 137.5 kB / 0.5156 GB, free: 13.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3737, allocations: 8.875 kB / 0.5156 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3737, allocations: 1.281 kB / 0.5156 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3737, allocations: 1.156 kB / 0.5156 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.3738, allocations: 28.8 kB / 0.5157 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3739, allocations: 0.5938 kB / 0.5157 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.374, allocations: 20 kB / 0.5157 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.374, allocations: 3.75 kB / 0.5157 GB, free: 13.77 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.0001525/0.3741, allocations: 142.2 kB / 0.5158 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.3742, allocations: 26.52 kB / 0.5158 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.3742, allocations: 22.62 kB / 0.5159 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3742, allocations: 1.094 kB / 0.5159 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3742, allocations: 0.5625 kB / 0.5159 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3742, allocations: 3.859 kB / 0.5159 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.3745, allocations: 213 kB / 0.5161 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3745, allocations: 2.062 kB / 0.5161 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.3746, allocations: 19.5 kB / 0.5161 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3746, allocations: 3.938 kB / 0.5161 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3746, allocations: 1.438 kB / 0.5161 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3746, allocations: 0 / 0.5161 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3746, allocations: 4.281 kB / 0.5161 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.3749, allocations: 236.8 kB / 0.5163 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.3749, allocations: 30.81 kB / 0.5164 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.375, allocations: 6.188 kB / 0.5164 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3751, allocations: 4.5 kB / 0.5164 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.3751, allocations: 9.344 kB / 0.5164 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3751, allocations: 1.062 kB / 0.5164 GB, free: 13.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.3753, allocations: 194.1 kB / 0.5166 GB, free: 13.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3753, allocations: 0 / 0.5166 GB, free: 13.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.3755, allocations: 41.72 kB / 0.5166 GB, free: 13.23 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 9.418e-05/0.3756, allocations: 91.78 kB / 0.5167 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3758, allocations: 69.97 kB / 0.5168 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3758, allocations: 4.5 kB / 0.5168 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.284e-05/0.3759, allocations: 31.38 kB / 0.5168 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3762, allocations: 60.59 kB / 0.5169 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007909/0.377, allocations: 0.4997 MB / 0.5173 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.3772, allocations: 0.7397 MB / 0.5181 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.49e-05/0.3773, allocations: 32.02 kB / 0.5181 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.3773, allocations: 17.22 kB / 0.5181 GB, free: 12.13 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3773, allocations: 0 / 0.5181 GB, free: 12.13 MB / 382.1 MB Notification: Performance of Templates: time 0.005931/0.3833, allocations: 2.361 MB / 0.5204 GB, free: 11.98 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: 4.983953347429633] Failed to read output from testmodel.py, exit status != 0: 0.39208164531737566 0.403781046 0.26131762299999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd4b41ad7b0>