Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M1_TimeDomain.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.002219/0.002219, allocations: 109.5 kB / 17.14 MB, free: 5.93 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.003047/0.003047, allocations: 205.1 kB / 20.11 MB, free: 2.977 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.631/1.631, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1054/0.1054, allocations: 24.03 MB / 333.6 MB, free: 1.566 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.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") [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.002189/0.002189, allocations: 69.44 kB / 468.9 MB, free: 31.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1536, allocations: 59.54 MB / 0.516 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001874/0.1554, allocations: 0.5913 MB / 0.5166 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.1557, allocations: 67.89 kB / 0.5167 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.1557, allocations: 0 / 0.5167 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.1557, allocations: 3.938 kB / 0.5167 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.1558, allocations: 3.938 kB / 0.5167 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.156, allocations: 23.91 kB / 0.5167 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.1561, allocations: 39.91 kB / 0.5168 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.1561, allocations: 8.109 kB / 0.5168 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.1562, allocations: 15.94 kB / 0.5168 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1563, allocations: 35.84 kB / 0.5168 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1563, allocations: 0 / 0.5168 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.1563, allocations: 4 kB / 0.5168 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.1563, allocations: 7.969 kB / 0.5168 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.1564, allocations: 27.81 kB / 0.5169 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.009e-05/0.1565, allocations: 27.77 kB / 0.5169 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1565, allocations: 0 / 0.5169 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1565, allocations: 4 kB / 0.5169 GB, free: 11.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1565, allocations: 0 / 0.5169 GB, free: 11.07 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005554/0.157, allocations: 375.2 kB / 0.5172 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1571, allocations: 8.625 kB / 0.5172 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.1571, allocations: 8.891 kB / 0.5173 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1573, allocations: 172.3 kB / 0.5174 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1573, allocations: 8.375 kB / 0.5174 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1573, allocations: 4.375 kB / 0.5174 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1575, allocations: 73.72 kB / 0.5175 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1575, allocations: 0 / 0.5175 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1575, allocations: 0 / 0.5175 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1575, allocations: 8 kB / 0.5175 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.1576, allocations: 35.98 kB / 0.5175 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.1581, allocations: 308.6 kB / 0.5178 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1584, allocations: 90.53 kB / 0.5179 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.1584, allocations: 36.84 kB / 0.518 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1584, allocations: 4 kB / 0.518 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1585, allocations: 30.56 kB / 0.518 GB, free: 9.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.083e-06/0.1585, allocations: 0 / 0.518 GB, free: 9.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003146/0.1588, allocations: 109.8 kB / 0.5181 GB, free: 9.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1588, allocations: 55.34 kB / 0.5182 GB, free: 9.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1589, allocations: 113.8 kB / 0.5183 GB, free: 9.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.159, allocations: 33.69 kB / 0.5183 GB, free: 9.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.159, allocations: 88.14 kB / 0.5184 GB, free: 9.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1591, allocations: 47.62 kB / 0.5184 GB, free: 9.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.1591, allocations: 25.72 kB / 0.5184 GB, free: 9.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1593, allocations: 326.8 kB / 0.5188 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.1593, allocations: 15.98 kB / 0.5188 GB, free: 8.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.1594, allocations: 41.2 kB / 0.5188 GB, free: 8.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.1598, allocations: 121.6 kB / 0.5189 GB, free: 8.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1598, allocations: 0 / 0.5189 GB, free: 8.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001717/0.1599, allocations: 105.6 kB / 0.519 GB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.16, allocations: 4 kB / 0.519 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.16, allocations: 4.375 kB / 0.519 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.16, allocations: 3.938 kB / 0.519 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.1601, allocations: 27.98 kB / 0.5191 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1601, allocations: 0 / 0.5191 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.1602, allocations: 19.86 kB / 0.5191 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1602, allocations: 8 kB / 0.5191 GB, free: 8.578 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: I:VARIABLE(start = 0.0 fixed = true ) type: Real Ta:VARIABLE(start = 10.0 fixed = true ) type: Real Tw:VARIABLE(start = 10.0 fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001855/0.1604, allocations: 122.6 kB / 0.5192 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1604, allocations: 8.062 kB / 0.5192 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.1606, allocations: 101.9 kB / 0.5193 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1606, allocations: 11.98 kB / 0.5193 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1606, allocations: 0 / 0.5193 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1606, allocations: 0 / 0.5193 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1608, allocations: 185.5 kB / 0.5195 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1608, allocations: 0 / 0.5195 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.161, allocations: 27.98 kB / 0.5195 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.161, allocations: 4 kB / 0.5195 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.161, allocations: 8 kB / 0.5195 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.161, allocations: 0 / 0.5195 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.161, allocations: 3.938 kB / 0.5195 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1613, allocations: 227.3 kB / 0.5198 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1613, allocations: 85.06 kB / 0.5198 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.1614, allocations: 0 / 0.5198 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.1614, allocations: 0 / 0.5198 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.1615, allocations: 12.03 kB / 0.5199 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1615, allocations: 4 kB / 0.5199 GB, free: 7.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.767e-05/0.1615, allocations: 91.27 kB / 0.5199 GB, free: 7.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1615, allocations: 0 / 0.5199 GB, free: 7.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1617, allocations: 20 kB / 0.52 GB, free: 7.586 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (I,Ta,Tw) * 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 (11): * Single equations (assignments): 11 * 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.000114/0.1619, allocations: 99.12 kB / 0.5201 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.162, allocations: 59.92 kB / 0.5201 GB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.162, allocations: 0 / 0.5201 GB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.451e-05/0.1621, allocations: 35.92 kB / 0.5202 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.1623, allocations: 6.188 kB / 0.5202 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.1629, allocations: 239.2 kB / 0.5204 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1632, allocations: 0.6962 MB / 0.5211 GB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.579e-05/0.1632, allocations: 8.656 kB / 0.5211 GB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.1633, allocations: 11.44 kB / 0.5211 GB, free: 6.379 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1633, allocations: 0 / 0.5211 GB, free: 6.379 MB / 382.1 MB Notification: Performance of Templates: time 0.003105/0.1664, allocations: 0.5709 MB / 0.5216 GB, free: 5.809 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; mkfifo AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; head -c 1048576 < AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe >> ../files/AES_AES.Coursework.Modelling_principles.M1_TimeDomain.sim & ./AES_AES.Coursework.Modelling_principles.M1_TimeDomain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4392663314938545] Failed to read output from testmodel.py, exit status != 0: 0.1752585507929325 0.187367103 0.028038179000000003 Calling exit ...