Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld.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.001055/0.001055, allocations: 87.56 kB / 20.97 MB, free: 3.578 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.001541/0.001541, allocations: 177 kB / 24.28 MB, free: 276 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 1.019/1.019, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.06614/0.06614, allocations: 18.14 MB / 279.2 MB, free: 11.37 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.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 354.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.885e-05, allocations: 9.547 kB / 354.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001357/0.001386, allocations: 0.5243 MB / 355.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001363/0.001522, allocations: 19.92 kB / 355.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.001548, allocations: 0 / 355.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.001564, allocations: 4 kB / 355.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.001628, allocations: 7.875 kB / 355.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.835e-05/0.001727, allocations: 3.984 kB / 355.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.001781, allocations: 8 kB / 355.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.001824, allocations: 7.984 kB / 355.4 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.778e-05/0.001852, allocations: 0 / 355.4 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.001904, allocations: 11.92 kB / 355.4 MB, free: 10 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.001923, allocations: 0 / 355.4 MB, free: 10 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.00193, allocations: 0 / 355.4 MB, free: 10 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.001944, allocations: 0 / 355.4 MB, free: 10 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.001966, allocations: 4 kB / 355.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.29e-05/0.002029, allocations: 11.98 kB / 355.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.002031, allocations: 0 / 355.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.002032, allocations: 0 / 355.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.002036, allocations: 0 / 355.4 MB, free: 9.984 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000343/0.002379, allocations: 344.4 kB / 355.8 MB, free: 9.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.002416, allocations: 12.92 kB / 355.8 MB, free: 9.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.002454, allocations: 9.234 kB / 355.8 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.52e-05/0.002549, allocations: 108.6 kB / 355.9 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.002569, allocations: 384 / 355.9 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.002586, allocations: 4.312 kB / 355.9 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.002689, allocations: 50.95 kB / 356 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.002695, allocations: 192 / 356 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.002703, allocations: 4.312 kB / 356 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.002711, allocations: 384 / 356 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.475e-05/0.002726, allocations: 7.938 kB / 356 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.002845, allocations: 112.6 kB / 356.1 MB, free: 9.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.976e-05/0.002895, allocations: 31.08 kB / 356.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.002917, allocations: 19.69 kB / 356.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.002924, allocations: 0 / 356.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.002946, allocations: 41.39 kB / 356.2 MB, free: 9.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.002947, allocations: 0 / 356.2 MB, free: 9.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001314/0.003078, allocations: 37.69 kB / 356.2 MB, free: 9.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.003108, allocations: 51.41 kB / 356.3 MB, free: 9.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.704e-05/0.003186, allocations: 161.9 kB / 356.4 MB, free: 8.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.003195, allocations: 25.7 kB / 356.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.003234, allocations: 130.9 kB / 356.6 MB, free: 8.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.003266, allocations: 7.953 kB / 356.6 MB, free: 8.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.003295, allocations: 23.36 kB / 356.6 MB, free: 8.637 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.003396, allocations: 492.1 kB / 357.1 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.003409, allocations: 8.062 kB / 357.1 MB, free: 8.137 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.00342, allocations: 4.188 kB / 357.1 MB, free: 8.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.00347, allocations: 27.7 kB / 357.1 MB, free: 8.102 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.003472, allocations: 0 / 357.1 MB, free: 8.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.743e-05/0.003529, allocations: 41.66 kB / 357.2 MB, free: 8.055 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.003545, allocations: 10.81 kB / 357.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00355, allocations: 0 / 357.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.003563, allocations: 0 / 357.2 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.00365, allocations: 11.92 kB / 357.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.003657, allocations: 0 / 357.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.003671, allocations: 11.91 kB / 357.2 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.003676, allocations: 4 kB / 357.2 MB, free: 8.02 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(start = xstart fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001376/0.003814, allocations: 156.6 kB / 357.4 MB, free: 7.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.003823, allocations: 4 kB / 357.4 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.003855, allocations: 3.312 kB / 357.4 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.003858, allocations: 0 / 357.4 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.003863, allocations: 0 / 357.4 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.003871, allocations: 3.938 kB / 357.4 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.003979, allocations: 124.6 kB / 357.5 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.00398, allocations: 7.938 kB / 357.5 MB, free: 7.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.568e-05/0.004046, allocations: 4 kB / 357.5 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.004051, allocations: 4 kB / 357.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.004064, allocations: 0 / 357.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.004066, allocations: 0 / 357.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.004067, allocations: 0 / 357.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.00424, allocations: 84.31 kB / 357.6 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.004259, allocations: 7.953 kB / 357.6 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.004275, allocations: 3.984 kB / 357.6 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.004293, allocations: 0 / 357.6 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.004326, allocations: 4.062 kB / 357.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.00433, allocations: 4 kB / 357.6 MB, free: 7.551 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.184e-05/0.004361, allocations: 119.2 kB / 357.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004361, allocations: 0 / 357.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001194/0.004481, allocations: 11.94 kB / 357.7 MB, free: 7.422 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (2): * Single equations (assignments): 2 * 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.358e-05/0.004554, allocations: 95.23 kB / 357.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.866e-05/0.004633, allocations: 15.69 kB / 357.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.004635, allocations: 0 / 357.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.004654, allocations: 19.62 kB / 357.9 MB, free: 7.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.004769, allocations: 4 kB / 357.9 MB, free: 7.273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.005039, allocations: 114.3 kB / 358 MB, free: 7.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.892e-05/0.005068, allocations: 51.36 kB / 358 MB, free: 7.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.232e-05/0.005081, allocations: 0 / 358 MB, free: 7.062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.005107, allocations: 12.5 kB / 358 MB, free: 7.047 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.005108, allocations: 0 / 358 MB, free: 7.047 MB / 282.7 MB Notification: Performance of Templates: time 0.001951/0.007059, allocations: 330 kB / 358.4 MB, free: 6.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld.makefile [Timeout 660] (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.911041875835508]