Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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.001446/0.001446, allocations: 110 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.001765/0.001765, allocations: 191.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.56/1.56, allocations: 225.6 MB / 251 MB, free: 13.01 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.1007/0.1007, allocations: 22.71 MB / 329 MB, free: 2.363 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_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse")
translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 67.89 kB / 463.1 MB, free: 14.63 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1634, allocations: 58.06 MB / 0.5089 GB, free: 4.465 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001923/0.1653, allocations: 0.518 MB / 0.5094 GB, free: 3.949 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001875/0.1655, allocations: 39.86 kB / 0.5095 GB, free: 3.91 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.1656, allocations: 0 / 0.5095 GB, free: 3.91 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.1656, allocations: 0 / 0.5095 GB, free: 3.91 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.1656, allocations: 0 / 0.5095 GB, free: 3.91 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1658, allocations: 11.94 kB / 0.5095 GB, free: 3.898 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.1659, allocations: 7.984 kB / 0.5095 GB, free: 3.891 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.1659, allocations: 0 / 0.5095 GB, free: 3.891 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.1659, allocations: 4 kB / 0.5095 GB, free: 3.887 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.546e-05/0.166, allocations: 11.92 kB / 0.5095 GB, free: 3.875 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.166, allocations: 0 / 0.5095 GB, free: 3.875 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.153e-06/0.166, allocations: 8 kB / 0.5095 GB, free: 3.867 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.1661, allocations: 0 / 0.5095 GB, free: 3.867 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.1661, allocations: 3.984 kB / 0.5095 GB, free: 3.863 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 7.634e-05/0.1662, allocations: 7.938 kB / 0.5095 GB, free: 3.855 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1662, allocations: 3.984 kB / 0.5095 GB, free: 3.852 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.593e-06/0.1662, allocations: 0 / 0.5095 GB, free: 3.852 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 6.261e-06/0.1662, allocations: 0 / 0.5095 GB, free: 3.852 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.0004797/0.1667, allocations: 246.4 kB / 0.5098 GB, free: 3.578 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1667, allocations: 8.031 kB / 0.5098 GB, free: 3.57 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.1668, allocations: 12.94 kB / 0.5098 GB, free: 3.559 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.1669, allocations: 106.5 kB / 0.5099 GB, free: 3.43 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1669, allocations: 384 / 0.5099 GB, free: 3.43 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1669, allocations: 384 / 0.5099 GB, free: 3.43 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.167, allocations: 38.25 kB / 0.5099 GB, free: 3.387 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.167, allocations: 192 / 0.5099 GB, free: 3.387 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1671, allocations: 3.938 kB / 0.5099 GB, free: 3.383 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1671, allocations: 4 kB / 0.5099 GB, free: 3.379 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/0.1671, allocations: 0 / 0.5099 GB, free: 3.379 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.1673, allocations: 128.7 kB / 0.5101 GB, free: 3.211 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.1674, allocations: 26.53 kB / 0.5101 GB, free: 3.176 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.1674, allocations: 12.92 kB / 0.5101 GB, free: 3.16 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.1674, allocations: 3.984 kB / 0.5101 GB, free: 3.156 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1674, allocations: 30.56 kB / 0.5101 GB, free: 3.117 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1674, allocations: 0 / 0.5101 GB, free: 3.117 MB / 382.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0003856/0.1678, allocations: 77.55 kB / 0.5102 GB, free: 3.035 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.1679, allocations: 55.34 kB / 0.5103 GB, free: 2.969 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.774e-05/0.168, allocations: 93.86 kB / 0.5103 GB, free: 2.867 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.168, allocations: 25.7 kB / 0.5104 GB, free: 2.836 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.168, allocations: 80.14 kB / 0.5104 GB, free: 2.754 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.1681, allocations: 15.84 kB / 0.5105 GB, free: 2.738 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.1681, allocations: 17.7 kB / 0.5105 GB, free: 2.715 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001844/0.1683, allocations: 315.2 kB / 0.5108 GB, free: 2.398 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.1683, allocations: 11.94 kB / 0.5108 GB, free: 2.387 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.1683, allocations: 4 kB / 0.5108 GB, free: 2.383 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 4.3e-05/0.1684, allocations: 16.84 kB / 0.5108 GB, free: 2.363 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1684, allocations: 4 kB / 0.5108 GB, free: 2.359 MB / 382.1 MB
Notification: Performance of matching and sorting (n=3) (initialization): time 8.641e-05/0.1685, allocations: 45.62 kB / 0.5109 GB, free: 2.309 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1685, allocations: 11.94 kB / 0.5109 GB, free: 2.297 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1685, allocations: 0 / 0.5109 GB, free: 2.297 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1685, allocations: 0 / 0.5109 GB, free: 2.297 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.1686, allocations: 4 kB / 0.5109 GB, free: 2.293 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1686, allocations: 8 kB / 0.5109 GB, free: 2.285 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.1686, allocations: 0 / 0.5109 GB, free: 2.285 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1686, allocations: 0 / 0.5109 GB, free: 2.285 MB / 382.1 MB
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.0001073/0.1687, allocations: 113.8 kB / 0.511 GB, free: 2.164 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.1687, allocations: 7.938 kB / 0.511 GB, free: 2.156 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1689, allocations: 53.31 kB / 0.511 GB, free: 2.094 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1689, allocations: 0 / 0.511 GB, free: 2.094 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1689, allocations: 4 kB / 0.511 GB, free: 2.09 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1689, allocations: 4 kB / 0.5111 GB, free: 2.086 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1691, allocations: 120.8 kB / 0.5112 GB, free: 1.926 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1691, allocations: 0 / 0.5112 GB, free: 1.926 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.1691, allocations: 4 kB / 0.5112 GB, free: 1.922 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1691, allocations: 7.938 kB / 0.5112 GB, free: 1.914 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1691, allocations: 4 kB / 0.5112 GB, free: 1.91 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1691, allocations: 0 / 0.5112 GB, free: 1.91 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.1692, allocations: 11.97 kB / 0.5112 GB, free: 1.898 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.1693, allocations: 61.14 kB / 0.5113 GB, free: 1.82 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.1693, allocations: 7.984 kB / 0.5113 GB, free: 1.812 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1693, allocations: 7.938 kB / 0.5113 GB, free: 1.805 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.1693, allocations: 4 kB / 0.5113 GB, free: 1.801 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.1693, allocations: 3.938 kB / 0.5113 GB, free: 1.797 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.1693, allocations: 0 / 0.5113 GB, free: 1.797 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 4.959e-05/0.1694, allocations: 79.28 kB / 0.5114 GB, free: 1.719 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.1694, allocations: 0 / 0.5114 GB, free: 1.719 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0001901/0.1696, allocations: 0 / 0.5114 GB, free: 1.719 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001042/0.1697, allocations: 99.61 kB / 0.5114 GB, free: 1.613 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001056/0.1698, allocations: 23.92 kB / 0.5115 GB, free: 1.59 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1698, allocations: 3.938 kB / 0.5115 GB, free: 1.586 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.749e-05/0.1698, allocations: 8 kB / 0.5115 GB, free: 1.578 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.1699, allocations: 11.92 kB / 0.5115 GB, free: 1.566 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.1702, allocations: 92.84 kB / 0.5116 GB, free: 1.449 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.1706, allocations: 0.6729 MB / 0.5122 GB, free: 0.75 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 2.501e-05/0.1706, allocations: 8 kB / 0.5122 GB, free: 0.7422 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.1706, allocations: 7.438 kB / 0.5123 GB, free: 0.7344 MB / 382.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.1706, allocations: 0 / 0.5123 GB, free: 0.7344 MB / 382.1 MB
Notification: Performance of Templates: time 0.002954/0.1736, allocations: 265.1 kB / 0.5125 GB, free: 488 kB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.makefile [Timeout 660]
(rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld_inverse  -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.170959251001477]
Failed to read output from testmodel.py, exit status != 0:
0.45750631764531136 0.46870334099999994 0.29982360099999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe4524e57b0>