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.0009771/0.0009771, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.00105/0.00105, allocations: 173 kB / 24.17 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.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.06494/0.06494, allocations: 18.14 MB / 279.2 MB, free: 11.19 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.483e-06/1.483e-06, allocations: 0 / 302 MB, free: 1.969 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.167e-05, allocations: 2.312 kB / 302 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001253/0.001275, allocations: 0.5242 MB / 302.6 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.001401, allocations: 30.36 kB / 302.6 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.001421, allocations: 1.594 kB / 302.6 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.001433, allocations: 0 / 302.6 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.001491, allocations: 7.938 kB / 302.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.863e-05/0.00157, allocations: 3.328 kB / 302.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.397e-05/0.001614, allocations: 13.59 kB / 302.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.001648, allocations: 2.406 kB / 302.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.001678, allocations: 3.359 kB / 302.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.001726, allocations: 3.094 kB / 302.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.001742, allocations: 0 / 302.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-06/0.001749, allocations: 1.281 kB / 302.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.001763, allocations: 4.5 kB / 302.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.001779, allocations: 5.922 kB / 302.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.347e-05/0.001832, allocations: 9.828 kB / 302.6 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.001834, allocations: 4 kB / 302.6 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.001835, allocations: 0 / 302.6 MB, free: 1.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.001839, allocations: 0 / 302.6 MB, free: 1.621 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.0002133/0.002052, allocations: 220.8 kB / 302.9 MB, free: 1.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.002084, allocations: 10.83 kB / 302.9 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.002107, allocations: 2.281 kB / 302.9 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.774e-05/0.002174, allocations: 114 kB / 303 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.002197, allocations: 1.438 kB / 303 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.002214, allocations: 2.078 kB / 303 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.516e-05/0.002299, allocations: 53.22 kB / 303 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.002305, allocations: 4.188 kB / 303 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.002312, allocations: 3.844 kB / 303 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.002317, allocations: 384 / 303 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.066e-05/0.002328, allocations: 6.656 kB / 303.1 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.16e-05/0.002399, allocations: 60.33 kB / 303.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.558e-05/0.002435, allocations: 20.34 kB / 303.1 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.138e-05/0.002446, allocations: 7.766 kB / 303.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.002452, allocations: 3.938 kB / 303.1 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.002467, allocations: 32.42 kB / 303.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.002467, allocations: 5.344 kB / 303.2 MB, free: 1.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 7.886e-05/0.002546, allocations: 35.92 kB / 303.2 MB, free: 1.023 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.002567, allocations: 52.5 kB / 303.3 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.704e-05/0.002604, allocations: 104.2 kB / 303.4 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.002612, allocations: 26.89 kB / 303.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.377e-06/0.002621, allocations: 84.78 kB / 303.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.002644, allocations: 5.781 kB / 303.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.002667, allocations: 14.67 kB / 303.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.669e-05/0.002693, allocations: 321 kB / 303.8 MB, free: 404 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.0027, allocations: 2.156 kB / 303.8 MB, free: 404 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.002706, allocations: 9.125 kB / 303.8 MB, free: 396 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.002736, allocations: 19.95 kB / 303.8 MB, free: 384 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.002738, allocations: 0 / 303.8 MB, free: 384 kB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.822e-05/0.002776, allocations: 38.47 kB / 303.9 MB, free: 352 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.002787, allocations: 4.688 kB / 303.9 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.002791, allocations: 0.5625 kB / 303.9 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.002803, allocations: 1.25 kB / 303.9 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.002859, allocations: 14.02 kB / 303.9 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.002862, allocations: 0.7969 kB / 303.9 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.034e-05/0.002872, allocations: 5.438 kB / 303.9 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.002876, allocations: 0 / 303.9 MB, free: 340 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 6.875e-05/0.002945, allocations: 113.8 kB / 304 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-06/0.00295, allocations: 2.484 kB / 304 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.00297, allocations: 5.172 kB / 304 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.002973, allocations: 1.906 kB / 304 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.002975, allocations: 0 / 304 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.002977, allocations: 0 / 304 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.671e-05/0.003024, allocations: 79.61 kB / 304.1 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.003026, allocations: 5.641 kB / 304.1 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.003062, allocations: 5.859 kB / 304.1 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.003064, allocations: 0.7969 kB / 304.1 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.003069, allocations: 0 / 304.1 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.00307, allocations: 1.406 kB / 304.1 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.003071, allocations: 0 / 304.1 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.608e-05/0.003147, allocations: 70.09 kB / 304.2 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.003155, allocations: 2.297 kB / 304.2 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-06/0.003162, allocations: 0 / 304.2 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-06/0.003171, allocations: 2.328 kB / 304.2 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.003192, allocations: 6.5 kB / 304.2 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.003194, allocations: 0 / 304.2 MB, free: 48 kB / 266.7 MB Notification: Performance of sorting global known variables: time 9.308e-06/0.003203, allocations: 9.641 kB / 304.2 MB, free: 40 kB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003203, allocations: 0 / 304.2 MB, free: 40 kB / 266.7 MB Notification: Performance of remove unused functions: time 8.705e-05/0.00329, allocations: 6.781 kB / 304.2 MB, free: 36 kB / 266.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.701e-05/0.003377, allocations: 77.3 kB / 304.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.141e-05/0.003429, allocations: 16.89 kB / 304.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.003432, allocations: 1 kB / 304.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.621e-05/0.003448, allocations: 17.33 kB / 304.3 MB, free: 15.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.114e-05/0.003509, allocations: 6.312 kB / 304.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002118/0.003721, allocations: 109.8 kB / 304.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.536e-05/0.003746, allocations: 54.48 kB / 304.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.124e-05/0.003758, allocations: 2.141 kB / 304.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.003788, allocations: 49.53 kB / 304.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.003788, allocations: 0 / 304.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of Templates: time 0.001695/0.005484, allocations: 324.6 kB / 304.9 MB, free: 15.67 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.7644015280529857]