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.0009679/0.0009679, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.000992/0.000992, allocations: 169 kB / 23.82 MB, free: 0.75 MB / 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.9683/0.9683, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.06719/0.06719, allocations: 18.14 MB / 278.9 MB, free: 11.3 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.312e-06/1.312e-06, allocations: 0 / 357.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.377e-05, allocations: 2.312 kB / 357.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.00107/0.001094, allocations: 0.5947 MB / 357.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001586/0.001253, allocations: 59.91 kB / 358 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.00128, allocations: 0 / 358 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.001304, allocations: 7.938 kB / 358 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.08e-05/0.001385, allocations: 11.86 kB / 358 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.001526, allocations: 15.91 kB / 358 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.864e-05/0.001615, allocations: 43.84 kB / 358 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.001655, allocations: 4.172 kB / 358 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.001681, allocations: 19.98 kB / 358.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.001765, allocations: 19.91 kB / 358.1 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.001786, allocations: 0 / 358.1 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.001795, allocations: 4 kB / 358.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.001814, allocations: 15.92 kB / 358.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.001838, allocations: 11.98 kB / 358.1 MB, free: 7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.154e-05/0.001909, allocations: 35.81 kB / 358.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.001911, allocations: 0 / 358.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.21e-07/0.001911, allocations: 0 / 358.1 MB, free: 6.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.001916, allocations: 0 / 358.1 MB, free: 6.965 MB / 282.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.0003812/0.002297, allocations: 392.4 kB / 358.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.002332, allocations: 12.92 kB / 358.5 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.002374, allocations: 16.89 kB / 358.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.00246, allocations: 124.4 kB / 358.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.002472, allocations: 4.375 kB / 358.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.002495, allocations: 8.375 kB / 358.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.002603, allocations: 58.17 kB / 358.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.00261, allocations: 192 / 358.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.002621, allocations: 8.125 kB / 358.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.002629, allocations: 0 / 358.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.002672, allocations: 19.98 kB / 358.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.002995, allocations: 291.7 kB / 359.1 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.003191, allocations: 107 kB / 359.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.003234, allocations: 27.67 kB / 359.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.003253, allocations: 7.938 kB / 359.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.003277, allocations: 33.39 kB / 359.2 MB, free: 5.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.003278, allocations: 0 / 359.2 MB, free: 5.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002204/0.003498, allocations: 101.8 kB / 359.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.003538, allocations: 51.41 kB / 359.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.00364, allocations: 181.8 kB / 359.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.003652, allocations: 25.7 kB / 359.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.003719, allocations: 138.9 kB / 359.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.003749, allocations: 47.58 kB / 359.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.003787, allocations: 31.38 kB / 359.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.003938, allocations: 0.4923 MB / 360.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.003962, allocations: 8 kB / 360.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.004003, allocations: 39.41 kB / 360.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.004117, allocations: 79.67 kB / 360.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.00412, allocations: 0 / 360.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001153/0.004236, allocations: 105.6 kB / 360.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.004248, allocations: 4 kB / 360.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.004253, allocations: 4.031 kB / 360.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.00427, allocations: 4 kB / 360.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.004357, allocations: 31.92 kB / 360.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.004364, allocations: 0 / 360.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.004386, allocations: 4 kB / 360.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.004394, allocations: 4 kB / 360.6 MB, free: 4.324 MB / 282.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 0.0001325/0.004526, allocations: 168.5 kB / 360.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.004544, allocations: 15.94 kB / 360.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.004698, allocations: 94 kB / 360.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.004703, allocations: 8 kB / 360.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.004708, allocations: 0 / 360.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.004712, allocations: 7.922 kB / 360.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.004836, allocations: 140.5 kB / 361 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.004838, allocations: 0 / 361 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.004939, allocations: 31.97 kB / 361 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.004943, allocations: 7.938 kB / 361 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.004961, allocations: 4 kB / 361 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.004963, allocations: 4 kB / 361 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.004964, allocations: 0 / 361 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.005169, allocations: 255.8 kB / 361.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.00518, allocations: 15.88 kB / 361.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.005194, allocations: 0 / 361.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.282e-05/0.005227, allocations: 4 kB / 361.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.00525, allocations: 11.92 kB / 361.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.005254, allocations: 0 / 361.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.595e-05/0.0053, allocations: 131.2 kB / 361.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0053, allocations: 0 / 361.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.005447, allocations: 12 kB / 361.5 MB, free: 3.355 MB / 282.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 7.972e-05/0.005527, allocations: 103.2 kB / 361.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.005646, allocations: 68.19 kB / 361.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.005648, allocations: 0 / 361.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.27e-05/0.005681, allocations: 39.61 kB / 361.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.005835, allocations: 4 kB / 361.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.006172, allocations: 226.3 kB / 361.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.659e-05/0.006209, allocations: 67.41 kB / 362 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.418e-05/0.006233, allocations: 8.672 kB / 362 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.006261, allocations: 12.5 kB / 362 MB, free: 2.773 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006262, allocations: 0 / 362 MB, free: 2.773 MB / 282.7 MB Notification: Performance of Templates: time 0.001972/0.008234, allocations: 0.5675 MB / 362.5 MB, free: 2.207 MB / 282.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=240 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9036004901863635]