Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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.001148/0.001148, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.001279/0.001279, allocations: 165 kB / 23.82 MB, free: 0.7578 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 1.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.07825/0.07825, allocations: 18.13 MB / 278.9 MB, free: 11.34 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_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 357.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.709e-05, allocations: 2.312 kB / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001255/0.001282, allocations: 0.5394 MB / 357.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.00144, allocations: 31.88 kB / 357.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.001461, allocations: 0 / 357.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.001478, allocations: 0 / 357.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.92e-05/0.001497, allocations: 0 / 357.9 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.001664, allocations: 4 kB / 357.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.673e-05/0.00171, allocations: 8 kB / 357.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.001749, allocations: 3.984 kB / 357.9 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.607e-05/0.001765, allocations: 3.938 kB / 357.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.001825, allocations: 7.938 kB / 357.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.001842, allocations: 0 / 357.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-06/0.001849, allocations: 4 kB / 357.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.001864, allocations: 3.984 kB / 357.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.001888, allocations: 7.984 kB / 357.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.404e-05/0.001942, allocations: 0 / 357.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.001944, allocations: 0 / 357.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.001945, allocations: 0 / 357.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.001948, allocations: 0 / 357.9 MB, free: 7.215 MB / 282.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.0003169/0.002265, allocations: 352.4 kB / 358.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.0023, allocations: 8.922 kB / 358.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.00233, allocations: 0.9375 kB / 358.2 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.21e-05/0.002402, allocations: 117 kB / 358.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.002411, allocations: 384 / 358.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.002433, allocations: 8.328 kB / 358.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.901e-05/0.002502, allocations: 30.27 kB / 358.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-06/0.002506, allocations: 192 / 358.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.002514, allocations: 384 / 358.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.002521, allocations: 384 / 358.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.002542, allocations: 15.86 kB / 358.4 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.002652, allocations: 112.6 kB / 358.5 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.002698, allocations: 31.09 kB / 358.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.002716, allocations: 11.75 kB / 358.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.002729, allocations: 7.922 kB / 358.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.002748, allocations: 33.39 kB / 358.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.002749, allocations: 0 / 358.6 MB, free: 6.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.000266/0.003015, allocations: 65.62 kB / 358.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.00304, allocations: 51.41 kB / 358.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.003106, allocations: 157.9 kB / 358.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.003117, allocations: 29.7 kB / 358.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.003147, allocations: 131.2 kB / 359 MB, free: 5.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.00317, allocations: 15.84 kB / 359 MB, free: 5.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.003193, allocations: 19.38 kB / 359.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.0033, allocations: 496.1 kB / 359.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.003314, allocations: 11.92 kB / 359.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.003322, allocations: 0 / 359.6 MB, free: 5.348 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.003352, allocations: 15.69 kB / 359.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.003353, allocations: 0 / 359.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.234e-05/0.003406, allocations: 49.88 kB / 359.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.003418, allocations: 4 kB / 359.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.003422, allocations: 0 / 359.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.003437, allocations: 4 kB / 359.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.003522, allocations: 15.97 kB / 359.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.00353, allocations: 7.875 kB / 359.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/0.003542, allocations: 0 / 359.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.003547, allocations: 0 / 359.7 MB, free: 5.242 MB / 282.7 MB 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 5.695e-05/0.003604, allocations: 160.6 kB / 359.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.00361, allocations: 0 / 359.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.131e-05/0.003701, allocations: 49.38 kB / 359.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.003703, allocations: 0 / 359.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.003707, allocations: 3.984 kB / 359.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.003711, allocations: 7.938 kB / 359.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.619e-05/0.003777, allocations: 112.6 kB / 360 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.003778, allocations: 0 / 360 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.003803, allocations: 8 kB / 360 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.003804, allocations: 0 / 360 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.00381, allocations: 3.984 kB / 360 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.003811, allocations: 0 / 360 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.003813, allocations: 3.938 kB / 360 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.65e-05/0.003869, allocations: 84.31 kB / 360.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-06/0.003876, allocations: 7.953 kB / 360.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.003884, allocations: 0 / 360.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-06/0.003891, allocations: 4 kB / 360.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.003903, allocations: 0 / 360.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.003908, allocations: 8 kB / 360.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.856e-05/0.003936, allocations: 123.1 kB / 360.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003937, allocations: 0 / 360.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001114/0.004048, allocations: 4 kB / 360.2 MB, free: 4.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 5.836e-05/0.004106, allocations: 95.23 kB / 360.3 MB, free: 4.496 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.461e-05/0.004171, allocations: 19.62 kB / 360.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.004172, allocations: 4.094 kB / 360.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.004186, allocations: 19.67 kB / 360.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.715e-05/0.004283, allocations: 7.25 kB / 360.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001632/0.004446, allocations: 94.47 kB / 360.5 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.851e-05/0.004475, allocations: 55.34 kB / 360.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.583e-05/0.00449, allocations: 4 kB / 360.5 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.004513, allocations: 8.5 kB / 360.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.004513, allocations: 0 / 360.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of Templates: time 0.001469/0.005982, allocations: 271.9 kB / 360.8 MB, free: 3.965 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.makefile [Timeout 660] (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld_inverse -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.146293404046446]