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.001527/0.001527, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001285/0.001285, allocations: 165 kB / 23.82 MB, free: 0.7578 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.9768/0.9768, allocations: 177.1 MB / 204.2 MB, free: 5.211 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.08904/0.08904, allocations: 18.13 MB / 278.9 MB, free: 11.14 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 2.555e-06/2.555e-06, allocations: 0 / 357.3 MB, free: 7.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.256e-05, allocations: 6.312 kB / 357.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.002292/0.002325, allocations: 0.5937 MB / 357.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002609/0.002585, allocations: 63.84 kB / 357.9 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.00262, allocations: 0 / 357.9 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.002646, allocations: 3.938 kB / 358 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.555e-05/0.002741, allocations: 11.92 kB / 358 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.002939, allocations: 23.84 kB / 358 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.003025, allocations: 35.91 kB / 358 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.535e-05/0.00308, allocations: 192 / 358 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.00312, allocations: 27.91 kB / 358.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.849e-05/0.003218, allocations: 19.91 kB / 358.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.003239, allocations: 0 / 358.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.00325, allocations: 4 kB / 358.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.003271, allocations: 7.984 kB / 358.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.003305, allocations: 23.92 kB / 358.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.408e-05/0.00339, allocations: 27.83 kB / 358.1 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.003395, allocations: 7.984 kB / 358.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003396, allocations: 0 / 358.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.0034, allocations: 0 / 358.1 MB, free: 6.938 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.0004697/0.00387, allocations: 388.4 kB / 358.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.003916, allocations: 12.92 kB / 358.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.003968, allocations: 12.89 kB / 358.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.004086, allocations: 124.5 kB / 358.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.004101, allocations: 4.375 kB / 358.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.004134, allocations: 8.375 kB / 358.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.00426, allocations: 62.22 kB / 358.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.004269, allocations: 192 / 358.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.004281, allocations: 4.125 kB / 358.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.00429, allocations: 0 / 358.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.462e-05/0.004354, allocations: 23.98 kB / 358.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.004795, allocations: 291.7 kB / 359.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.005101, allocations: 98.95 kB / 359.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.062e-05/0.005161, allocations: 31.67 kB / 359.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.005181, allocations: 7.938 kB / 359.2 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.005208, allocations: 33.39 kB / 359.2 MB, free: 5.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.00521, allocations: 0 / 359.2 MB, free: 5.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002186/0.005428, allocations: 101.8 kB / 359.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.005457, allocations: 51.41 kB / 359.4 MB, free: 5.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.005548, allocations: 181.8 kB / 359.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.005558, allocations: 25.7 kB / 359.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.00562, allocations: 142.8 kB / 359.7 MB, free: 5.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.005646, allocations: 43.59 kB / 359.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.005684, allocations: 35.36 kB / 359.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.005812, allocations: 0.4923 MB / 360.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.005837, allocations: 12 kB / 360.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.005875, allocations: 31.36 kB / 360.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.005999, allocations: 90.42 kB / 360.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006001, allocations: 0 / 360.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001229/0.006124, allocations: 97.56 kB / 360.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.006137, allocations: 4 kB / 360.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006142, allocations: 0 / 360.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.006156, allocations: 8.031 kB / 360.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.006257, allocations: 31.92 kB / 360.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.006262, allocations: 0 / 360.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.006286, allocations: 8 kB / 360.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.006293, allocations: 0 / 360.6 MB, free: 4.305 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.0001203/0.006414, allocations: 171.4 kB / 360.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.006437, allocations: 16.03 kB / 360.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.006578, allocations: 105.9 kB / 360.8 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.006582, allocations: 7.984 kB / 360.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.006585, allocations: 0 / 360.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.00659, allocations: 3.984 kB / 360.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.006712, allocations: 128.6 kB / 361 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.006714, allocations: 3.984 kB / 361 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.006818, allocations: 31.98 kB / 361 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.006822, allocations: 7.938 kB / 361 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.006842, allocations: 0 / 361 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.006845, allocations: 0 / 361 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006846, allocations: 0 / 361 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.007058, allocations: 267.7 kB / 361.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.007068, allocations: 11.89 kB / 361.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.007083, allocations: 7.984 kB / 361.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.424e-05/0.007117, allocations: 0 / 361.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.007135, allocations: 4 kB / 361.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.00714, allocations: 3.984 kB / 361.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.369e-05/0.007184, allocations: 131.2 kB / 361.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007184, allocations: 0 / 361.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.007341, allocations: 16 kB / 361.5 MB, free: 3.332 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 8.586e-05/0.007427, allocations: 99.23 kB / 361.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.007554, allocations: 71.53 kB / 361.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007556, allocations: 0 / 361.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.007594, allocations: 39.61 kB / 361.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.007759, allocations: 5.312 kB / 361.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.008119, allocations: 225 kB / 361.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.552e-05/0.008154, allocations: 63.34 kB / 361.9 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.008182, allocations: 8.797 kB / 362 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.008212, allocations: 12.5 kB / 362 MB, free: 2.754 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008212, allocations: 0 / 362 MB, free: 2.754 MB / 282.7 MB Notification: Performance of Templates: time 0.002232/0.01044, allocations: 0.5531 MB / 362.5 MB, free: 2.199 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: 3.207401575986296]