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.001607/0.001607, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001538/0.001538, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.1083/0.1083, allocations: 24.13 MB / 337.3 MB, free: 11.45 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.002065/0.002065, allocations: 69.92 kB / 472.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4398, allocations: 59.61 MB / 0.5193 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001941/0.4418, allocations: 0.5192 MB / 0.5198 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001749/0.442, allocations: 23.12 kB / 0.5198 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.442, allocations: 0 / 0.5198 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.442, allocations: 1.344 kB / 0.5198 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.4421, allocations: 0.625 kB / 0.5198 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.4422, allocations: 10.36 kB / 0.5199 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.176e-05/0.4423, allocations: 9.203 kB / 0.5199 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.108e-05/0.4423, allocations: 2.625 kB / 0.5199 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.4424, allocations: 6.75 kB / 0.5199 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.4424, allocations: 6.625 kB / 0.5199 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.4425, allocations: 1.406 kB / 0.5199 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.4425, allocations: 0 / 0.5199 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.4425, allocations: 0.6094 kB / 0.5199 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.4425, allocations: 9.984 kB / 0.5199 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.189e-05/0.4426, allocations: 12.02 kB / 0.5199 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4426, allocations: 0 / 0.5199 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.4426, allocations: 2.219 kB / 0.5199 GB, free: 9.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.4426, allocations: 0 / 0.5199 GB, free: 9.113 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.0003983/0.443, allocations: 253.7 kB / 0.5202 GB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.4431, allocations: 10.42 kB / 0.5202 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.4431, allocations: 3.094 kB / 0.5202 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.4432, allocations: 108.4 kB / 0.5203 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.4432, allocations: 5.719 kB / 0.5203 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.4432, allocations: 6.016 kB / 0.5203 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.4434, allocations: 32.8 kB / 0.5203 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4434, allocations: 1.031 kB / 0.5203 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.4434, allocations: 7.875 kB / 0.5203 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4434, allocations: 1.188 kB / 0.5203 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.878e-05/0.4434, allocations: 8.906 kB / 0.5203 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.4436, allocations: 124.4 kB / 0.5204 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.4437, allocations: 30.66 kB / 0.5205 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.4437, allocations: 7.984 kB / 0.5205 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.4437, allocations: 1.281 kB / 0.5205 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.4437, allocations: 36.52 kB / 0.5205 GB, free: 8.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4437, allocations: 0 / 0.5205 GB, free: 8.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001989/0.4439, allocations: 46.3 kB / 0.5206 GB, free: 8.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.444, allocations: 55.53 kB / 0.5206 GB, free: 8.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.4441, allocations: 100.1 kB / 0.5207 GB, free: 8.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.4441, allocations: 25.7 kB / 0.5207 GB, free: 8.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.4441, allocations: 81.89 kB / 0.5208 GB, free: 8.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.4441, allocations: 13.89 kB / 0.5208 GB, free: 8.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.4442, allocations: 16.95 kB / 0.5208 GB, free: 8.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4443, allocations: 313.7 kB / 0.5211 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.673e-05/0.4443, allocations: 7.516 kB / 0.5211 GB, free: 7.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.4443, allocations: 7.031 kB / 0.5212 GB, free: 7.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.4446, allocations: 30.55 kB / 0.5212 GB, free: 7.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4446, allocations: 0 / 0.5212 GB, free: 7.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001/0.4447, allocations: 46.48 kB / 0.5212 GB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4447, allocations: 6.016 kB / 0.5212 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4447, allocations: 3.938 kB / 0.5212 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4447, allocations: 0 / 0.5212 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.4448, allocations: 10.58 kB / 0.5212 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.4448, allocations: 32 / 0.5212 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.4448, allocations: 5.969 kB / 0.5213 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.4448, allocations: 8.906 kB / 0.5213 GB, free: 7.699 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.0001407/0.445, allocations: 110.4 kB / 0.5214 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.445, allocations: 2.641 kB / 0.5214 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.445, allocations: 11.2 kB / 0.5214 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.445, allocations: 1.312 kB / 0.5214 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.445, allocations: 0.5625 kB / 0.5214 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.445, allocations: 7.938 kB / 0.5214 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.99e-05/0.4451, allocations: 128 kB / 0.5215 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4451, allocations: 2.219 kB / 0.5215 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.568e-05/0.4452, allocations: 5.203 kB / 0.5215 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4452, allocations: 0.9688 kB / 0.5215 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4452, allocations: 4.453 kB / 0.5215 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4452, allocations: 1.094 kB / 0.5215 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4452, allocations: 0 / 0.5215 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.4454, allocations: 88.77 kB / 0.5216 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.4454, allocations: 2.562 kB / 0.5216 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.4454, allocations: 5 kB / 0.5216 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.517e-05/0.4454, allocations: 1.875 kB / 0.5216 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.4455, allocations: 1.719 kB / 0.5216 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4455, allocations: 0.75 kB / 0.5216 GB, free: 7.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.4455, allocations: 82.11 kB / 0.5217 GB, free: 7.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4455, allocations: 1.031 kB / 0.5217 GB, free: 7.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001919/0.4457, allocations: 2.969 kB / 0.5217 GB, free: 7.238 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.982e-05/0.4458, allocations: 99.41 kB / 0.5218 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.4459, allocations: 11.38 kB / 0.5218 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4459, allocations: 5.531 kB / 0.5218 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/0.446, allocations: 9.094 kB / 0.5218 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.4461, allocations: 2.484 kB / 0.5218 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.4465, allocations: 154.2 kB / 0.522 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.4467, allocations: 0.6747 MB / 0.5226 GB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.4467, allocations: 9.406 kB / 0.5226 GB, free: 6.277 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4467, allocations: 0 / 0.5226 GB, free: 6.277 MB / 382.1 MB Notification: Performance of Templates: time 0.002439/0.4492, allocations: 489.1 kB / 0.5231 GB, free: 6.262 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: 7.407822813140228] Failed to read output from testmodel.py, exit status != 0: 0.4579980270937085 0.47340503799999994 0.027252256000000002 Calling exit ...