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.001315/0.001315, allocations: 113 kB / 17.14 MB, free: 5.91 MB / 14.72 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.001536/0.001536, allocations: 207.2 kB / 20.11 MB, free: 2.953 MB / 14.72 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 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.1021/0.1021, allocations: 24.03 MB / 333.6 MB, free: 1.566 MB / 254.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 64.84 kB / 466.8 MB, free: 32.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1337, allocations: 59.54 MB / 0.514 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001979/0.1357, allocations: 0.5234 MB / 0.5145 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001652/0.1358, allocations: 15.91 kB / 0.5145 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.1359, allocations: 0 / 0.5145 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.1359, allocations: 4 kB / 0.5145 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.136, allocations: 3.938 kB / 0.5145 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.1361, allocations: 7.984 kB / 0.5145 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.393e-05/0.1361, allocations: 4 kB / 0.5145 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.943e-05/0.1362, allocations: 0 / 0.5145 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.472e-05/0.1362, allocations: 15.91 kB / 0.5145 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.1363, allocations: 4 kB / 0.5145 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1363, allocations: 8 kB / 0.5145 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.1363, allocations: 0 / 0.5145 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1363, allocations: 0 / 0.5145 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.1364, allocations: 3.938 kB / 0.5145 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.828e-05/0.1364, allocations: 11.92 kB / 0.5145 GB, free: 13.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1364, allocations: 0 / 0.5145 GB, free: 13.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1364, allocations: 0 / 0.5145 GB, free: 13.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1364, allocations: 3.938 kB / 0.5145 GB, free: 13.23 MB / 382.1 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.0005301/0.137, allocations: 323.5 kB / 0.5149 GB, free: 12.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.137, allocations: 12.56 kB / 0.5149 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.137, allocations: 8.938 kB / 0.5149 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1372, allocations: 164.3 kB / 0.515 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1373, allocations: 384 / 0.515 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1373, allocations: 384 / 0.515 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1374, allocations: 38.25 kB / 0.5151 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1374, allocations: 192 / 0.5151 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1374, allocations: 7.938 kB / 0.5151 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1374, allocations: 0 / 0.5151 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.465e-05/0.1375, allocations: 7.984 kB / 0.5151 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.1377, allocations: 153.7 kB / 0.5152 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.878e-05/0.1378, allocations: 26.5 kB / 0.5153 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.1378, allocations: 12.92 kB / 0.5153 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.1378, allocations: 0 / 0.5153 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1378, allocations: 30.56 kB / 0.5153 GB, free: 12.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.1378, allocations: 0 / 0.5153 GB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001938/0.138, allocations: 57.56 kB / 0.5154 GB, free: 12.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.1381, allocations: 55.41 kB / 0.5154 GB, free: 12.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.869e-05/0.1382, allocations: 105.8 kB / 0.5155 GB, free: 12.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1382, allocations: 25.7 kB / 0.5155 GB, free: 12.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.1382, allocations: 84.14 kB / 0.5156 GB, free: 11.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.1383, allocations: 7.906 kB / 0.5156 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1383, allocations: 13.72 kB / 0.5156 GB, free: 11.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1385, allocations: 323 kB / 0.5159 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.1385, allocations: 4 kB / 0.5159 GB, free: 11.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.1385, allocations: 4 kB / 0.5159 GB, free: 11.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.1387, allocations: 32.83 kB / 0.516 GB, free: 11.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1387, allocations: 0 / 0.516 GB, free: 11.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001046/0.1388, allocations: 49.62 kB / 0.516 GB, free: 11.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1388, allocations: 8 kB / 0.516 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1389, allocations: 11.97 kB / 0.516 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1389, allocations: 0 / 0.516 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.1389, allocations: 4 kB / 0.5161 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.139, allocations: 0 / 0.5161 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.139, allocations: 4 kB / 0.5161 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.139, allocations: 0 / 0.5161 GB, free: 11.46 MB / 382.1 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.0001805/0.1392, allocations: 114.6 kB / 0.5162 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.1392, allocations: 4 kB / 0.5162 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.1392, allocations: 15.06 kB / 0.5162 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1392, allocations: 0 / 0.5162 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1392, allocations: 0 / 0.5162 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.1392, allocations: 0 / 0.5162 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.1394, allocations: 153.7 kB / 0.5163 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1394, allocations: 0 / 0.5163 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.1394, allocations: 4 kB / 0.5163 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1394, allocations: 4 kB / 0.5163 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1394, allocations: 3.938 kB / 0.5163 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1394, allocations: 0 / 0.5163 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1394, allocations: 0 / 0.5163 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.1396, allocations: 89 kB / 0.5164 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.1397, allocations: 77.11 kB / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1397, allocations: 3.938 kB / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.588e-05/0.1397, allocations: 4.031 kB / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.1398, allocations: 0 / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1398, allocations: 0 / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.1398, allocations: 91.36 kB / 0.5166 GB, free: 10.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1398, allocations: 0 / 0.5166 GB, free: 10.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001692/0.14, allocations: 0 / 0.5166 GB, free: 10.82 MB / 382.1 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.0001358/0.1401, allocations: 95.19 kB / 0.5167 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.1403, allocations: 19.94 kB / 0.5167 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1403, allocations: 3.938 kB / 0.5167 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.416e-05/0.1403, allocations: 7.984 kB / 0.5167 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.1404, allocations: 6.031 kB / 0.5167 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.1408, allocations: 113.8 kB / 0.5168 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1411, allocations: 0.6773 MB / 0.5175 GB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.149e-05/0.1411, allocations: 0 / 0.5175 GB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.1411, allocations: 11.44 kB / 0.5175 GB, free: 9.824 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1411, allocations: 0 / 0.5175 GB, free: 9.824 MB / 382.1 MB Notification: Performance of Templates: time 0.002651/0.1438, allocations: 293.1 kB / 0.5178 GB, free: 9.539 MB / 382.1 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.939491592347622] Failed to read output from testmodel.py, exit status != 0: 0.15139393508434296 0.164822839 0.025699893 Calling exit ...