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.002715/0.002715, allocations: 84.98 kB / 20.23 MB, free: 4.199 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.002956/0.002956, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.698/1.698, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.1157/0.1157, allocations: 18.14 MB / 278.5 MB, free: 11.36 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.573e-06/1.573e-06, allocations: 0 / 354.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.582e-05, allocations: 2.312 kB / 354.1 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001493/0.001519, allocations: 0.5197 MB / 354.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.001645, allocations: 23.91 kB / 354.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.001667, allocations: 0 / 354.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.959e-06/0.001677, allocations: 0 / 354.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.951e-05/0.001726, allocations: 0 / 354.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.605e-05/0.001802, allocations: 11.92 kB / 354.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.206e-05/0.001844, allocations: 7.938 kB / 354.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.001877, allocations: 4 kB / 354.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.001907, allocations: 11.92 kB / 354.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.001946, allocations: 4 kB / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.001959, allocations: 0 / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.012e-06/0.001965, allocations: 0 / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.001976, allocations: 0 / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.001997, allocations: 7.922 kB / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 4.795e-05/0.002045, allocations: 7.984 kB / 354.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002047, allocations: 0 / 354.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002048, allocations: 4 kB / 354.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.002051, allocations: 0 / 354.7 MB, free: 10.04 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.0004051/0.002456, allocations: 348.4 kB / 355 MB, free: 9.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.002489, allocations: 12.92 kB / 355.1 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.002517, allocations: 0.9375 kB / 355.1 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.00264, allocations: 116.6 kB / 355.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.002655, allocations: 384 / 355.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.002667, allocations: 384 / 355.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.274e-05/0.002759, allocations: 38.25 kB / 355.2 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.002765, allocations: 192 / 355.2 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.002771, allocations: 4.375 kB / 355.2 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-06/0.002774, allocations: 384 / 355.2 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.002817, allocations: 11.88 kB / 355.2 MB, free: 9.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.002976, allocations: 116.6 kB / 355.3 MB, free: 9.297 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.353e-05/0.00305, allocations: 31.09 kB / 355.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.003082, allocations: 11.75 kB / 355.4 MB, free: 9.238 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.003093, allocations: 0 / 355.4 MB, free: 9.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.00335, allocations: 37.39 kB / 355.4 MB, free: 9.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.00335, allocations: 0 / 355.4 MB, free: 9.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.003523, allocations: 45.72 kB / 355.5 MB, free: 9.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.003563, allocations: 59.44 kB / 355.5 MB, free: 9.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.003687, allocations: 165.9 kB / 355.7 MB, free: 8.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.003704, allocations: 25.7 kB / 355.7 MB, free: 8.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.003772, allocations: 126.9 kB / 355.8 MB, free: 8.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.003793, allocations: 7.953 kB / 355.8 MB, free: 8.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.003833, allocations: 19.38 kB / 355.9 MB, free: 8.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002564/0.004089, allocations: 496.1 kB / 356.3 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.496e-05/0.004114, allocations: 4 kB / 356.3 MB, free: 8.195 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.004135, allocations: 11.94 kB / 356.4 MB, free: 8.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.004209, allocations: 27.61 kB / 356.4 MB, free: 8.152 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.00421, allocations: 4.031 kB / 356.4 MB, free: 8.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.351e-05/0.004304, allocations: 53.64 kB / 356.4 MB, free: 8.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.004315, allocations: 4 kB / 356.4 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.004318, allocations: 0 / 356.4 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.004326, allocations: 0 / 356.4 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.00439, allocations: 4 kB / 356.4 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.004393, allocations: 0 / 356.4 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.004413, allocations: 7.938 kB / 356.5 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.004417, allocations: 0 / 356.5 MB, free: 8.074 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.0001398/0.004557, allocations: 156.6 kB / 356.6 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.00457, allocations: 7.984 kB / 356.6 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.004588, allocations: 11.27 kB / 356.6 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.004589, allocations: 288 / 356.6 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.004593, allocations: 7.938 kB / 356.6 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.004597, allocations: 3.938 kB / 356.6 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.004705, allocations: 112.6 kB / 356.7 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.00471, allocations: 7.984 kB / 356.8 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.004767, allocations: 7.984 kB / 356.8 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.004768, allocations: 0 / 356.8 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-06/0.004773, allocations: 0 / 356.8 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.004774, allocations: 4 kB / 356.8 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.004775, allocations: 0 / 356.8 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.004926, allocations: 84.38 kB / 356.9 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.00494, allocations: 11.89 kB / 356.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-06/0.004948, allocations: 0 / 356.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.004967, allocations: 0 / 356.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.004993, allocations: 3.984 kB / 356.9 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.004998, allocations: 4 kB / 356.9 MB, free: 7.594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.967e-05/0.005067, allocations: 123.1 kB / 357 MB, free: 7.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005067, allocations: 0 / 357 MB, free: 7.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001664/0.005234, allocations: 16 kB / 357 MB, free: 7.457 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 8.753e-05/0.005321, allocations: 91.25 kB / 357.1 MB, free: 7.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.935e-05/0.005401, allocations: 19.67 kB / 357.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005402, allocations: 0 / 357.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.704e-05/0.005439, allocations: 23.62 kB / 357.1 MB, free: 7.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.005567, allocations: 0 / 357.1 MB, free: 7.309 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.005861, allocations: 110.3 kB / 357.2 MB, free: 7.172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.2e-05/0.005923, allocations: 71.34 kB / 357.3 MB, free: 7.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.615e-05/0.005939, allocations: 0 / 357.3 MB, free: 7.082 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.005964, allocations: 8.5 kB / 357.3 MB, free: 7.07 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.005964, allocations: 0 / 357.3 MB, free: 7.07 MB / 282.7 MB Notification: Performance of Templates: time 0.00265/0.008614, allocations: 315.7 kB / 357.6 MB, free: 6.762 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: 4.603358264896087]