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.00153/0.00153, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.001562/0.001562, allocations: 157.7 kB / 23.01 MB, free: 4.945 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.582/1.582, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.1018/0.1018, allocations: 17.8 MB / 277.6 MB, free: 15.34 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.002194/0.002194, allocations: 71.89 kB / 412.3 MB, free: 6.848 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.144, allocations: 59.55 MB / 471.8 MB, free: 11.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001806/0.1458, allocations: 0.5338 MB / 472.4 MB, free: 10.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.1459, allocations: 19.91 kB / 472.4 MB, free: 10.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.146, allocations: 0 / 472.4 MB, free: 10.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.146, allocations: 0 / 472.4 MB, free: 10.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.4e-05/0.146, allocations: 3.938 kB / 472.4 MB, free: 10.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.1461, allocations: 0 / 472.4 MB, free: 10.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.1462, allocations: 11.94 kB / 472.4 MB, free: 10.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.1462, allocations: 7.984 kB / 472.4 MB, free: 10.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.411e-05/0.1463, allocations: 0 / 472.4 MB, free: 10.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.1463, allocations: 4 kB / 472.4 MB, free: 10.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1463, allocations: 4 kB / 472.4 MB, free: 10.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.1463, allocations: 0 / 472.4 MB, free: 10.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.1464, allocations: 11.86 kB / 472.4 MB, free: 10.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.1464, allocations: 8 kB / 472.4 MB, free: 10.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.195e-05/0.1464, allocations: 7.922 kB / 472.5 MB, free: 10.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1464, allocations: 0 / 472.5 MB, free: 10.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1465, allocations: 0 / 472.5 MB, free: 10.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1465, allocations: 0 / 472.5 MB, free: 10.57 MB / 446.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.0004177/0.1469, allocations: 250.4 kB / 472.7 MB, free: 10.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1469, allocations: 8.922 kB / 472.7 MB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.147, allocations: 0.9375 kB / 472.7 MB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1471, allocations: 114.5 kB / 472.8 MB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1471, allocations: 384 / 472.8 MB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.1471, allocations: 384 / 472.8 MB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.1472, allocations: 34.25 kB / 472.9 MB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1472, allocations: 192 / 472.9 MB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1472, allocations: 3.938 kB / 472.9 MB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1472, allocations: 4 kB / 472.9 MB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.555e-05/0.1473, allocations: 11.92 kB / 472.9 MB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1474, allocations: 101.4 kB / 473 MB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.929e-05/0.1475, allocations: 26.58 kB / 473 MB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.1476, allocations: 16.84 kB / 473 MB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1476, allocations: 0 / 473 MB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1476, allocations: 34.56 kB / 473 MB, free: 9.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 6.82e-07/0.1476, allocations: 0 / 473 MB, free: 9.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000194/0.1478, allocations: 57.52 kB / 473.1 MB, free: 9.805 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.1478, allocations: 51.41 kB / 473.2 MB, free: 9.742 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.1479, allocations: 97.86 kB / 473.3 MB, free: 9.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1479, allocations: 25.7 kB / 473.3 MB, free: 9.605 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.148, allocations: 88.25 kB / 473.4 MB, free: 9.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.148, allocations: 7.953 kB / 473.4 MB, free: 9.508 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.1481, allocations: 13.72 kB / 473.4 MB, free: 9.488 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1482, allocations: 314.8 kB / 473.7 MB, free: 9.172 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.1482, allocations: 0 / 473.7 MB, free: 9.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.1483, allocations: 8.172 kB / 473.7 MB, free: 9.164 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.1485, allocations: 36.88 kB / 473.7 MB, free: 9.125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1485, allocations: 0 / 473.7 MB, free: 9.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000112/0.1486, allocations: 53.62 kB / 473.8 MB, free: 9.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1486, allocations: 10.69 kB / 473.8 MB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1486, allocations: 3.938 kB / 473.8 MB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1486, allocations: 11.92 kB / 473.8 MB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.1487, allocations: 4 kB / 473.8 MB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1487, allocations: 0 / 473.8 MB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.1487, allocations: 0 / 473.8 MB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1487, allocations: 0 / 473.8 MB, free: 9.039 MB / 446.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.0001417/0.1489, allocations: 113.8 kB / 473.9 MB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-06/0.1489, allocations: 0 / 473.9 MB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.1489, allocations: 11.3 kB / 473.9 MB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1489, allocations: 7.938 kB / 473.9 MB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1489, allocations: 0 / 473.9 MB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1489, allocations: 0 / 473.9 MB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.985e-05/0.149, allocations: 105.3 kB / 474.1 MB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.149, allocations: 0 / 474.1 MB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.1491, allocations: 7.984 kB / 474.1 MB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1491, allocations: 3.938 kB / 474.1 MB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1491, allocations: 0 / 474.1 MB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1491, allocations: 4 kB / 474.1 MB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1491, allocations: 3.938 kB / 474.1 MB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.1492, allocations: 73.12 kB / 474.1 MB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.1493, allocations: 4 kB / 474.1 MB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.1493, allocations: 0 / 474.1 MB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.453e-05/0.1493, allocations: 4.031 kB / 474.1 MB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.1493, allocations: 7.922 kB / 474.2 MB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1493, allocations: 3.938 kB / 474.2 MB, free: 8.637 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.1494, allocations: 79.28 kB / 474.2 MB, free: 8.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1494, allocations: 0 / 474.2 MB, free: 8.559 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000174/0.1495, allocations: 4 kB / 474.2 MB, free: 8.555 MB / 446.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 8.556e-05/0.1496, allocations: 99.22 kB / 474.3 MB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.1497, allocations: 23.92 kB / 474.4 MB, free: 8.426 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1497, allocations: 0 / 474.4 MB, free: 8.426 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.1498, allocations: 4 kB / 474.4 MB, free: 8.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.1499, allocations: 4 kB / 474.4 MB, free: 8.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.1502, allocations: 109.6 kB / 474.5 MB, free: 8.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.1503, allocations: 67.28 kB / 474.5 MB, free: 8.199 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.1503, allocations: 4.062 kB / 474.5 MB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.1503, allocations: 8.5 kB / 474.6 MB, free: 8.188 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.1503, allocations: 0 / 474.6 MB, free: 8.188 MB / 446.1 MB Notification: Performance of Templates: time 0.002467/0.1528, allocations: 295.8 kB / 474.8 MB, free: 7.902 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.123090326902457] Failed to read output from testmodel.py, exit status != 0: 0.16150270903017372 0.357483938 0.20861369000000002 Calling exit ...