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.0008128/0.0008128, allocations: 75.59 kB / 20.8 MB, free: 3.715 MB / 18.57 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.0008083/0.0008083, allocations: 170 kB / 24.1 MB, free: 424 kB / 18.57 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 0.8544/0.8544, allocations: 177.1 MB / 204.4 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.05834/0.05834, allocations: 18.13 MB / 279 MB, free: 11.49 MB / 266.7 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 1.172e-06/1.172e-06, allocations: 0 / 416.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.194e-05, allocations: 3.438 kB / 416.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001085/0.001107, allocations: 0.5796 MB / 417.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001402/0.001248, allocations: 65.91 kB / 417.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.001273, allocations: 0 / 417.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.001286, allocations: 7.938 kB / 417.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.001341, allocations: 6.656 kB / 417.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.001471, allocations: 17.94 kB / 417.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.076e-05/0.001532, allocations: 41.41 kB / 417.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.001569, allocations: 3.484 kB / 417.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.001592, allocations: 21.7 kB / 417.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.00167, allocations: 20.22 kB / 417.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.001691, allocations: 2.75 kB / 417.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.001699, allocations: 2.812 kB / 417.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.001714, allocations: 13.45 kB / 417.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.001738, allocations: 11.45 kB / 417.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.409e-05/0.001813, allocations: 33.95 kB / 417.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.001814, allocations: 0 / 417.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.001815, allocations: 0.7031 kB / 417.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.00182, allocations: 1.156 kB / 417.4 MB, free: 11.87 MB / 330.7 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.0002703/0.00209, allocations: 293.1 kB / 417.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.002121, allocations: 10.8 kB / 417.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.002147, allocations: 12.08 kB / 417.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.043e-05/0.002197, allocations: 119.3 kB / 417.8 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.002208, allocations: 8.547 kB / 417.8 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.002229, allocations: 3.812 kB / 417.8 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.00233, allocations: 69.75 kB / 417.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.002336, allocations: 192 / 417.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.002344, allocations: 4.125 kB / 417.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.002348, allocations: 1.5 kB / 417.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.002404, allocations: 34.41 kB / 417.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.002649, allocations: 237.7 kB / 418.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.002827, allocations: 103.8 kB / 418.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.002867, allocations: 30.98 kB / 418.3 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.002881, allocations: 6.062 kB / 418.3 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.929e-06/0.002891, allocations: 35.94 kB / 418.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.002892, allocations: 0 / 418.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001693/0.003061, allocations: 103.7 kB / 418.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.843e-05/0.00308, allocations: 52.78 kB / 418.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/0.003128, allocations: 116.9 kB / 418.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.003134, allocations: 25.7 kB / 418.6 MB, free: 10.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.003161, allocations: 88.95 kB / 418.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.003178, allocations: 50.3 kB / 418.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.003204, allocations: 24.17 kB / 418.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.569e-05/0.003229, allocations: 321.1 kB / 419.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.095e-05/0.00326, allocations: 22.73 kB / 419.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.003296, allocations: 40.17 kB / 419.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.003537, allocations: 118.4 kB / 419.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.003539, allocations: 0 / 419.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.514e-05/0.003634, allocations: 117.5 kB / 419.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.003645, allocations: 5.766 kB / 419.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.003649, allocations: 0 / 419.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.003659, allocations: 1.375 kB / 419.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.003732, allocations: 37.98 kB / 419.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.003737, allocations: 1.062 kB / 419.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.003757, allocations: 6.391 kB / 419.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.003763, allocations: 3.516 kB / 419.4 MB, free: 10.16 MB / 330.7 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 6.674e-05/0.00383, allocations: 123.8 kB / 419.6 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.003845, allocations: 12.81 kB / 419.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.003961, allocations: 107.5 kB / 419.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.003963, allocations: 2.406 kB / 419.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.003967, allocations: 0 / 419.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.00397, allocations: 1.312 kB / 419.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.637e-05/0.004057, allocations: 132.2 kB / 419.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.004058, allocations: 0 / 419.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.004157, allocations: 29.09 kB / 419.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.004159, allocations: 9.25 kB / 419.8 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.004168, allocations: 4 kB / 419.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.00417, allocations: 2.422 kB / 419.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00417, allocations: 0 / 419.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.004329, allocations: 227.2 kB / 420.1 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.004338, allocations: 11.64 kB / 420.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.004349, allocations: 1.875 kB / 420.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.275e-05/0.004382, allocations: 0 / 420.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.004398, allocations: 10.73 kB / 420.1 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.004401, allocations: 2.281 kB / 420.1 MB, free: 9.617 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.038e-05/0.004422, allocations: 95.97 kB / 420.2 MB, free: 9.535 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004422, allocations: 0 / 420.2 MB, free: 9.535 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001425/0.004564, allocations: 14.25 kB / 420.2 MB, free: 9.531 MB / 330.7 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 4.706e-05/0.004611, allocations: 93.58 kB / 420.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.004713, allocations: 64.25 kB / 420.4 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.004714, allocations: 0 / 420.4 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.004745, allocations: 36.17 kB / 420.4 MB, free: 9.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.004885, allocations: 7.359 kB / 420.4 MB, free: 9.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.005156, allocations: 209.2 kB / 420.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.005206, allocations: 77.59 kB / 420.7 MB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.394e-05/0.00523, allocations: 6.219 kB / 420.7 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.005253, allocations: 13.83 kB / 420.7 MB, free: 9.172 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.005253, allocations: 0 / 420.7 MB, free: 9.172 MB / 330.7 MB Notification: Performance of Templates: time 0.001765/0.007018, allocations: 0.5387 MB / 421.2 MB, free: 9.09 MB / 330.7 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.8336531771346927] Failed to read output from testmodel.py, exit status != 0: 0.011236351914703846 0.019467909000000002 0.015983689000000002 Calling exit ...