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.001535/0.001535, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001745/0.001745, allocations: 189.8 kB / 22.23 MB, free: 5.16 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.597/1.597, allocations: 225.6 MB / 251 MB, free: 13.02 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.1/0.1, allocations: 22.69 MB / 329 MB, free: 2.371 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.002503/0.002503, allocations: 63.89 kB / 460.7 MB, free: 1 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1493, allocations: 58.05 MB / 0.5066 GB, free: 6.84 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.002351/0.1516, allocations: 0.5329 MB / 0.5071 GB, free: 6.309 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001978/0.1518, allocations: 23.89 kB / 0.5072 GB, free: 6.285 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.1519, allocations: 0 / 0.5072 GB, free: 6.285 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.1519, allocations: 0 / 0.5072 GB, free: 6.285 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.152, allocations: 7.938 kB / 0.5072 GB, free: 6.277 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.1521, allocations: 4 kB / 0.5072 GB, free: 6.273 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 7.087e-05/0.1522, allocations: 4 kB / 0.5072 GB, free: 6.27 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.1522, allocations: 3.984 kB / 0.5072 GB, free: 6.266 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.1523, allocations: 8 kB / 0.5072 GB, free: 6.258 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.1523, allocations: 7.922 kB / 0.5072 GB, free: 6.25 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1523, allocations: 0 / 0.5072 GB, free: 6.25 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.1523, allocations: 4 kB / 0.5072 GB, free: 6.246 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1524, allocations: 0 / 0.5072 GB, free: 6.246 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.1524, allocations: 3.938 kB / 0.5072 GB, free: 6.242 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 8.878e-05/0.1525, allocations: 15.92 kB / 0.5072 GB, free: 6.227 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1525, allocations: 4 kB / 0.5072 GB, free: 6.223 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.904e-06/0.1525, allocations: 0 / 0.5072 GB, free: 6.223 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 6.813e-06/0.1525, allocations: 0 / 0.5072 GB, free: 6.223 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.0004731/0.153, allocations: 242.5 kB / 0.5074 GB, free: 5.953 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.153, allocations: 11.97 kB / 0.5075 GB, free: 5.941 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.1531, allocations: 4.938 kB / 0.5075 GB, free: 5.938 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.1532, allocations: 110.4 kB / 0.5076 GB, free: 5.805 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.1532, allocations: 384 / 0.5076 GB, free: 5.805 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1533, allocations: 8.375 kB / 0.5076 GB, free: 5.797 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1534, allocations: 42.25 kB / 0.5076 GB, free: 5.75 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1534, allocations: 192 / 0.5076 GB, free: 5.75 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1534, allocations: 3.938 kB / 0.5076 GB, free: 5.746 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1534, allocations: 0 / 0.5076 GB, free: 5.746 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.1535, allocations: 7.984 kB / 0.5076 GB, free: 5.738 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.1537, allocations: 120.8 kB / 0.5077 GB, free: 5.578 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.1538, allocations: 34.59 kB / 0.5078 GB, free: 5.535 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.1538, allocations: 8.859 kB / 0.5078 GB, free: 5.523 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1538, allocations: 0 / 0.5078 GB, free: 5.523 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1539, allocations: 38.5 kB / 0.5078 GB, free: 5.477 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1539, allocations: 0 / 0.5078 GB, free: 5.477 MB / 382.1 MB
Notification: Performance of matching and sorting (n=2): time 0.0002131/0.1541, allocations: 49.62 kB / 0.5079 GB, free: 5.422 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.1541, allocations: 55.34 kB / 0.5079 GB, free: 5.355 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.1542, allocations: 106 kB / 0.508 GB, free: 5.242 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1542, allocations: 25.7 kB / 0.508 GB, free: 5.211 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.1543, allocations: 80.14 kB / 0.5081 GB, free: 5.129 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1543, allocations: 11.89 kB / 0.5081 GB, free: 5.117 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.1544, allocations: 13.72 kB / 0.5081 GB, free: 5.098 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001547/0.1545, allocations: 310.8 kB / 0.5084 GB, free: 4.785 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.565e-05/0.1546, allocations: 7.984 kB / 0.5085 GB, free: 4.777 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.883e-05/0.1546, allocations: 4 kB / 0.5085 GB, free: 4.773 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1548, allocations: 41.09 kB / 0.5085 GB, free: 4.73 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1548, allocations: 0 / 0.5085 GB, free: 4.73 MB / 382.1 MB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001076/0.1549, allocations: 53.61 kB / 0.5085 GB, free: 4.672 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1549, allocations: 4 kB / 0.5086 GB, free: 4.668 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.155, allocations: 3.938 kB / 0.5086 GB, free: 4.664 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.155, allocations: 0 / 0.5086 GB, free: 4.664 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.155, allocations: 8 kB / 0.5086 GB, free: 4.656 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1551, allocations: 0 / 0.5086 GB, free: 4.656 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.1551, allocations: 7.953 kB / 0.5086 GB, free: 4.648 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1551, allocations: 0 / 0.5086 GB, free: 4.648 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.0001893/0.1553, allocations: 113.8 kB / 0.5087 GB, free: 4.527 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.1553, allocations: 3.984 kB / 0.5087 GB, free: 4.523 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.1553, allocations: 7.25 kB / 0.5087 GB, free: 4.516 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1553, allocations: 0 / 0.5087 GB, free: 4.516 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1553, allocations: 0 / 0.5087 GB, free: 4.516 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1554, allocations: 0 / 0.5087 GB, free: 4.516 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.1555, allocations: 132.7 kB / 0.5088 GB, free: 4.344 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1555, allocations: 4 kB / 0.5088 GB, free: 4.34 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.1556, allocations: 4 kB / 0.5088 GB, free: 4.336 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1556, allocations: 0 / 0.5088 GB, free: 4.336 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1556, allocations: 3.938 kB / 0.5088 GB, free: 4.332 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1556, allocations: 0 / 0.5088 GB, free: 4.332 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1556, allocations: 0 / 0.5088 GB, free: 4.332 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.1558, allocations: 81.05 kB / 0.5089 GB, free: 4.234 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.1558, allocations: 12.06 kB / 0.5089 GB, free: 4.223 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1558, allocations: 7.938 kB / 0.5089 GB, free: 4.215 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.235e-05/0.1558, allocations: 0 / 0.5089 GB, free: 4.215 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1558, allocations: 0 / 0.5089 GB, free: 4.215 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1558, allocations: 4 kB / 0.5089 GB, free: 4.211 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 5.607e-05/0.1559, allocations: 79.27 kB / 0.509 GB, free: 4.133 MB / 382.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1559, allocations: 0 / 0.509 GB, free: 4.133 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0001745/0.1561, allocations: 4 kB / 0.509 GB, free: 4.129 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.0001071/0.1562, allocations: 95.25 kB / 0.5091 GB, free: 4.023 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001323/0.1563, allocations: 15.94 kB / 0.5091 GB, free: 4.008 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1563, allocations: 0 / 0.5091 GB, free: 4.008 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.451e-05/0.1564, allocations: 7.984 kB / 0.5091 GB, free: 4 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.1565, allocations: 11.94 kB / 0.5091 GB, free: 3.988 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.1568, allocations: 113.4 kB / 0.5092 GB, free: 3.852 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.1572, allocations: 0.6807 MB / 0.5099 GB, free: 3.145 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 2.67e-05/0.1572, allocations: 4 kB / 0.5099 GB, free: 3.141 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.1572, allocations: 7.438 kB / 0.5099 GB, free: 3.133 MB / 382.1 MB
Notification: Performance of SimCode: time 3e-07/0.1572, allocations: 0 / 0.5099 GB, free: 3.133 MB / 382.1 MB
Notification: Performance of Templates: time 0.002853/0.1601, allocations: 309.3 kB / 0.5102 GB, free: 2.832 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.170981318689883]
Failed to read output from testmodel.py, exit status != 0:
0.1691385442391038 0.42040366700000004 0.26491263400000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f25b3a517b0>