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.0006723/0.0006723, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008741/0.001546, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006676/0.0006676, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008553/0.001523, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9617/0.9617, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09864/1.06, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.07638/0.07638, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01152/0.0879, allocations: 6.789 MB / 269.1 MB, free: 6.234 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.453e-06/1.453e-06, allocations: 0 / 270.4 MB, free: 4.938 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.554e-05, allocations: 2.312 kB / 270.4 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001985/0.00201, allocations: 0.5793 MB / 270.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 5.533e-05/0.002066, allocations: 15.92 kB / 270.9 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.683e-05/0.002082, allocations: 3.938 kB / 271 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.989e-06/0.002087, allocations: 0 / 271 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.002124, allocations: 7.938 kB / 271 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.05e-05/0.002175, allocations: 0 / 271 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.002236, allocations: 11.98 kB / 271 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.00228, allocations: 3.984 kB / 271 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.002359, allocations: 15.92 kB / 271 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.002419, allocations: 4 kB / 271 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.002442, allocations: 0 / 271 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.053e-06/0.002449, allocations: 0 / 271 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.002468, allocations: 0 / 271 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.002487, allocations: 4 kB / 271 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.478e-05/0.002572, allocations: 7.938 kB / 271 MB, free: 4.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.002587, allocations: 0 / 271 MB, free: 4.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.002587, allocations: 0 / 271 MB, free: 4.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.0026, allocations: 4 kB / 271 MB, free: 4.273 MB / 266.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.0004039/0.003004, allocations: 224.6 kB / 271.2 MB, free: 4.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.003043, allocations: 16.02 kB / 271.2 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.003074, allocations: 0.9375 kB / 271.2 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.00318, allocations: 109.8 kB / 271.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.003199, allocations: 384 / 271.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.003221, allocations: 384 / 271.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.003333, allocations: 54.95 kB / 271.4 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.00334, allocations: 192 / 271.4 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.003348, allocations: 4.359 kB / 271.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.003354, allocations: 384 / 271.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.003372, allocations: 7.938 kB / 271.4 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.943e-05/0.003471, allocations: 60.98 kB / 271.5 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.945e-05/0.003521, allocations: 22.55 kB / 271.5 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.003536, allocations: 8.922 kB / 271.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-06/0.003543, allocations: 0 / 271.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.003571, allocations: 38.55 kB / 271.5 MB, free: 3.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.003571, allocations: 4 kB / 271.6 MB, free: 3.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001064/0.003678, allocations: 41.64 kB / 271.6 MB, free: 3.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.00371, allocations: 51.41 kB / 271.6 MB, free: 3.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.003772, allocations: 102.7 kB / 271.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.003783, allocations: 25.7 kB / 271.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.003812, allocations: 84.12 kB / 271.9 MB, free: 3.297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.003844, allocations: 7.953 kB / 271.9 MB, free: 3.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.003872, allocations: 9.719 kB / 271.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.003963, allocations: 318.8 kB / 272.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.00398, allocations: 8.109 kB / 272.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.00399, allocations: 7.938 kB / 272.2 MB, free: 2.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.004033, allocations: 8.859 kB / 272.2 MB, free: 2.926 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.004037, allocations: 4 kB / 272.2 MB, free: 2.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.52e-05/0.004102, allocations: 45.62 kB / 272.3 MB, free: 2.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.004115, allocations: 4 kB / 272.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.00412, allocations: 0 / 272.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.004132, allocations: 0 / 272.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.004237, allocations: 11.98 kB / 272.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.00424, allocations: 0 / 272.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.496e-05/0.004255, allocations: 4.031 kB / 272.3 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.004261, allocations: 4 kB / 272.3 MB, free: 2.848 MB / 266.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.0001156/0.004377, allocations: 121.7 kB / 272.4 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.004386, allocations: 0 / 272.4 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.004414, allocations: 11.3 kB / 272.4 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.004416, allocations: 0 / 272.4 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.004419, allocations: 4 kB / 272.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.004422, allocations: 0 / 272.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.071e-05/0.004493, allocations: 65.84 kB / 272.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.004494, allocations: 4 kB / 272.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.004572, allocations: 7.984 kB / 272.5 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.004581, allocations: 4 kB / 272.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.004583, allocations: 0 / 272.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.004589, allocations: 0 / 272.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.004591, allocations: 3.938 kB / 272.5 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.004592, allocations: 0 / 272.5 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.004718, allocations: 65.34 kB / 272.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.004728, allocations: 0 / 272.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.177e-05/0.00475, allocations: 4 kB / 272.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.004777, allocations: 16.03 kB / 272.6 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.004779, allocations: 0 / 272.6 MB, free: 2.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.464e-05/0.004794, allocations: 8.859 kB / 272.6 MB, free: 2.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004794, allocations: 0 / 272.6 MB, free: 2.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00015/0.004944, allocations: 0 / 272.6 MB, free: 2.488 MB / 266.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 8.172e-05/0.005026, allocations: 72.42 kB / 272.7 MB, free: 2.406 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.398e-05/0.0051, allocations: 28.7 kB / 272.7 MB, free: 2.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.005105, allocations: 4 kB / 272.7 MB, free: 2.371 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.232e-05/0.005127, allocations: 12.86 kB / 272.7 MB, free: 2.355 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.003e-05/0.005207, allocations: 15.88 kB / 272.7 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.005464, allocations: 100.7 kB / 272.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.619e-05/0.0055, allocations: 59.34 kB / 272.9 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.756e-05/0.005517, allocations: 0 / 272.9 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.005556, allocations: 47.38 kB / 272.9 MB, free: 2.09 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.005556, allocations: 0 / 272.9 MB, free: 2.09 MB / 266.7 MB Notification: Performance of Templates: time 0.0022/0.007757, allocations: 335.5 kB / 273.2 MB, free: 1.766 MB / 266.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.4769606683403254]