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.0008929/0.0008929, allocations: 84.44 kB / 20.71 MB, free: 3.855 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.0007593/0.0007593, allocations: 165.2 kB / 23.98 MB, free: 0.582 MB / 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 0.8932/0.8932, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.06675/0.06675, allocations: 18.13 MB / 278.8 MB, free: 11.52 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.243e-06/1.243e-06, allocations: 0 / 413.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.234e-05, allocations: 3.812 kB / 413.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001026/0.001048, allocations: 0.5159 MB / 414.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001058/0.001154, allocations: 22.64 kB / 414.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.001172, allocations: 0.625 kB / 414.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.083e-05/0.001183, allocations: 0 / 414.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.952e-05/0.001222, allocations: 7.875 kB / 414.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.424e-05/0.001287, allocations: 4.891 kB / 414.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.874e-05/0.001325, allocations: 12.28 kB / 414.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.00136, allocations: 2.219 kB / 414.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.001379, allocations: 5.891 kB / 414.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.001416, allocations: 3.297 kB / 414.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.001434, allocations: 1.344 kB / 414.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-06/0.00144, allocations: 0 / 414.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.001451, allocations: 9.234 kB / 414.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.351e-05/0.001465, allocations: 2.406 kB / 414.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 4.433e-05/0.001509, allocations: 11.25 kB / 414.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.001511, allocations: 0 / 414.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.001512, allocations: 0 / 414.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.001515, allocations: 5.375 kB / 414.5 MB, free: 13.01 MB / 330.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.0002265/0.001741, allocations: 238.5 kB / 414.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.001773, allocations: 10.89 kB / 414.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.001798, allocations: 6.203 kB / 414.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.33e-05/0.001861, allocations: 112.2 kB / 414.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.001878, allocations: 5.516 kB / 414.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.001892, allocations: 5.75 kB / 414.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.347e-05/0.001965, allocations: 32.62 kB / 414.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.001973, allocations: 1.5 kB / 414.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.00198, allocations: 384 / 414.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.001984, allocations: 4.375 kB / 414.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.785e-05/0.002012, allocations: 13.17 kB / 415 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.914e-05/0.002101, allocations: 100.4 kB / 415.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.419e-05/0.002145, allocations: 27.56 kB / 415.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.002162, allocations: 11.98 kB / 415.1 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.002171, allocations: 4.875 kB / 415.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.002184, allocations: 35.45 kB / 415.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 6.32e-07/0.002184, allocations: 0 / 415.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001203/0.002305, allocations: 47.86 kB / 415.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.002321, allocations: 53.03 kB / 415.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.47e-05/0.002356, allocations: 104 kB / 415.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-06/0.002361, allocations: 25.7 kB / 415.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.273e-05/0.002373, allocations: 82.02 kB / 415.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.002393, allocations: 5.734 kB / 415.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.002412, allocations: 15.38 kB / 415.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.486e-05/0.002436, allocations: 316.3 kB / 415.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.002452, allocations: 11.11 kB / 415.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.002465, allocations: 4.625 kB / 415.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.00259, allocations: 37.38 kB / 415.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.002592, allocations: 1.312 kB / 415.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.908e-05/0.002641, allocations: 48.84 kB / 415.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.00265, allocations: 6.281 kB / 415.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.002654, allocations: 0 / 415.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.002664, allocations: 1.875 kB / 415.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/0.002708, allocations: 10.36 kB / 415.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.002711, allocations: 0 / 415.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.002722, allocations: 5.062 kB / 415.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.002727, allocations: 8.844 kB / 415.9 MB, free: 11.66 MB / 330.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 7.874e-05/0.002805, allocations: 108.9 kB / 416 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-06/0.002809, allocations: 1.969 kB / 416 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.287e-05/0.002822, allocations: 10.52 kB / 416 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.002824, allocations: 1.875 kB / 416 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.002828, allocations: 4.766 kB / 416 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.002831, allocations: 4.219 kB / 416 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.701e-05/0.002868, allocations: 102.8 kB / 416.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.002868, allocations: 1.781 kB / 416.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.002901, allocations: 8.359 kB / 416.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.002903, allocations: 6.25 kB / 416.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.00291, allocations: 3.25 kB / 416.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.002911, allocations: 0 / 416.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.002913, allocations: 2.469 kB / 416.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.792e-05/0.003001, allocations: 81.64 kB / 416.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.003009, allocations: 5.391 kB / 416.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-06/0.003017, allocations: 1.125 kB / 416.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-06/0.003026, allocations: 1.812 kB / 416.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.003046, allocations: 8.281 kB / 416.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.003047, allocations: 2.359 kB / 416.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.275e-05/0.00306, allocations: 78.81 kB / 416.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00306, allocations: 0 / 416.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001122/0.003172, allocations: 6.781 kB / 416.3 MB, free: 11.25 MB / 330.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 4.807e-05/0.00322, allocations: 95.58 kB / 416.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.807e-05/0.003288, allocations: 15.56 kB / 416.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.003289, allocations: 0 / 416.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.003305, allocations: 17.86 kB / 416.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.852e-05/0.003393, allocations: 1.375 kB / 416.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001907/0.003584, allocations: 129.5 kB / 416.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.203e-05/0.003606, allocations: 62.27 kB / 416.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.003622, allocations: 9.656 kB / 416.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.003622, allocations: 0.9688 kB / 416.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of Templates: time 0.001193/0.004815, allocations: 497.9 kB / 417.1 MB, free: 10.92 MB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.176047871820629] Failed to read output from testmodel.py, exit status != 0: 0.16571714915335178 0.017783101000000003 0.014578047 Calling exit ...