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.0008827/0.0008827, allocations: 91.38 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001144, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2212/0.2212, allocations: 22.34 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 8 kB / 379.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3797, allocations: 55.97 MB / 435.9 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.0005924/0.3804, allocations: 239.8 kB / 436.1 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001377/0.3805, allocations: 18.45 kB / 436.1 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.3806, allocations: 4 kB / 436.1 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.033e-05/0.3806, allocations: 0 / 436.1 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.3807, allocations: 3 kB / 436.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.105e-05/0.3808, allocations: 4 kB / 436.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.737e-05/0.3808, allocations: 10.02 kB / 436.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.3809, allocations: 0 / 436.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.3809, allocations: 4.125 kB / 436.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.636e-05/0.381, allocations: 6.141 kB / 436.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.381, allocations: 0 / 436.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.381, allocations: 0 / 436.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.381, allocations: 12.14 kB / 436.2 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.381, allocations: 29.64 kB / 436.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.656e-05/0.3811, allocations: 0 / 436.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3811, allocations: 3.938 kB / 436.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.3811, allocations: 2.875 kB / 436.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.3811, allocations: 0 / 436.2 MB, free: 38.04 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.0003113/0.3814, allocations: 316.8 kB / 436.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3815, allocations: 8.844 kB / 436.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.3815, allocations: 7.844 kB / 436.5 MB, free: 37.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.3816, allocations: 165.1 kB / 436.7 MB, free: 37.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3816, allocations: 4 kB / 436.7 MB, free: 37.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.3817, allocations: 4 kB / 436.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.3818, allocations: 34.66 kB / 436.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.3818, allocations: 0 / 436.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.3818, allocations: 3.953 kB / 436.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3818, allocations: 0 / 436.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.484e-05/0.3818, allocations: 12.91 kB / 436.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.382, allocations: 151.8 kB / 436.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.571e-05/0.382, allocations: 28.48 kB / 436.9 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.3821, allocations: 11.05 kB / 437 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.3821, allocations: 0 / 437 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.301e-05/0.3821, allocations: 33.06 kB / 437 MB, free: 37.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3821, allocations: 0 / 437 MB, free: 37.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001597/0.3823, allocations: 56.2 kB / 437 MB, free: 37.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.3823, allocations: 54.34 kB / 437.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.851e-05/0.3824, allocations: 104.2 kB / 437.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.3824, allocations: 25.7 kB / 437.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.819e-05/0.3824, allocations: 80.14 kB / 437.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.3824, allocations: 6.375 kB / 437.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.3824, allocations: 0 / 437.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.3825, allocations: 314.8 kB / 437.6 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.3825, allocations: 5.859 kB / 437.6 MB, free: 36.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.788e-05/0.3825, allocations: 6.594 kB / 437.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.3826, allocations: 9.531 kB / 437.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3826, allocations: 0 / 437.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.965e-05/0.3827, allocations: 51.05 kB / 437.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3827, allocations: 6.438 kB / 437.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3827, allocations: 0 / 437.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3827, allocations: 0 / 437.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.3828, allocations: 13.41 kB / 437.7 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3828, allocations: 3.953 kB / 437.7 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.3828, allocations: 7.469 kB / 437.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.3828, allocations: 0 / 437.7 MB, free: 36.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.383, allocations: 121.3 kB / 437.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.383, allocations: 0 / 437.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.383, allocations: 3.125 kB / 437.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.383, allocations: 0 / 437.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.383, allocations: 0 / 437.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.383, allocations: 3.953 kB / 437.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.073e-05/0.3831, allocations: 160.4 kB / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3831, allocations: 3.938 kB / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.3831, allocations: 5.969 kB / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3832, allocations: 3.375 kB / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3832, allocations: 0 / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3832, allocations: 0 / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3832, allocations: 0 / 438 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.3833, allocations: 84.81 kB / 438.1 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.3833, allocations: 77.11 kB / 438.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3834, allocations: 3.375 kB / 438.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.3834, allocations: 2.875 kB / 438.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.3834, allocations: 0 / 438.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3834, allocations: 0 / 438.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.813e-05/0.3834, allocations: 78.44 kB / 438.3 MB, free: 35.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3834, allocations: 0 / 438.3 MB, free: 35.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.3836, allocations: 2.969 kB / 438.3 MB, free: 35.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.936e-05/0.3837, allocations: 106.6 kB / 438.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.124e-05/0.3838, allocations: 15.28 kB / 438.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.3838, allocations: 0 / 438.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.72e-05/0.3839, allocations: 11.23 kB / 438.4 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.384, allocations: 0.8438 kB / 438.4 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.3842, allocations: 124.3 kB / 438.5 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.555e-05/0.3843, allocations: 0.6782 MB / 439.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.998e-05/0.3844, allocations: 0 / 439.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.3844, allocations: 7.438 kB / 439.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3844, allocations: 2.938 kB / 439.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of Templates: time 0.001884/0.3863, allocations: 258.1 kB / 439.4 MB, free: 34.91 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)