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.001423/0.001423, allocations: 84.48 kB / 19.96 MB, free: 1.754 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.001549/0.001549, allocations: 163.7 kB / 23.23 MB, free: 4.883 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.612/1.612, allocations: 177.1 MB / 203.5 MB, free: 9.18 MB / 190.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.106/0.106, allocations: 18.13 MB / 278.1 MB, free: 15.06 MB / 270.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: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 415.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.344e-05, allocations: 4.812 kB / 415.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001638/0.001671, allocations: 0.5864 MB / 416.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002101/0.001882, allocations: 55.91 kB / 416.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.001914, allocations: 0 / 416.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.001935, allocations: 7.875 kB / 416.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.002014, allocations: 7.922 kB / 416.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.002176, allocations: 19.91 kB / 416.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.00226, allocations: 43.84 kB / 416.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.018e-05/0.00234, allocations: 4.188 kB / 416.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.002375, allocations: 19.97 kB / 416.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.002486, allocations: 23.91 kB / 416.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.00251, allocations: 0 / 416.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-06/0.00252, allocations: 4 kB / 416.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.002549, allocations: 11.94 kB / 416.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.002585, allocations: 11.97 kB / 416.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.002686, allocations: 35.81 kB / 416.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.002688, allocations: 0 / 416.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002689, allocations: 0 / 416.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.002693, allocations: 0 / 416.4 MB, free: 1.754 MB / 334.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.0006767/0.00337, allocations: 302 kB / 416.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.003415, allocations: 8.922 kB / 416.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.003458, allocations: 8.891 kB / 416.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.003597, allocations: 117.6 kB / 416.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.003617, allocations: 4.375 kB / 416.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.003652, allocations: 8.359 kB / 416.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.003831, allocations: 70.17 kB / 416.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.003841, allocations: 192 / 416.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.003857, allocations: 4.125 kB / 416.9 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.003864, allocations: 7.984 kB / 416.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.003949, allocations: 35.92 kB / 416.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.004523, allocations: 236.5 kB / 417.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.004862, allocations: 94.53 kB / 417.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/0.004933, allocations: 32.84 kB / 417.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.004957, allocations: 3.938 kB / 417.3 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.004986, allocations: 34.56 kB / 417.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.004987, allocations: 0 / 417.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003076/0.005295, allocations: 105.8 kB / 417.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.005351, allocations: 59.41 kB / 417.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.005583, allocations: 117.8 kB / 417.6 MB, free: 400 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.005604, allocations: 25.7 kB / 417.6 MB, free: 368 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.005684, allocations: 96.11 kB / 417.7 MB, free: 268 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.005724, allocations: 35.66 kB / 417.8 MB, free: 232 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.005773, allocations: 29.7 kB / 417.8 MB, free: 196 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.005961, allocations: 318.8 kB / 418.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.006004, allocations: 20.05 kB / 418.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.359e-05/0.006068, allocations: 38.08 kB / 418.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.006527, allocations: 129.5 kB / 418.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006529, allocations: 0 / 418.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001739/0.006702, allocations: 105.6 kB / 418.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.006722, allocations: 11.98 kB / 418.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006727, allocations: 0 / 418.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.006745, allocations: 0 / 418.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.006884, allocations: 31.92 kB / 418.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.006895, allocations: 4 kB / 418.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.006943, allocations: 11.92 kB / 418.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.006952, allocations: 8 kB / 418.5 MB, free: 15.5 MB / 350.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.0001591/0.007112, allocations: 117.8 kB / 418.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.007146, allocations: 11.89 kB / 418.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.007363, allocations: 106 kB / 418.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007365, allocations: 3.938 kB / 418.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.007369, allocations: 0 / 418.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.007372, allocations: 4 kB / 418.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.007552, allocations: 129.2 kB / 418.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.007554, allocations: 0 / 418.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.007727, allocations: 27.98 kB / 418.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.007733, allocations: 3.938 kB / 418.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.007748, allocations: 8 kB / 418.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007749, allocations: 0 / 418.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.007753, allocations: 3.984 kB / 418.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.008124, allocations: 217.5 kB / 419.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.008149, allocations: 15.89 kB / 419.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.008165, allocations: 3.938 kB / 419.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.008234, allocations: 8 kB / 419.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.008266, allocations: 4.031 kB / 419.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.008275, allocations: 8 kB / 419.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.701e-05/0.008332, allocations: 91.27 kB / 419.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008332, allocations: 0 / 419.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.008564, allocations: 12 kB / 419.2 MB, free: 14.68 MB / 350.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.0001134/0.008677, allocations: 99.19 kB / 419.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.00888, allocations: 65 kB / 419.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.008886, allocations: 64 / 419.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.008943, allocations: 39.92 kB / 419.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.009164, allocations: 4 kB / 419.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.009642, allocations: 205.3 kB / 419.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.897e-05/0.009721, allocations: 79.33 kB / 419.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.009756, allocations: 12.75 kB / 419.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.00981, allocations: 20.5 kB / 419.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.009811, allocations: 0 / 419.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Templates: time 0.003371/0.01318, allocations: 0.5264 MB / 420.3 MB, free: 13.58 MB / 350.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: 4.848468981683254] Failed to read output from testmodel.py, exit status != 0: 0.02266261726617813 0.038053695000000005 0.032069661 Calling exit ...