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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 108.3 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.09779/0.09779, allocations: 22.69 MB / 325.4 MB, free: 3.539 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002331/0.002331, allocations: 63.91 kB / 455.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1435, allocations: 58.04 MB / 0.5015 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001867/0.1453, allocations: 0.5046 MB / 0.502 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001697/0.1455, allocations: 27.95 kB / 0.502 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.1455, allocations: 0 / 0.502 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.1456, allocations: 3.938 kB / 0.502 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.1456, allocations: 0 / 0.502 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.1457, allocations: 0 / 0.502 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.44e-05/0.1458, allocations: 15.88 kB / 0.5021 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.1459, allocations: 12.02 kB / 0.5021 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.683e-05/0.1459, allocations: 0 / 0.5021 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.1459, allocations: 7.938 kB / 0.5021 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.146, allocations: 0 / 0.5021 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-06/0.146, allocations: 4 kB / 0.5021 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.146, allocations: 3.984 kB / 0.5021 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.146, allocations: 7.984 kB / 0.5021 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.694e-05/0.1461, allocations: 11.88 kB / 0.5021 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1461, allocations: 0 / 0.5021 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1461, allocations: 0 / 0.5021 GB, free: 8.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1461, allocations: 0 / 0.5021 GB, free: 8.66 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.0004892/0.1466, allocations: 319.6 kB / 0.5024 GB, free: 8.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1466, allocations: 12.03 kB / 0.5024 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.1467, allocations: 4.891 kB / 0.5024 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1468, allocations: 172.3 kB / 0.5026 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.1468, allocations: 384 / 0.5026 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.1469, allocations: 4.375 kB / 0.5026 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.147, allocations: 30.27 kB / 0.5026 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.147, allocations: 192 / 0.5026 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.147, allocations: 11.86 kB / 0.5026 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.147, allocations: 0 / 0.5026 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.1471, allocations: 7.984 kB / 0.5026 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.1473, allocations: 157.7 kB / 0.5028 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/0.1473, allocations: 22.61 kB / 0.5028 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.1474, allocations: 8.922 kB / 0.5028 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.1474, allocations: 0 / 0.5028 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1474, allocations: 34.56 kB / 0.5029 GB, free: 7.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1474, allocations: 0 / 0.5029 GB, free: 7.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000208/0.1476, allocations: 57.56 kB / 0.5029 GB, free: 7.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1477, allocations: 59.33 kB / 0.503 GB, free: 7.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.1477, allocations: 97.86 kB / 0.5031 GB, free: 7.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1478, allocations: 25.7 kB / 0.5031 GB, free: 7.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.1478, allocations: 80.14 kB / 0.5032 GB, free: 7.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1478, allocations: 7.953 kB / 0.5032 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1479, allocations: 17.7 kB / 0.5032 GB, free: 7.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.148, allocations: 315 kB / 0.5035 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.148, allocations: 4 kB / 0.5035 GB, free: 7.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.1481, allocations: 8 kB / 0.5035 GB, free: 7.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1483, allocations: 32.77 kB / 0.5035 GB, free: 6.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1483, allocations: 4 kB / 0.5035 GB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001111/0.1484, allocations: 49.64 kB / 0.5036 GB, free: 6.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1484, allocations: 7.938 kB / 0.5036 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1484, allocations: 3.938 kB / 0.5036 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1484, allocations: 4.031 kB / 0.5036 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.1485, allocations: 4 kB / 0.5036 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1485, allocations: 8 kB / 0.5036 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.1486, allocations: 3.984 kB / 0.5036 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1486, allocations: 0 / 0.5036 GB, free: 6.891 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.0001642/0.1487, allocations: 114.6 kB / 0.5037 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-06/0.1487, allocations: 0 / 0.5037 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.1488, allocations: 7.062 kB / 0.5037 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1488, allocations: 7.938 kB / 0.5037 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1488, allocations: 0 / 0.5037 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1488, allocations: 0 / 0.5037 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.1489, allocations: 153.7 kB / 0.5039 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1489, allocations: 0 / 0.5039 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.149, allocations: 8 kB / 0.5039 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.149, allocations: 0 / 0.5039 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.149, allocations: 7.922 kB / 0.5039 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.149, allocations: 0 / 0.5039 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.149, allocations: 0 / 0.5039 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.1492, allocations: 77.41 kB / 0.504 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.1492, allocations: 81.06 kB / 0.504 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1492, allocations: 7.969 kB / 0.5041 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.469e-05/0.1493, allocations: 3.984 kB / 0.5041 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1493, allocations: 7.922 kB / 0.5041 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1493, allocations: 0 / 0.5041 GB, free: 6.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.235e-05/0.1493, allocations: 83.31 kB / 0.5041 GB, free: 6.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1493, allocations: 4 kB / 0.5041 GB, free: 6.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001758/0.1495, allocations: 4 kB / 0.5041 GB, free: 6.238 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 9.673e-05/0.1496, allocations: 95.25 kB / 0.5042 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1497, allocations: 15.98 kB / 0.5043 GB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1497, allocations: 0 / 0.5043 GB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.1498, allocations: 8 kB / 0.5043 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.1499, allocations: 4 kB / 0.5043 GB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.1503, allocations: 109.5 kB / 0.5044 GB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1506, allocations: 0.6806 MB / 0.505 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.537e-05/0.1506, allocations: 4 kB / 0.505 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.1506, allocations: 7.438 kB / 0.505 GB, free: 5.254 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1506, allocations: 0 / 0.505 GB, free: 5.254 MB / 382.1 MB Notification: Performance of Templates: time 0.002696/0.1533, allocations: 297.1 kB / 0.5053 GB, free: 4.965 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: 5.032055856194347] Failed to read output from testmodel.py, exit status != 0: 0.1614415650255978 0.39484812500000005 0.24612519400000002 Calling exit ...