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.0006844/0.0006844, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008724/0.001557, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006848/0.0006848, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.001796, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9824/0.9824, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08647/1.069, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.08111/0.08111, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01195/0.09307, allocations: 6.778 MB / 268.9 MB, free: 6.352 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.643e-06/1.643e-06, allocations: 0 / 270.1 MB, free: 5.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.113e-05, allocations: 5.406 kB / 270.1 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.00159/0.001611, allocations: 0.5798 MB / 270.7 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 5.046e-05/0.001661, allocations: 19.91 kB / 270.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.001678, allocations: 0 / 270.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.468e-06/0.001682, allocations: 0 / 270.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.987e-05/0.001712, allocations: 0 / 270.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.631e-05/0.001759, allocations: 7.984 kB / 270.8 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.264e-05/0.001811, allocations: 11.94 kB / 270.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.001848, allocations: 4 kB / 270.8 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.00191, allocations: 7.984 kB / 270.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.001958, allocations: 4 kB / 270.8 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.001977, allocations: 0 / 270.8 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-06/0.001984, allocations: 0 / 270.8 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.001996, allocations: 3.938 kB / 270.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.002015, allocations: 4 kB / 270.8 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.397e-05/0.002078, allocations: 4 kB / 270.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.002095, allocations: 3.938 kB / 270.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002095, allocations: 0 / 270.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.00211, allocations: 4 kB / 270.8 MB, free: 4.41 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.0004099/0.00252, allocations: 232.6 kB / 271 MB, free: 4.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.002558, allocations: 12.03 kB / 271 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.002585, allocations: 0.9375 kB / 271 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.304e-05/0.002678, allocations: 109.8 kB / 271.1 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.002697, allocations: 384 / 271.1 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.002713, allocations: 384 / 271.2 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.902e-05/0.002812, allocations: 46.95 kB / 271.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.002818, allocations: 192 / 271.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.002824, allocations: 384 / 271.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.002829, allocations: 4.375 kB / 271.2 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.002849, allocations: 7.938 kB / 271.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.158e-05/0.002941, allocations: 68.92 kB / 271.3 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.002989, allocations: 18.61 kB / 271.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.003003, allocations: 12.86 kB / 271.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.00301, allocations: 0 / 271.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.003036, allocations: 38.55 kB / 271.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.003037, allocations: 0 / 271.3 MB, free: 3.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 9.895e-05/0.003136, allocations: 37.64 kB / 271.4 MB, free: 3.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.003166, allocations: 55.53 kB / 271.4 MB, free: 3.664 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/0.003228, allocations: 106.7 kB / 271.5 MB, free: 3.547 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.00324, allocations: 25.7 kB / 271.6 MB, free: 3.516 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.003265, allocations: 84.14 kB / 271.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.003295, allocations: 7.953 kB / 271.7 MB, free: 3.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.003331, allocations: 13.7 kB / 271.7 MB, free: 3.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.003438, allocations: 322.8 kB / 272 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.003449, allocations: 0 / 272 MB, free: 3.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-06/0.003457, allocations: 4 kB / 272 MB, free: 3.074 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.003501, allocations: 8.859 kB / 272 MB, free: 3.062 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.003503, allocations: 4.031 kB / 272 MB, free: 3.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.548e-05/0.003568, allocations: 45.62 kB / 272 MB, free: 3.008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.003582, allocations: 4 kB / 272 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.003587, allocations: 0 / 272 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.003596, allocations: 0 / 272 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.003702, allocations: 11.98 kB / 272.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.003705, allocations: 0 / 272.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.00372, allocations: 0 / 272.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.003727, allocations: 4 kB / 272.1 MB, free: 2.988 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.000117/0.003844, allocations: 121.7 kB / 272.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.003852, allocations: 0 / 272.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.003877, allocations: 7.578 kB / 272.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.003879, allocations: 0 / 272.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.003882, allocations: 4 kB / 272.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.003886, allocations: 3.984 kB / 272.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.96e-05/0.003955, allocations: 69.83 kB / 272.3 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.003957, allocations: 0 / 272.3 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.004028, allocations: 11.98 kB / 272.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-06/0.004037, allocations: 7.938 kB / 272.3 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.004039, allocations: 4 kB / 272.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.004047, allocations: 4 kB / 272.3 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.004048, allocations: 3.938 kB / 272.3 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.004049, allocations: 0 / 272.3 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.004156, allocations: 65.06 kB / 272.4 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.004165, allocations: 0 / 272.4 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.097e-05/0.004186, allocations: 4 kB / 272.4 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.004209, allocations: 3.984 kB / 272.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.004211, allocations: 0 / 272.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.291e-05/0.004224, allocations: 8.859 kB / 272.4 MB, free: 2.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.004224, allocations: 4.062 kB / 272.4 MB, free: 2.621 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.00438, allocations: 0 / 272.4 MB, free: 2.621 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 7.387e-05/0.004453, allocations: 76.42 kB / 272.5 MB, free: 2.535 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.137e-05/0.004515, allocations: 20.78 kB / 272.5 MB, free: 2.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.004518, allocations: 0 / 272.5 MB, free: 2.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.004532, allocations: 8.859 kB / 272.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.533e-05/0.004607, allocations: 11.88 kB / 272.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.004847, allocations: 112.8 kB / 272.6 MB, free: 2.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.005005, allocations: 55.34 kB / 272.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.538e-05/0.00502, allocations: 0 / 272.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.005058, allocations: 51.38 kB / 272.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005059, allocations: 0 / 272.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of Templates: time 0.002095/0.007154, allocations: 333.7 kB / 273 MB, free: 1.898 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.503550950437784]