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.001123/0.001123, allocations: 77.88 kB / 21.46 MB, free: 3.039 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.001303/0.001303, allocations: 167.9 kB / 24.86 MB, free: 8.887 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.096/1.096, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.06695/0.06695, allocations: 18.13 MB / 280 MB, free: 11.17 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.994e-06/1.994e-06, allocations: 0 / 356.1 MB, free: 9.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.742e-05, allocations: 2.312 kB / 356.1 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001303/0.001331, allocations: 0.5316 MB / 356.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001423/0.001473, allocations: 23.89 kB / 356.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.001508, allocations: 4 kB / 356.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.001526, allocations: 0 / 356.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.0016, allocations: 3.938 kB / 356.6 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.953e-05/0.0017, allocations: 3.938 kB / 356.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.438e-05/0.001754, allocations: 8 kB / 356.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.001803, allocations: 7.984 kB / 356.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.001834, allocations: 0 / 356.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.001885, allocations: 4 kB / 356.7 MB, free: 9.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.0019, allocations: 0 / 356.7 MB, free: 9.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-06/0.001907, allocations: 0 / 356.7 MB, free: 9.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.001924, allocations: 7.922 kB / 356.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.001941, allocations: 8 kB / 356.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.007e-05/0.002002, allocations: 3.984 kB / 356.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002004, allocations: 0 / 356.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.002005, allocations: 0 / 356.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.002009, allocations: 4 kB / 356.7 MB, free: 9.383 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.000305/0.002314, allocations: 348.4 kB / 357 MB, free: 9.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.002351, allocations: 8.922 kB / 357 MB, free: 8.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.002376, allocations: 5.234 kB / 357 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.68e-05/0.002473, allocations: 108.6 kB / 357.2 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.00249, allocations: 384 / 357.2 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.002503, allocations: 8.359 kB / 357.2 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.768e-05/0.0026, allocations: 46.91 kB / 357.2 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.002608, allocations: 192 / 357.2 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.002614, allocations: 384 / 357.2 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.002619, allocations: 4.375 kB / 357.2 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.136e-05/0.00263, allocations: 7.938 kB / 357.2 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.002746, allocations: 101.2 kB / 357.3 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.67e-05/0.002793, allocations: 27.09 kB / 357.3 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.002807, allocations: 11.75 kB / 357.4 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.002815, allocations: 11.88 kB / 357.4 MB, free: 8.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.002838, allocations: 33.39 kB / 357.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.00284, allocations: 3.984 kB / 357.4 MB, free: 8.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 9.81e-05/0.002938, allocations: 45.69 kB / 357.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.002965, allocations: 51.41 kB / 357.5 MB, free: 8.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.806e-05/0.003023, allocations: 153.9 kB / 357.6 MB, free: 8.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.003031, allocations: 25.7 kB / 357.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.00307, allocations: 130.9 kB / 357.8 MB, free: 8.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.003097, allocations: 7.938 kB / 357.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.003123, allocations: 23.5 kB / 357.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.003233, allocations: 0.4922 MB / 358.3 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.003242, allocations: 0 / 358.3 MB, free: 7.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.003249, allocations: 3.938 kB / 358.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.003284, allocations: 19.67 kB / 358.3 MB, free: 7.531 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003285, allocations: 0 / 358.3 MB, free: 7.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.625e-05/0.003331, allocations: 45.66 kB / 358.4 MB, free: 7.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.003342, allocations: 4 kB / 358.4 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.003347, allocations: 3.984 kB / 358.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.003355, allocations: 0 / 358.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.003406, allocations: 11.97 kB / 358.4 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.003409, allocations: 0 / 358.4 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.003422, allocations: 7.938 kB / 358.4 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.003428, allocations: 7.938 kB / 358.4 MB, free: 7.445 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.0001064/0.003535, allocations: 156.6 kB / 358.6 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-06/0.003541, allocations: 4 kB / 358.6 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.666e-05/0.003557, allocations: 7.312 kB / 358.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.00356, allocations: 3.984 kB / 358.6 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.003562, allocations: 0 / 358.6 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.003564, allocations: 0 / 358.6 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.599e-05/0.00363, allocations: 101.2 kB / 358.7 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.003631, allocations: 0 / 358.7 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.003672, allocations: 4 kB / 358.7 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.003673, allocations: 4 kB / 358.7 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.003679, allocations: 0 / 358.7 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.003679, allocations: 0 / 358.7 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.003682, allocations: 3.984 kB / 358.7 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.418e-05/0.003776, allocations: 84.27 kB / 358.8 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.003788, allocations: 11.94 kB / 358.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-06/0.003795, allocations: 64 / 358.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-06/0.003803, allocations: 4 kB / 358.8 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.003822, allocations: 0 / 358.8 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.003824, allocations: 0 / 358.8 MB, free: 7.012 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.209e-05/0.003856, allocations: 123.5 kB / 358.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003856, allocations: 0 / 358.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001136/0.00397, allocations: 4 kB / 358.9 MB, free: 6.887 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.17e-05/0.004041, allocations: 99.23 kB / 359 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.622e-05/0.004098, allocations: 11.69 kB / 359 MB, free: 6.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0041, allocations: 8 kB / 359 MB, free: 6.758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-05/0.004114, allocations: 11.62 kB / 359.1 MB, free: 6.742 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.004215, allocations: 7.938 kB / 359.1 MB, free: 6.734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.004423, allocations: 118.3 kB / 359.2 MB, free: 6.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.656e-05/0.00445, allocations: 55.36 kB / 359.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.077e-05/0.00446, allocations: 0 / 359.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.004492, allocations: 66.2 kB / 359.3 MB, free: 6.449 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.004493, allocations: 8.062 kB / 359.3 MB, free: 6.441 MB / 282.7 MB Notification: Performance of Templates: time 0.001721/0.006214, allocations: 342.2 kB / 359.6 MB, free: 6.109 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.853571650572121]