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.001931/0.001931, allocations: 104.3 kB / 19.72 MB, free: 1.926 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.002361/0.002361, allocations: 208.7 kB / 23.01 MB, free: 4.98 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.63/1.63, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.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.1114/0.1114, allocations: 24.03 MB / 337.2 MB, free: 11.36 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 75.89 kB / 472 MB, free: 8.266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4129, allocations: 59.57 MB / 0.5191 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.002199/0.4151, allocations: 0.5237 MB / 0.5196 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000244/0.4153, allocations: 22.64 kB / 0.5196 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.4154, allocations: 1.094 kB / 0.5196 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.4154, allocations: 3.938 kB / 0.5196 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.613e-05/0.4155, allocations: 4.453 kB / 0.5196 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.4157, allocations: 3.297 kB / 0.5196 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.692e-05/0.4157, allocations: 8.594 kB / 0.5196 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.507e-05/0.4158, allocations: 3.531 kB / 0.5196 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.4159, allocations: 3.078 kB / 0.5196 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.4159, allocations: 10.22 kB / 0.5196 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.416, allocations: 1.094 kB / 0.5196 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.416, allocations: 4 kB / 0.5196 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.416, allocations: 1.719 kB / 0.5197 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.416, allocations: 13.39 kB / 0.5197 GB, free: 9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.268e-05/0.4161, allocations: 7.922 kB / 0.5197 GB, free: 9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4161, allocations: 0.6094 kB / 0.5197 GB, free: 9 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4161, allocations: 1.094 kB / 0.5197 GB, free: 9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.4161, allocations: 0 / 0.5197 GB, free: 9 MB / 382.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.0005099/0.4166, allocations: 246.9 kB / 0.5199 GB, free: 8.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.4167, allocations: 11.05 kB / 0.5199 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.4167, allocations: 2.875 kB / 0.5199 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.4169, allocations: 112 kB / 0.52 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.4169, allocations: 1.562 kB / 0.52 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.4169, allocations: 2.125 kB / 0.52 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.4171, allocations: 32.97 kB / 0.5201 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4171, allocations: 0.9844 kB / 0.5201 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4171, allocations: 3.938 kB / 0.5201 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4171, allocations: 1.094 kB / 0.5201 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.963e-05/0.4172, allocations: 12.75 kB / 0.5201 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.4173, allocations: 99.34 kB / 0.5202 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.4174, allocations: 31.36 kB / 0.5202 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.4174, allocations: 9.188 kB / 0.5202 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.4174, allocations: 4.594 kB / 0.5202 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4175, allocations: 32.94 kB / 0.5203 GB, free: 8.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4175, allocations: 0 / 0.5203 GB, free: 8.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000203/0.4177, allocations: 53.41 kB / 0.5203 GB, free: 8.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.4177, allocations: 53.31 kB / 0.5204 GB, free: 8.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.4178, allocations: 100.9 kB / 0.5204 GB, free: 8.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.4178, allocations: 26.92 kB / 0.5205 GB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.276e-05/0.4178, allocations: 81.06 kB / 0.5206 GB, free: 8.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.4178, allocations: 17.7 kB / 0.5206 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.4179, allocations: 13.56 kB / 0.5206 GB, free: 8.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.4179, allocations: 313.3 kB / 0.5209 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.418, allocations: 4.297 kB / 0.5209 GB, free: 7.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.418, allocations: 7.391 kB / 0.5209 GB, free: 7.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.4182, allocations: 34.89 kB / 0.5209 GB, free: 7.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4182, allocations: 0 / 0.5209 GB, free: 7.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.518e-05/0.4183, allocations: 50.19 kB / 0.521 GB, free: 7.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4183, allocations: 8.938 kB / 0.521 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4183, allocations: 0.75 kB / 0.521 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4184, allocations: 4.844 kB / 0.521 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.4184, allocations: 6.281 kB / 0.521 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4184, allocations: 0.9688 kB / 0.521 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.4185, allocations: 1.125 kB / 0.521 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4185, allocations: 1 kB / 0.521 GB, free: 7.633 MB / 382.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.0001522/0.4186, allocations: 117.2 kB / 0.5211 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.4186, allocations: 1 kB / 0.5211 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.4187, allocations: 15.72 kB / 0.5211 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4187, allocations: 3.938 kB / 0.5211 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4187, allocations: 2.109 kB / 0.5211 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4187, allocations: 0 / 0.5211 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.657e-05/0.4187, allocations: 107.3 kB / 0.5212 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4187, allocations: 0 / 0.5212 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.4188, allocations: 6.938 kB / 0.5212 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4188, allocations: 0 / 0.5212 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4188, allocations: 1.406 kB / 0.5212 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.4188, allocations: 4.547 kB / 0.5212 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4188, allocations: 3.938 kB / 0.5212 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.419, allocations: 86.53 kB / 0.5213 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.419, allocations: 1.875 kB / 0.5213 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.419, allocations: 1.797 kB / 0.5213 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.344e-05/0.419, allocations: 1.938 kB / 0.5213 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.419, allocations: 6.594 kB / 0.5213 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-06/0.419, allocations: 0 / 0.5213 GB, free: 7.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.4191, allocations: 79.91 kB / 0.5214 GB, free: 7.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4191, allocations: 0 / 0.5214 GB, free: 7.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001873/0.4193, allocations: 2.844 kB / 0.5214 GB, free: 7.199 MB / 382.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 7.736e-05/0.4193, allocations: 103.9 kB / 0.5215 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.4195, allocations: 15.62 kB / 0.5215 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4195, allocations: 0 / 0.5215 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.4195, allocations: 10.39 kB / 0.5215 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.4196, allocations: 2.344 kB / 0.5215 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.4199, allocations: 119.1 kB / 0.5217 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.42, allocations: 59.22 kB / 0.5217 GB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.268e-05/0.42, allocations: 5.781 kB / 0.5217 GB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.42, allocations: 12.44 kB / 0.5217 GB, free: 6.891 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.42, allocations: 1.25 kB / 0.5217 GB, free: 6.891 MB / 382.1 MB Notification: Performance of Templates: time 0.002847/0.4229, allocations: 285.3 kB / 0.522 GB, free: 6.848 MB / 382.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: 5.261258231475949] Failed to read output from testmodel.py, exit status != 0: 0.43317062221467495 0.44602750799999996 0.026859518000000002 Calling exit ...