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.0007174/0.0007174, allocations: 71.7 kB / 20.8 MB, free: 3.719 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.0007115/0.0007115, allocations: 170 kB / 24.1 MB, free: 428 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.8792/0.8792, allocations: 177.1 MB / 204.4 MB, free: 5.703 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.06105/0.06105, allocations: 18.13 MB / 279 MB, free: 11.48 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 2.304e-06/2.304e-06, allocations: 0.7969 kB / 414.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.281e-05, allocations: 2.281 kB / 414.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001573/0.001606, allocations: 0.5232 MB / 414.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001785/0.001785, allocations: 21.72 kB / 414.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.001814, allocations: 0 / 414.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.001829, allocations: 0 / 414.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.499e-05/0.001894, allocations: 2.094 kB / 414.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.002016, allocations: 2.719 kB / 414.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.002079, allocations: 15.5 kB / 414.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.002129, allocations: 8.203 kB / 414.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.002157, allocations: 1.984 kB / 414.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.00222, allocations: 2.594 kB / 414.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.002239, allocations: 1.469 kB / 414.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.002247, allocations: 0 / 414.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.002265, allocations: 5.125 kB / 414.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.002289, allocations: 2.078 kB / 414.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.155e-05/0.002361, allocations: 16.34 kB / 414.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.002363, allocations: 0 / 414.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.002364, allocations: 4 kB / 414.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.002369, allocations: 0 / 414.8 MB, free: 13.09 MB / 330.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.0003385/0.002708, allocations: 242.8 kB / 415 MB, free: 12.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.002755, allocations: 10.5 kB / 415 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.002787, allocations: 6.016 kB / 415 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.634e-05/0.002863, allocations: 109.3 kB / 415.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.002886, allocations: 1.531 kB / 415.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.002911, allocations: 4.875 kB / 415.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.003027, allocations: 33.44 kB / 415.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.003037, allocations: 4.172 kB / 415.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.003047, allocations: 4.375 kB / 415.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.003052, allocations: 1.531 kB / 415.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.003098, allocations: 14.02 kB / 415.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.00322, allocations: 102.1 kB / 415.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.888e-05/0.003299, allocations: 25.97 kB / 415.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.003328, allocations: 8.438 kB / 415.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.003342, allocations: 2.188 kB / 415.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.003363, allocations: 32.03 kB / 415.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/0.003365, allocations: 0 / 415.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001951/0.00356, allocations: 56.94 kB / 415.4 MB, free: 12.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.003588, allocations: 52.75 kB / 415.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.003654, allocations: 99.44 kB / 415.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.003662, allocations: 26.45 kB / 415.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.095e-05/0.003683, allocations: 84.64 kB / 415.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.003716, allocations: 5.734 kB / 415.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.003746, allocations: 13.03 kB / 415.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.003784, allocations: 316.4 kB / 416 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.003823, allocations: 4.422 kB / 416 MB, free: 11.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.003843, allocations: 7.656 kB / 416 MB, free: 11.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.004053, allocations: 38.16 kB / 416 MB, free: 11.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.004056, allocations: 0 / 416 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.871e-05/0.004145, allocations: 48.42 kB / 416.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.004162, allocations: 5.188 kB / 416.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.00417, allocations: 1.969 kB / 416.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.004185, allocations: 3.938 kB / 416.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.004264, allocations: 7.078 kB / 416.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.00427, allocations: 0 / 416.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.004291, allocations: 13.5 kB / 416.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.004297, allocations: 0 / 416.1 MB, free: 11.75 MB / 330.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 9.502e-05/0.004392, allocations: 110.6 kB / 416.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.0044, allocations: 2.109 kB / 416.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.004428, allocations: 11.33 kB / 416.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.00443, allocations: 1.156 kB / 416.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.004434, allocations: 0 / 416.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.004438, allocations: 4.688 kB / 416.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.858e-05/0.004497, allocations: 103.1 kB / 416.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.004499, allocations: 5.438 kB / 416.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.004562, allocations: 10.75 kB / 416.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.004565, allocations: 0.75 kB / 416.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.004574, allocations: 3.438 kB / 416.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.004575, allocations: 1.469 kB / 416.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.004577, allocations: 0 / 416.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.004726, allocations: 75.73 kB / 416.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.004741, allocations: 10.27 kB / 416.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.004755, allocations: 0.9375 kB / 416.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.004772, allocations: 4.094 kB / 416.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.004813, allocations: 6.891 kB / 416.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.004819, allocations: 3.172 kB / 416.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.696e-05/0.004836, allocations: 77.22 kB / 416.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004836, allocations: 0 / 416.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.005038, allocations: 7.594 kB / 416.6 MB, free: 11.34 MB / 330.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.33e-05/0.005121, allocations: 94.56 kB / 416.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.961e-05/0.005221, allocations: 16.61 kB / 416.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.005223, allocations: 0 / 416.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/0.005244, allocations: 10.27 kB / 416.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.005407, allocations: 5.656 kB / 416.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.005688, allocations: 100.9 kB / 416.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.005727, allocations: 64.7 kB / 416.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.223e-05/0.005759, allocations: 1.031 kB / 416.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.005786, allocations: 9.656 kB / 416.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005786, allocations: 0 / 416.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of Templates: time 0.002323/0.008109, allocations: 303.2 kB / 417.1 MB, free: 11.03 MB / 330.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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.688212268985808] Failed to read output from testmodel.py, exit status != 0: 0.15667192079126835 0.021190378000000003 0.017263956 Calling exit ...