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.001862/0.001862, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.002187/0.002187, allocations: 157.7 kB / 23.53 MB, free: 0.9023 MB / 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 1.535/1.535, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 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.1073/0.1073, allocations: 18.15 MB / 278.5 MB, free: 11.31 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.393e-06/1.393e-06, allocations: 0 / 354.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.795e-05, allocations: 6.25 kB / 354.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001669/0.001697, allocations: 0.52 MB / 354.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001403/0.001837, allocations: 15.92 kB / 354.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.001862, allocations: 0 / 354.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.001875, allocations: 0 / 354.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.00194, allocations: 0 / 354.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.002045, allocations: 15.84 kB / 354.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.002102, allocations: 11.94 kB / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.002141, allocations: 4 kB / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.002169, allocations: 4 kB / 354.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.002222, allocations: 7.984 kB / 354.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.002237, allocations: 0 / 354.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.002245, allocations: 0 / 354.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.002259, allocations: 0 / 354.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.00229, allocations: 7.938 kB / 354.7 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.938e-05/0.00235, allocations: 7.984 kB / 354.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002352, allocations: 0 / 354.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002352, allocations: 0 / 354.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.002356, allocations: 0 / 354.7 MB, free: 10.02 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.0004329/0.002789, allocations: 246.4 kB / 354.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.002824, allocations: 12.92 kB / 355 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.002864, allocations: 8.938 kB / 355 MB, free: 9.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.003004, allocations: 113.7 kB / 355.1 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.003024, allocations: 384 / 355.1 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.003044, allocations: 384 / 355.1 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.003158, allocations: 38.19 kB / 355.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.003165, allocations: 4.188 kB / 355.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.003174, allocations: 384 / 355.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.003178, allocations: 384 / 355.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.00324, allocations: 15.92 kB / 355.1 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.003418, allocations: 105.3 kB / 355.2 MB, free: 9.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.003522, allocations: 22.61 kB / 355.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.003562, allocations: 8.922 kB / 355.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.003574, allocations: 0 / 355.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.003616, allocations: 42.48 kB / 355.3 MB, free: 9.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.003616, allocations: 0 / 355.3 MB, free: 9.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002008/0.003817, allocations: 45.69 kB / 355.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.003862, allocations: 51.41 kB / 355.4 MB, free: 9.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.003958, allocations: 105.9 kB / 355.5 MB, free: 9.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.003978, allocations: 25.7 kB / 355.5 MB, free: 9.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.004041, allocations: 84.14 kB / 355.6 MB, free: 8.961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.004065, allocations: 7.891 kB / 355.6 MB, free: 8.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.004107, allocations: 21.7 kB / 355.6 MB, free: 8.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.004288, allocations: 310.8 kB / 355.9 MB, free: 8.613 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.492e-05/0.004323, allocations: 4 kB / 355.9 MB, free: 8.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.004347, allocations: 4 kB / 356 MB, free: 8.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.004568, allocations: 36.77 kB / 356 MB, free: 8.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004569, allocations: 4.031 kB / 356 MB, free: 8.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001171/0.004686, allocations: 53.64 kB / 356 MB, free: 8.504 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.004699, allocations: 4 kB / 356 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.004704, allocations: 0 / 356 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.004721, allocations: 0 / 356 MB, free: 8.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.004806, allocations: 7.984 kB / 356.1 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.00481, allocations: 0 / 356.1 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.004838, allocations: 7.938 kB / 356.1 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.004843, allocations: 0 / 356.1 MB, free: 8.484 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.0001581/0.005001, allocations: 117.8 kB / 356.2 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.00501, allocations: 4 kB / 356.2 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.005028, allocations: 7.266 kB / 356.2 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.00503, allocations: 0 / 356.2 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.005033, allocations: 0 / 356.2 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.005038, allocations: 3.938 kB / 356.2 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.005142, allocations: 105.3 kB / 356.3 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.005143, allocations: 4 kB / 356.3 MB, free: 8.211 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.00522, allocations: 4 kB / 356.3 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005221, allocations: 0 / 356.3 MB, free: 8.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.005228, allocations: 4 kB / 356.3 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.005233, allocations: 4 kB / 356.3 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005234, allocations: 0 / 356.3 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.005426, allocations: 89.02 kB / 356.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.005441, allocations: 7.891 kB / 356.4 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.005452, allocations: 0 / 356.4 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/0.005476, allocations: 0 / 356.4 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.005509, allocations: 4.281 kB / 356.4 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.005511, allocations: 0 / 356.4 MB, free: 8.082 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.294e-05/0.005564, allocations: 83.25 kB / 356.5 MB, free: 8 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.005564, allocations: 8.094 kB / 356.5 MB, free: 7.992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000182/0.005746, allocations: 7.875 kB / 356.5 MB, free: 7.984 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.0001041/0.005851, allocations: 91.25 kB / 356.6 MB, free: 7.887 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.00596, allocations: 19.98 kB / 356.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.005961, allocations: 0 / 356.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.005998, allocations: 7.938 kB / 356.6 MB, free: 7.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.006153, allocations: 6.969 kB / 356.6 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.006456, allocations: 112.8 kB / 356.7 MB, free: 7.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.236e-05/0.006518, allocations: 59.34 kB / 356.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.887e-05/0.006537, allocations: 0 / 356.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.006562, allocations: 8.5 kB / 356.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006563, allocations: 4 kB / 356.8 MB, free: 7.625 MB / 282.7 MB Notification: Performance of Templates: time 0.002568/0.009131, allocations: 314.1 kB / 357.1 MB, free: 7.32 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=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.596931271953508]