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.001074/0.001074, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001186/0.001186, allocations: 169 kB / 23.82 MB, free: 0.75 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.007/1.007, allocations: 177.2 MB / 204.2 MB, free: 5.641 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.06378/0.06378, allocations: 18.14 MB / 278.9 MB, free: 11.33 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 9.11e-07/9.11e-07, allocations: 0 / 354.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.096e-05, allocations: 8.641 kB / 354.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.0008826/0.0008936, allocations: 0.5243 MB / 355.4 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 8.032e-05/0.0009739, allocations: 19.89 kB / 355.4 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.396e-05/0.0009878, allocations: 0 / 355.4 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.0009999, allocations: 4 kB / 355.4 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.001042, allocations: 7.875 kB / 355.4 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.956e-05/0.001102, allocations: 8 kB / 355.4 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.399e-05/0.001136, allocations: 7.984 kB / 355.4 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.493e-05/0.001161, allocations: 0 / 355.4 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.00118, allocations: 4 kB / 355.4 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.209e-05/0.001212, allocations: 3.938 kB / 355.4 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.001225, allocations: 0 / 355.4 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.411e-06/0.00123, allocations: 0 / 355.4 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.001241, allocations: 7.984 kB / 355.4 MB, free: 9.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.433e-05/0.001256, allocations: 11.98 kB / 355.5 MB, free: 9.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 3.555e-05/0.001291, allocations: 0 / 355.5 MB, free: 9.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.001293, allocations: 0 / 355.5 MB, free: 9.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.001294, allocations: 4 kB / 355.5 MB, free: 9.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.001297, allocations: 0 / 355.5 MB, free: 9.672 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.0002596/0.001557, allocations: 348.4 kB / 355.8 MB, free: 9.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.00159, allocations: 8.922 kB / 355.8 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.001624, allocations: 5.234 kB / 355.8 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.001729, allocations: 112.6 kB / 355.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.001747, allocations: 384 / 355.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.001764, allocations: 4.312 kB / 355.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.113e-05/0.001855, allocations: 46.97 kB / 356 MB, free: 9.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.001864, allocations: 192 / 356 MB, free: 9.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.001872, allocations: 4.375 kB / 356 MB, free: 9.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.00188, allocations: 384 / 356 MB, free: 9.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.001898, allocations: 15.86 kB / 356 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.002024, allocations: 108.6 kB / 356.1 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.002075, allocations: 35.09 kB / 356.1 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.002095, allocations: 11.62 kB / 356.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.002102, allocations: 3.984 kB / 356.1 MB, free: 8.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.002128, allocations: 41.45 kB / 356.2 MB, free: 8.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.002129, allocations: 0 / 356.2 MB, free: 8.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001214/0.002251, allocations: 37.7 kB / 356.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.002288, allocations: 55.41 kB / 356.3 MB, free: 8.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.002365, allocations: 157.9 kB / 356.4 MB, free: 8.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.002378, allocations: 29.7 kB / 356.5 MB, free: 8.492 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.002417, allocations: 126.9 kB / 356.6 MB, free: 8.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.002442, allocations: 7.953 kB / 356.6 MB, free: 8.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.002467, allocations: 19.38 kB / 356.6 MB, free: 8.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.0026, allocations: 496.2 kB / 357.1 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.002613, allocations: 15.94 kB / 357.1 MB, free: 7.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.00262, allocations: 0 / 357.1 MB, free: 7.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.3e-05/0.002663, allocations: 19.69 kB / 357.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.002666, allocations: 0 / 357.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.175e-05/0.002717, allocations: 49.91 kB / 357.2 MB, free: 7.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.002727, allocations: 4 kB / 357.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.002731, allocations: 0 / 357.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.002741, allocations: 0 / 357.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.002798, allocations: 7.938 kB / 357.2 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.002802, allocations: 4.031 kB / 357.2 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.246e-05/0.002814, allocations: 11.88 kB / 357.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.002819, allocations: 0 / 357.2 MB, free: 7.711 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 7.999e-05/0.002899, allocations: 160.6 kB / 357.4 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.168e-06/0.002903, allocations: 4 kB / 357.4 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.002917, allocations: 3.312 kB / 357.4 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.002918, allocations: 0 / 357.4 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.002921, allocations: 0 / 357.4 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.002924, allocations: 3.938 kB / 357.4 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.143e-05/0.002986, allocations: 116.6 kB / 357.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.002987, allocations: 8 kB / 357.5 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.003021, allocations: 8 kB / 357.5 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.003022, allocations: 3.938 kB / 357.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.003028, allocations: 0 / 357.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.003029, allocations: 0 / 357.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.003029, allocations: 0 / 357.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.232e-05/0.003122, allocations: 88.31 kB / 357.6 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.00313, allocations: 3.953 kB / 357.6 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-06/0.003137, allocations: 0 / 357.6 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.003145, allocations: 4.062 kB / 357.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.003167, allocations: 7.984 kB / 357.6 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.003169, allocations: 0 / 357.6 MB, free: 7.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.003199, allocations: 123.2 kB / 357.7 MB, free: 7.121 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003199, allocations: 0 / 357.7 MB, free: 7.121 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001059/0.003305, allocations: 7.938 kB / 357.7 MB, free: 7.113 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 5.303e-05/0.003358, allocations: 91.25 kB / 357.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.177e-05/0.00342, allocations: 19.67 kB / 357.8 MB, free: 6.992 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.72e-07/0.003421, allocations: 0 / 357.8 MB, free: 6.992 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.003435, allocations: 23.62 kB / 357.9 MB, free: 6.965 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.481e-05/0.00353, allocations: 6.875 kB / 357.9 MB, free: 6.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001879/0.003718, allocations: 110.3 kB / 358 MB, free: 6.824 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.546e-05/0.003744, allocations: 55.34 kB / 358 MB, free: 6.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.101e-05/0.003755, allocations: 4 kB / 358 MB, free: 6.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.003773, allocations: 8.5 kB / 358 MB, free: 6.734 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.003774, allocations: 0 / 358 MB, free: 6.734 MB / 282.7 MB Notification: Performance of Templates: time 0.001662/0.005436, allocations: 324.5 kB / 358.4 MB, free: 6.418 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.738938140217215]