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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.07488/0.07488, allocations: 17.68 MB / 33.63 MB, free: 1.746 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001157, allocations: 174.8 kB / 38.91 MB, free: 16 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 249.5 MB, free: 2.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009133/0.0009131, allocations: 90.27 kB / 302.2 MB, free: 4.441 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004172, allocations: 15.94 kB / 364.9 MB, free: 5.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3039, allocations: 51.97 MB / 416.9 MB, free: 24.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.4141, allocations: 76.04 MB / 492.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4144, allocations: 63.97 kB / 493 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001004/0.4154, allocations: 454.8 kB / 493.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.4154, allocations: 0 / 493.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.4154, allocations: 0 / 493.4 MB, free: 12.02 MB / 362.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.0002926/0.4157, allocations: 319.6 kB / 493.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4158, allocations: 12.02 kB / 493.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.4158, allocations: 4.938 kB / 493.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.416, allocations: 164.3 kB / 493.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.416, allocations: 384 / 493.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.416, allocations: 4.375 kB / 493.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.4161, allocations: 34.25 kB / 493.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4162, allocations: 192 / 493.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4162, allocations: 11.94 kB / 494 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4162, allocations: 0 / 494 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.098e-05/0.4162, allocations: 7.938 kB / 494 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.4164, allocations: 153.7 kB / 494.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.41e-05/0.4165, allocations: 34.03 kB / 494.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.4166, allocations: 12.91 kB / 494.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.4166, allocations: 0 / 494.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4166, allocations: 30.56 kB / 494.2 MB, free: 11.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4166, allocations: 0 / 494.2 MB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002127/0.4169, allocations: 53.56 kB / 494.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.4169, allocations: 55.41 kB / 494.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.417, allocations: 102 kB / 494.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.4171, allocations: 25.7 kB / 494.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.4171, allocations: 80.14 kB / 494.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.4172, allocations: 7.891 kB / 494.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.4172, allocations: 4 kB / 494.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4173, allocations: 310.8 kB / 494.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.4174, allocations: 4 kB / 494.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.4174, allocations: 7.938 kB / 494.8 MB, free: 10.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4176, allocations: 44.8 kB / 494.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4176, allocations: 0 / 494.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.448e-05/0.4177, allocations: 45.69 kB / 494.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4177, allocations: 4 kB / 494.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4178, allocations: 7.875 kB / 494.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4178, allocations: 0 / 494.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.598e-05/0.4179, allocations: 7.984 kB / 494.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4179, allocations: 4 kB / 494.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.4179, allocations: 4 kB / 494.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.4179, allocations: 0 / 494.9 MB, free: 10.27 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.4181, allocations: 117.7 kB / 495.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.4181, allocations: 0 / 495.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.4182, allocations: 15.02 kB / 495.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4182, allocations: 0 / 495.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4182, allocations: 0 / 495.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4182, allocations: 0 / 495.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.4183, allocations: 157.7 kB / 495.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4183, allocations: 0 / 495.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.4184, allocations: 15.92 kB / 495.2 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4184, allocations: 0 / 495.2 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4184, allocations: 3.938 kB / 495.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4184, allocations: 3.984 kB / 495.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4185, allocations: 0 / 495.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.4186, allocations: 73.16 kB / 495.3 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.4187, allocations: 77.11 kB / 495.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.4187, allocations: 3.938 kB / 495.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.4187, allocations: 4.031 kB / 495.4 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.4188, allocations: 3.984 kB / 495.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.4188, allocations: 4 kB / 495.4 MB, free: 9.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.287e-05/0.4189, allocations: 83.55 kB / 495.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4189, allocations: 0 / 495.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.4191, allocations: 8 kB / 495.5 MB, free: 9.621 MB / 362.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 (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 0.0001484/0.4192, allocations: 99.25 kB / 495.6 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.4193, allocations: 15.98 kB / 495.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4194, allocations: 0 / 495.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.4194, allocations: 8 kB / 495.6 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.4196, allocations: 0 / 495.6 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.4199, allocations: 116.9 kB / 495.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.4202, allocations: 0.6809 MB / 496.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.612e-05/0.4203, allocations: 7.938 kB / 496.4 MB, free: 8.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.4203, allocations: 7.438 kB / 496.4 MB, free: 8.629 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4203, allocations: 0 / 496.4 MB, free: 8.629 MB / 362.7 MB Notification: Performance of Templates: time 0.002197/0.4225, allocations: 248.5 kB / 496.7 MB, free: 8.387 MB / 362.7 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)