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.001411/0.001411, 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.001572/0.001572, allocations: 165.3 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 1.003/1.003, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.07051/0.07051, 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.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.563e-06/1.563e-06, allocations: 0 / 354.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.938e-05, allocations: 5.406 kB / 354.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.00156/0.001589, allocations: 0.5242 MB / 355.4 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001527/0.001742, allocations: 23.91 kB / 355.4 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.001768, allocations: 4 kB / 355.4 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.001788, allocations: 0 / 355.4 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.345e-05/0.001852, allocations: 3.938 kB / 355.4 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.001952, allocations: 3.984 kB / 355.4 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.409e-05/0.002006, allocations: 7.938 kB / 355.4 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.002049, allocations: 4 kB / 355.4 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.002079, allocations: 4 kB / 355.4 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.002133, allocations: 7.984 kB / 355.4 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.00215, allocations: 0 / 355.4 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.002158, allocations: 0 / 355.4 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.002174, allocations: 7.938 kB / 355.4 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.002197, allocations: 3.984 kB / 355.4 MB, free: 9.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.537e-05/0.002262, allocations: 7.984 kB / 355.4 MB, free: 9.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.002265, allocations: 0 / 355.4 MB, free: 9.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.002265, allocations: 0 / 355.4 MB, free: 9.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.00227, allocations: 0 / 355.4 MB, free: 9.672 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.0003892/0.002659, allocations: 348.4 kB / 355.8 MB, free: 9.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.002705, allocations: 12.92 kB / 355.8 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.002743, allocations: 5.234 kB / 355.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.002842, allocations: 108.6 kB / 355.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.002862, allocations: 4.375 kB / 355.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.002886, allocations: 4.312 kB / 355.9 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.003016, allocations: 54.94 kB / 356 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.003023, allocations: 192 / 356 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.003033, allocations: 384 / 356 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.003042, allocations: 384 / 356 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.951e-05/0.003061, allocations: 7.938 kB / 356 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.003202, allocations: 112.6 kB / 356.1 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.543e-05/0.003257, allocations: 31.08 kB / 356.1 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.00328, allocations: 19.69 kB / 356.1 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.003288, allocations: 0 / 356.1 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.003312, allocations: 33.39 kB / 356.2 MB, free: 8.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.003312, allocations: 0 / 356.2 MB, free: 8.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001398/0.003452, allocations: 49.62 kB / 356.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.003483, allocations: 51.41 kB / 356.3 MB, free: 8.695 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.003603, allocations: 161.9 kB / 356.4 MB, free: 8.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.003615, allocations: 25.7 kB / 356.5 MB, free: 8.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.003654, allocations: 126.9 kB / 356.6 MB, free: 8.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.003683, allocations: 11.94 kB / 356.6 MB, free: 8.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.003715, allocations: 19.5 kB / 356.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.003842, allocations: 0.4884 MB / 357.1 MB, free: 7.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.00386, allocations: 3.938 kB / 357.1 MB, free: 7.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-06/0.003869, allocations: 4 kB / 357.1 MB, free: 7.812 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.003923, allocations: 23.67 kB / 357.1 MB, free: 7.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.003925, allocations: 0 / 357.1 MB, free: 7.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.049e-05/0.003996, allocations: 41.66 kB / 357.2 MB, free: 7.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.004011, allocations: 8 kB / 357.2 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.004015, allocations: 0 / 357.2 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.004031, allocations: 0 / 357.2 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.004109, allocations: 15.95 kB / 357.2 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.004114, allocations: 0 / 357.2 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.004132, allocations: 7.875 kB / 357.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.004138, allocations: 4 kB / 357.2 MB, free: 7.703 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.0001979/0.004336, allocations: 152.6 kB / 357.4 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.004344, allocations: 0 / 357.4 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.004371, allocations: 11.31 kB / 357.4 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.004373, allocations: 0 / 357.4 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.004376, allocations: 0 / 357.4 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.00438, allocations: 7.938 kB / 357.4 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.826e-05/0.004468, allocations: 112.6 kB / 357.5 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.004469, allocations: 0 / 357.5 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.004528, allocations: 8 kB / 357.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.004531, allocations: 0 / 357.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.004539, allocations: 288 / 357.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.004541, allocations: 4 kB / 357.5 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.004544, allocations: 3.984 kB / 357.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.004675, allocations: 84.31 kB / 357.6 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.004691, allocations: 11.94 kB / 357.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.004703, allocations: 8.062 kB / 357.6 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.004721, allocations: 3.938 kB / 357.6 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.004749, allocations: 0 / 357.6 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.004752, allocations: 0 / 357.6 MB, free: 7.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.973e-05/0.004791, allocations: 123.2 kB / 357.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.004792, allocations: 0 / 357.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.005003, allocations: 7.938 kB / 357.7 MB, free: 7.109 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.959e-05/0.005083, allocations: 95.23 kB / 357.8 MB, free: 7.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.005169, allocations: 19.69 kB / 357.8 MB, free: 6.984 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.005171, allocations: 4 kB / 357.9 MB, free: 6.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.102e-05/0.005192, allocations: 15.62 kB / 357.9 MB, free: 6.961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.005355, allocations: 0 / 357.9 MB, free: 6.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.005625, allocations: 114.3 kB / 358 MB, free: 6.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.00566, allocations: 55.36 kB / 358 MB, free: 6.746 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.44e-05/0.005674, allocations: 0 / 358 MB, free: 6.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.005701, allocations: 8.5 kB / 358 MB, free: 6.734 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.005702, allocations: 4.062 kB / 358 MB, free: 6.73 MB / 282.7 MB Notification: Performance of Templates: time 0.002062/0.007764, allocations: 316.5 kB / 358.4 MB, free: 6.422 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: 3.0725240078754723]