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.001/0.001, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001058/0.001058, allocations: 173 kB / 24.16 MB, free: 336 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.034/1.034, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.08681/0.08681, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.703e-06/1.703e-06, allocations: 0 / 302.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.482e-05, allocations: 2.312 kB / 302.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.002184/0.002209, allocations: 0.5741 MB / 302.6 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001498/0.002359, allocations: 27.7 kB / 302.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.002384, allocations: 0 / 302.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.0024, allocations: 0 / 302.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.002468, allocations: 0 / 302.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.55e-05/0.002564, allocations: 11.75 kB / 302.7 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.532e-05/0.002619, allocations: 9.859 kB / 302.7 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.002663, allocations: 6.625 kB / 302.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.002703, allocations: 3.312 kB / 302.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.854e-05/0.002762, allocations: 2.641 kB / 302.7 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.002778, allocations: 4 kB / 302.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.002787, allocations: 1.375 kB / 302.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.002806, allocations: 4.828 kB / 302.7 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.002824, allocations: 1.375 kB / 302.7 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.522e-05/0.00289, allocations: 9.422 kB / 302.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002892, allocations: 0 / 302.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002893, allocations: 0 / 302.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.002897, allocations: 1.375 kB / 302.7 MB, free: 1.398 MB / 266.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.0002602/0.003157, allocations: 223.8 kB / 302.9 MB, free: 1.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.003197, allocations: 10.52 kB / 303 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.003226, allocations: 7.109 kB / 303 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.003309, allocations: 109.5 kB / 303.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.003329, allocations: 1.75 kB / 303.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.003346, allocations: 0.8906 kB / 303.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.343e-05/0.00344, allocations: 52.7 kB / 303.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.003449, allocations: 192 / 303.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.003458, allocations: 5.172 kB / 303.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.003464, allocations: 1.75 kB / 303.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.003481, allocations: 6.688 kB / 303.1 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.003588, allocations: 59.81 kB / 303.2 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.436e-05/0.003642, allocations: 24.08 kB / 303.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.003657, allocations: 6.75 kB / 303.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.003665, allocations: 5.312 kB / 303.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.003685, allocations: 32.59 kB / 303.3 MB, free: 0.832 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.003687, allocations: 3.938 kB / 303.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001116/0.003799, allocations: 36.53 kB / 303.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.003823, allocations: 52.78 kB / 303.4 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.677e-05/0.003879, allocations: 108.9 kB / 303.5 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.003885, allocations: 25.7 kB / 303.5 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.003899, allocations: 86.25 kB / 303.6 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.003929, allocations: 6.078 kB / 303.6 MB, free: 0.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.003959, allocations: 13.31 kB / 303.6 MB, free: 496 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.004002, allocations: 321.3 kB / 303.9 MB, free: 168 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.004013, allocations: 1.375 kB / 303.9 MB, free: 168 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.004024, allocations: 2.5 kB / 303.9 MB, free: 168 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.14e-05/0.004075, allocations: 19.44 kB / 303.9 MB, free: 156 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.004078, allocations: 0 / 303.9 MB, free: 156 kB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.745e-05/0.004145, allocations: 37.66 kB / 304 MB, free: 124 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.004158, allocations: 5.531 kB / 304 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.004163, allocations: 4 kB / 304 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.004177, allocations: 1.375 kB / 304 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.004282, allocations: 8.141 kB / 304 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.004286, allocations: 0 / 304 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.004304, allocations: 4.703 kB / 304 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.00431, allocations: 1.531 kB / 304 MB, free: 116 kB / 266.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 9.246e-05/0.004402, allocations: 121.4 kB / 304.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.004412, allocations: 1.75 kB / 304.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.004432, allocations: 9.125 kB / 304.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.004435, allocations: 1.031 kB / 304.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.004438, allocations: 0.7969 kB / 304.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.004441, allocations: 0 / 304.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.004534, allocations: 72.69 kB / 304.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.004538, allocations: 0.7031 kB / 304.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.471e-05/0.004623, allocations: 11.2 kB / 304.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.004626, allocations: 0 / 304.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.004634, allocations: 2.266 kB / 304.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.004636, allocations: 0 / 304.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.004637, allocations: 0 / 304.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.004771, allocations: 77.3 kB / 304.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.004785, allocations: 2.734 kB / 304.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.004797, allocations: 6.219 kB / 304.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.004817, allocations: 0.7969 kB / 304.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.004844, allocations: 1.953 kB / 304.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.00485, allocations: 1.859 kB / 304.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.552e-05/0.004865, allocations: 7.156 kB / 304.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004866, allocations: 0 / 304.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.00504, allocations: 7.125 kB / 304.3 MB, free: 15.8 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 0.0001028/0.005143, allocations: 78.31 kB / 304.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.005218, allocations: 13.41 kB / 304.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.005222, allocations: 1.25 kB / 304.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/0.005244, allocations: 9.766 kB / 304.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.52e-05/0.005319, allocations: 5.594 kB / 304.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.005587, allocations: 112 kB / 304.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.471e-05/0.005622, allocations: 55.48 kB / 304.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.563e-05/0.005638, allocations: 4.719 kB / 304.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.005677, allocations: 50.84 kB / 304.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.005678, allocations: 0 / 304.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of Templates: time 0.002331/0.008009, allocations: 321.6 kB / 304.9 MB, free: 15.44 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.85085658589378]