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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008148/0.0008148, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008869/0.000887, allocations: 177.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.198/0.198, allocations: 22.33 MB / 314.4 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003264, allocations: 8.281 kB / 381.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 55.97 MB / 437.2 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.0008292/0.282, allocations: 253.3 kB / 437.4 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001738/0.2822, allocations: 22.16 kB / 437.4 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.2823, allocations: 0 / 437.4 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.2823, allocations: 0 / 437.4 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.522e-05/0.2824, allocations: 0 / 437.4 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.2825, allocations: 10.91 kB / 437.4 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.2826, allocations: 6.531 kB / 437.4 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.725e-05/0.2827, allocations: 3 kB / 437.5 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.2827, allocations: 3.938 kB / 437.5 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.2828, allocations: 16.66 kB / 437.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.2828, allocations: 0 / 437.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2829, allocations: 0 / 437.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.2829, allocations: 3.25 kB / 437.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.2829, allocations: 29.64 kB / 437.5 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.309e-05/0.283, allocations: 0 / 437.5 MB, free: 38.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.283, allocations: 0 / 437.5 MB, free: 38.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.283, allocations: 6.781 kB / 437.5 MB, free: 38.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.283, allocations: 0 / 437.5 MB, free: 38.06 MB / 350.1 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.0003763/0.2834, allocations: 323.9 kB / 437.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2834, allocations: 14.22 kB / 437.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.2835, allocations: 8.844 kB / 437.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2836, allocations: 164.8 kB / 438 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.2836, allocations: 384 / 438 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.2837, allocations: 384 / 438 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.2838, allocations: 44.33 kB / 438.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2838, allocations: 192 / 438.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2838, allocations: 3.938 kB / 438.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2838, allocations: 0 / 438.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.26e-05/0.2839, allocations: 10.64 kB / 438.1 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.2841, allocations: 154.2 kB / 438.2 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.979e-05/0.2842, allocations: 23.95 kB / 438.2 MB, free: 37.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.2842, allocations: 11.77 kB / 438.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.2842, allocations: 3.469 kB / 438.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.2842, allocations: 30.56 kB / 438.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.2843, allocations: 2.438 kB / 438.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002009/0.2845, allocations: 52.06 kB / 438.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.2845, allocations: 51.41 kB / 438.4 MB, free: 37.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.2846, allocations: 106.6 kB / 438.5 MB, free: 36.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.2846, allocations: 29.83 kB / 438.5 MB, free: 36.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.2846, allocations: 83.81 kB / 438.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.2847, allocations: 10.5 kB / 438.6 MB, free: 36.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.2847, allocations: 13.72 kB / 438.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.2847, allocations: 310.8 kB / 438.9 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.2848, allocations: 5.859 kB / 438.9 MB, free: 36.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.2848, allocations: 3 kB / 438.9 MB, free: 36.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.285, allocations: 47.45 kB / 439 MB, free: 36.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.285, allocations: 0 / 439 MB, free: 36.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.078e-05/0.2851, allocations: 44.7 kB / 439 MB, free: 36.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2851, allocations: 5.75 kB / 439 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2852, allocations: 3.938 kB / 439 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2852, allocations: 2.938 kB / 439 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/0.2852, allocations: 6.109 kB / 439 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2853, allocations: 0 / 439 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.2853, allocations: 6.812 kB / 439.1 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2853, allocations: 4 kB / 439.1 MB, free: 36.44 MB / 350.1 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.0001291/0.2854, allocations: 116.7 kB / 439.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.2854, allocations: 0 / 439.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.2855, allocations: 7.062 kB / 439.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2855, allocations: 6.016 kB / 439.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2855, allocations: 0 / 439.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2855, allocations: 0 / 439.2 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.594e-05/0.2856, allocations: 151.8 kB / 439.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2856, allocations: 0 / 439.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.2856, allocations: 13.38 kB / 439.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2857, allocations: 0 / 439.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2857, allocations: 6.312 kB / 439.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2857, allocations: 3.938 kB / 439.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2857, allocations: 0 / 439.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.2858, allocations: 76.39 kB / 439.4 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.2858, allocations: 77.11 kB / 439.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.2859, allocations: 8.031 kB / 439.5 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.177e-05/0.2859, allocations: 6.938 kB / 439.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.2859, allocations: 3.141 kB / 439.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.2859, allocations: 0 / 439.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.981e-05/0.286, allocations: 78.22 kB / 439.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.286, allocations: 0 / 439.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001746/0.2861, allocations: 7 kB / 439.6 MB, free: 35.86 MB / 350.1 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.643e-05/0.2862, allocations: 94.91 kB / 439.7 MB, free: 35.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.2863, allocations: 22.95 kB / 439.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2863, allocations: 0 / 439.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.2864, allocations: 5.219 kB / 439.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.2865, allocations: 7.328 kB / 439.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.2868, allocations: 142.1 kB / 439.9 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.197e-05/0.2869, allocations: 0.6801 MB / 440.6 MB, free: 34.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.2869, allocations: 11.38 kB / 440.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2869, allocations: 0 / 440.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of Templates: time 0.001515/0.2885, allocations: 474.5 kB / 441 MB, free: 34.89 MB / 350.1 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld.makefile (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=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)