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.0009529/0.0009529, allocations: 81.97 kB / 20.67 MB, free: 3.824 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.001241/0.001241, allocations: 177 kB / 24.08 MB, free: 432 kB / 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 0.974/0.974, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.06503/0.06503, allocations: 18.14 MB / 279.2 MB, free: 11.18 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,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.883e-06/1.883e-06, allocations: 0 / 355.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.819e-05, allocations: 6.312 kB / 355.3 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001918/0.001946, allocations: 0.5318 MB / 355.8 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000167/0.002113, allocations: 19.91 kB / 355.8 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.002147, allocations: 0 / 355.8 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.002166, allocations: 3.938 kB / 355.8 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.002242, allocations: 4 kB / 355.8 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.002345, allocations: 4 kB / 355.9 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.937e-05/0.002404, allocations: 15.97 kB / 355.9 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.002451, allocations: 0 / 355.9 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.002492, allocations: 4 kB / 355.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.00256, allocations: 3.938 kB / 355.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.002579, allocations: 0 / 355.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.002589, allocations: 0 / 355.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.002612, allocations: 7.984 kB / 355.9 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.002638, allocations: 0 / 355.9 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.928e-05/0.002717, allocations: 11.94 kB / 355.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.00272, allocations: 0 / 355.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.002721, allocations: 4 kB / 355.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.002726, allocations: 0 / 355.9 MB, free: 9.406 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.000389/0.003115, allocations: 348.3 kB / 356.2 MB, free: 9.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.003164, allocations: 8.922 kB / 356.2 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.003197, allocations: 9.234 kB / 356.3 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.489e-05/0.003292, allocations: 108.6 kB / 356.4 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.003309, allocations: 384 / 356.4 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.003325, allocations: 8.312 kB / 356.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.003444, allocations: 46.97 kB / 356.4 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.003452, allocations: 4.188 kB / 356.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.00346, allocations: 384 / 356.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.003468, allocations: 4.359 kB / 356.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.797e-05/0.003486, allocations: 7.875 kB / 356.4 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.003632, allocations: 93.27 kB / 356.5 MB, free: 8.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.003692, allocations: 27.09 kB / 356.6 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.003712, allocations: 15.75 kB / 356.6 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.00372, allocations: 0 / 356.6 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.003752, allocations: 41.38 kB / 356.6 MB, free: 8.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.003753, allocations: 4 kB / 356.6 MB, free: 8.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001308/0.003884, allocations: 37.64 kB / 356.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.003917, allocations: 51.41 kB / 356.7 MB, free: 8.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.004, allocations: 161.9 kB / 356.9 MB, free: 8.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.004012, allocations: 25.7 kB / 356.9 MB, free: 8.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.004056, allocations: 126.9 kB / 357 MB, free: 8.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.004092, allocations: 11.95 kB / 357 MB, free: 8.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.004125, allocations: 15.38 kB / 357 MB, free: 8.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.004267, allocations: 0.4922 MB / 357.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.004281, allocations: 8.109 kB / 357.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-06/0.004291, allocations: 4.188 kB / 357.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.999e-05/0.004341, allocations: 19.72 kB / 357.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.004343, allocations: 0 / 357.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.517e-05/0.004428, allocations: 49.58 kB / 357.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.004442, allocations: 4 kB / 357.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.004448, allocations: 0 / 357.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.004461, allocations: 0 / 357.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.004534, allocations: 8 kB / 357.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.004537, allocations: 0 / 357.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.004554, allocations: 7.969 kB / 357.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.00456, allocations: 3.938 kB / 357.6 MB, free: 7.477 MB / 282.7 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.0001232/0.004683, allocations: 164.6 kB / 357.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.004695, allocations: 4 kB / 357.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.004719, allocations: 3.312 kB / 357.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.004721, allocations: 0 / 357.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.004722, allocations: 3.938 kB / 357.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.004727, allocations: 4 kB / 357.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.603e-05/0.004813, allocations: 93.2 kB / 357.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.004814, allocations: 4 kB / 357.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.004875, allocations: 15.92 kB / 357.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.004877, allocations: 0 / 357.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.004884, allocations: 0 / 357.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.004886, allocations: 0 / 357.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.004887, allocations: 0 / 357.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.00502, allocations: 80.38 kB / 358 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.005033, allocations: 11.94 kB / 358 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.005044, allocations: 0 / 358 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.005059, allocations: 0 / 358 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.005085, allocations: 4.062 kB / 358 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.005088, allocations: 4 kB / 358 MB, free: 7.035 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.346e-05/0.005132, allocations: 127.2 kB / 358.1 MB, free: 6.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005132, allocations: 0 / 358.1 MB, free: 6.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000203/0.005335, allocations: 4 kB / 358.1 MB, free: 6.906 MB / 282.7 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 0.0001006/0.005436, allocations: 91.25 kB / 358.2 MB, free: 6.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.745e-05/0.005513, allocations: 19.62 kB / 358.2 MB, free: 6.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.005515, allocations: 0 / 358.2 MB, free: 6.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.005535, allocations: 15.67 kB / 358.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.005689, allocations: 8 kB / 358.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.005959, allocations: 110.3 kB / 358.4 MB, free: 6.621 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.005995, allocations: 55.36 kB / 358.4 MB, free: 6.547 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.596e-05/0.00601, allocations: 0 / 358.4 MB, free: 6.547 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.006055, allocations: 70.2 kB / 358.5 MB, free: 6.477 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.006056, allocations: 0 / 358.5 MB, free: 6.477 MB / 282.7 MB Notification: Performance of Templates: time 0.001851/0.007907, allocations: 349.8 kB / 358.8 MB, free: 6.137 MB / 282.7 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=240 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6336264880374074]