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.001405/0.001405, allocations: 79.86 kB / 19.96 MB, free: 1.742 MB / 14.72 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.00146/0.00146, allocations: 170.3 kB / 23.24 MB, free: 4.855 MB / 14.72 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.49/1.49, allocations: 177.1 MB / 203.5 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.1038/0.1038, allocations: 18.13 MB / 278.1 MB, free: 15.04 MB / 270.1 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.403e-06/1.403e-06, allocations: 0 / 413.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.108e-05, allocations: 2.281 kB / 413.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001567/0.001598, allocations: 0.5233 MB / 413.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001531/0.001752, allocations: 15.91 kB / 413.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.001779, allocations: 0 / 413.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.001798, allocations: 4 kB / 413.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.694e-05/0.001855, allocations: 7.938 kB / 413.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.001965, allocations: 11.92 kB / 413.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.002018, allocations: 7.938 kB / 413.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.002071, allocations: 3.984 kB / 413.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.481e-05/0.002096, allocations: 4 kB / 413.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.002159, allocations: 3.938 kB / 413.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.002176, allocations: 4 kB / 413.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.002184, allocations: 0 / 413.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.002203, allocations: 4 kB / 413.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.002225, allocations: 0 / 413.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.019e-05/0.002295, allocations: 15.91 kB / 413.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002297, allocations: 4 kB / 413.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.02e-07/0.002298, allocations: 0 / 413.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.002302, allocations: 0 / 413.8 MB, free: 4.332 MB / 334.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.0004274/0.00273, allocations: 246.4 kB / 414 MB, free: 4.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.002772, allocations: 12.92 kB / 414 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.002807, allocations: 4.891 kB / 414.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.002927, allocations: 101.8 kB / 414.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.00295, allocations: 4.375 kB / 414.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.002968, allocations: 4.359 kB / 414.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.003089, allocations: 38.2 kB / 414.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.003098, allocations: 192 / 414.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.003109, allocations: 4.375 kB / 414.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.003113, allocations: 384 / 414.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.885e-05/0.003172, allocations: 15.86 kB / 414.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.003321, allocations: 97.33 kB / 414.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.659e-05/0.003408, allocations: 26.61 kB / 414.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.003449, allocations: 12.91 kB / 414.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.003457, allocations: 0 / 414.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.003493, allocations: 38.56 kB / 414.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.003493, allocations: 0 / 414.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000198/0.003692, allocations: 45.62 kB / 414.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.003739, allocations: 55.41 kB / 414.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.003826, allocations: 101.8 kB / 414.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.003845, allocations: 29.69 kB / 414.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.003886, allocations: 80.14 kB / 414.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.003912, allocations: 7.953 kB / 414.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.003964, allocations: 13.72 kB / 414.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.004106, allocations: 310.8 kB / 415 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-05/0.004148, allocations: 16.11 kB / 415 MB, free: 2.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.004171, allocations: 4 kB / 415 MB, free: 2.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.004388, allocations: 37 kB / 415.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00439, allocations: 0 / 415.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001093/0.004499, allocations: 49.64 kB / 415.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.004513, allocations: 4 kB / 415.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.004518, allocations: 3.984 kB / 415.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.004532, allocations: 0 / 415.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.004603, allocations: 8.031 kB / 415.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.004608, allocations: 4 kB / 415.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.004632, allocations: 3.938 kB / 415.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.004637, allocations: 0 / 415.1 MB, free: 2.805 MB / 334.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.0001404/0.004778, allocations: 117.8 kB / 415.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.004786, allocations: 3.938 kB / 415.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.004807, allocations: 11.25 kB / 415.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.004808, allocations: 0 / 415.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.004812, allocations: 0 / 415.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.004816, allocations: 11.88 kB / 415.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.004909, allocations: 105.3 kB / 415.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.00491, allocations: 3.938 kB / 415.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-05/0.004979, allocations: 7.984 kB / 415.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.004981, allocations: 0 / 415.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.004988, allocations: 0 / 415.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.004989, allocations: 0 / 415.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00499, allocations: 0 / 415.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.005171, allocations: 77.09 kB / 415.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.005186, allocations: 11.89 kB / 415.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.005197, allocations: 4.094 kB / 415.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.322e-05/0.00522, allocations: 0 / 415.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.005256, allocations: 7.984 kB / 415.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.005258, allocations: 0 / 415.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.105e-05/0.005299, allocations: 75.28 kB / 415.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.005299, allocations: 4 kB / 415.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001843/0.005484, allocations: 3.938 kB / 415.6 MB, free: 2.312 MB / 334.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 9.993e-05/0.005584, allocations: 99.12 kB / 415.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.005708, allocations: 19.98 kB / 415.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.00571, allocations: 4 kB / 415.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.005744, allocations: 4 kB / 415.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.005897, allocations: 6.5 kB / 415.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.006191, allocations: 105 kB / 415.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.101e-05/0.006242, allocations: 55.36 kB / 415.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.936e-05/0.006261, allocations: 0 / 415.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.006286, allocations: 8.5 kB / 415.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.006287, allocations: 8 kB / 415.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of Templates: time 0.002624/0.008911, allocations: 311.9 kB / 416.2 MB, free: 1.652 MB / 334.1 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.400839351117611] Failed to read output from testmodel.py, exit status != 0: 0.017067506909370422 0.033551681 0.027612351 Calling exit ...