Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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.001519/0.001519, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001575/0.001575, allocations: 188.5 kB / 22.22 MB, free: 5.105 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.525/1.525, 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.1049/0.1049, allocations: 22.71 MB / 329 MB, free: 2.457 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.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising")
translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 67.89 kB / 463.1 MB, free: 14.61 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1488, allocations: 58.06 MB / 0.5089 GB, free: 4.449 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.00442/0.1532, allocations: 1.952 MB / 0.5108 GB, free: 2.48 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001981/0.1552, allocations: 0.6858 MB / 0.5115 GB, free: 1.789 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.1555, allocations: 7.938 kB / 0.5115 GB, free: 1.781 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.1561, allocations: 75.55 kB / 0.5116 GB, free: 1.707 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.1565, allocations: 99.45 kB / 0.5117 GB, free: 1.609 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.157, allocations: 179.7 kB / 0.5119 GB, free: 1.434 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009013/0.1579, allocations: 0.5145 MB / 0.5124 GB, free: 0.918 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1581, allocations: 45.34 kB / 0.5124 GB, free: 0.8711 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.1585, allocations: 187.5 kB / 0.5126 GB, free: 0.6875 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.159, allocations: 219.2 kB / 0.5128 GB, free: 484 kB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.711e-05/0.159, allocations: 20 kB / 0.5128 GB, free: 464 kB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.739e-05/0.1591, allocations: 24 kB / 0.5128 GB, free: 440 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000179/0.1593, allocations: 95.66 kB / 0.5129 GB, free: 344 kB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.1595, allocations: 119.2 kB / 0.513 GB, free: 224 kB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.2858/0.4453, allocations: 272.2 kB / 0.5133 GB, free: 12.56 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4453, allocations: 0 / 0.5133 GB, free: 12.56 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.984e-06/0.4453, allocations: 0 / 0.5133 GB, free: 12.56 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 1.945e-05/0.4453, allocations: 1.719 kB / 0.5133 GB, free: 12.56 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: 32
 * Number of variables: 32
Notification: Performance of Generate backend data structure: time 0.002064/0.4473, allocations: 0.6696 MB / 0.514 GB, free: 12.21 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4474, allocations: 10.16 kB / 0.514 GB, free: 12.21 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.4475, allocations: 35.2 kB / 0.514 GB, free: 12.19 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009669/0.4484, allocations: 362.8 kB / 0.5143 GB, free: 12.02 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4484, allocations: 10.19 kB / 0.5144 GB, free: 12.02 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.4485, allocations: 19.7 kB / 0.5144 GB, free: 12.02 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.4488, allocations: 175.2 kB / 0.5145 GB, free: 11.98 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.4488, allocations: 4.438 kB / 0.5145 GB, free: 11.98 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.4489, allocations: 4.844 kB / 0.5146 GB, free: 11.98 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.4489, allocations: 6.594 kB / 0.5146 GB, free: 11.98 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.4492, allocations: 175.9 kB / 0.5147 GB, free: 11.98 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.4503, allocations: 0.618 MB / 0.5153 GB, free: 11.73 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.4508, allocations: 241 kB / 0.5156 GB, free: 11.71 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.451, allocations: 103 kB / 0.5157 GB, free: 11.7 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.451, allocations: 2.891 kB / 0.5157 GB, free: 11.7 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.451, allocations: 45.17 kB / 0.5157 GB, free: 11.66 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.451, allocations: 1.125 kB / 0.5157 GB, free: 11.66 MB / 382.1 MB
Notification: Performance of matching and sorting (n=21): time 0.0006572/0.4517, allocations: 339.5 kB / 0.516 GB, free: 11.61 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.4517, allocations: 53.53 kB / 0.5161 GB, free: 11.55 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000836/0.4526, allocations: 420.3 kB / 0.5165 GB, free: 11.45 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.4526, allocations: 31.88 kB / 0.5165 GB, free: 11.41 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.4526, allocations: 158.6 kB / 0.5167 GB, free: 11.32 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.4527, allocations: 80.33 kB / 0.5167 GB, free: 11.27 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-05/0.4528, allocations: 46.64 kB / 0.5168 GB, free: 11.25 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 6.447e-05/0.4528, allocations: 339.7 kB / 0.5171 GB, free: 10.94 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.453, allocations: 87.16 kB / 0.5172 GB, free: 10.93 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.4532, allocations: 87.73 kB / 0.5173 GB, free: 10.93 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.4556, allocations: 0.6305 MB / 0.5179 GB, free: 10.91 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4556, allocations: 2.828 kB / 0.5179 GB, free: 10.91 MB / 382.1 MB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004692/0.456, allocations: 310.3 kB / 0.5182 GB, free: 10.86 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.456, allocations: 8.656 kB / 0.5182 GB, free: 10.86 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.456, allocations: 4 kB / 0.5182 GB, free: 10.85 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.4561, allocations: 2.484 kB / 0.5182 GB, free: 10.85 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.4563, allocations: 52.2 kB / 0.5183 GB, free: 10.85 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4563, allocations: 1.281 kB / 0.5183 GB, free: 10.85 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.4567, allocations: 64.33 kB / 0.5183 GB, free: 10.84 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.4567, allocations: 9.375 kB / 0.5183 GB, free: 10.84 MB / 382.1 MB
Warning: Assuming fixed start value for the following 7 variables:
         Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true )  \"Connector of Real output signal\" type: Real
         Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true )  \"Connector of Real output signal\" type: Real
         FA1.x_scaled[1]:VARIABLE(fixed = true protected = true )  \"Scaled vector x\" type: Real [1]
         FA2.x_scaled[1]:VARIABLE(fixed = true protected = true )  \"Scaled vector x\" type: Real [1]
         Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true )  \"Scaled vector x\" type: Real [1]
         Process.x_scaled[2]:VARIABLE(fixed = true protected = true )  \"Scaled vector x\" type: Real [2]
         Process.x_scaled[1]:VARIABLE(fixed = true protected = true )  \"Scaled vector x\" type: Real [2]
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 (28):
 * Single equations (assignments): 28
 * 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.0001864/0.4569, allocations: 173.5 kB / 0.5185 GB, free: 10.71 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.457, allocations: 29.28 kB / 0.5185 GB, free: 10.7 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.4575, allocations: 309.4 kB / 0.5188 GB, free: 10.65 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4575, allocations: 6.953 kB / 0.5188 GB, free: 10.64 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4575, allocations: 0 / 0.5188 GB, free: 10.64 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4575, allocations: 3.234 kB / 0.5188 GB, free: 10.64 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.4579, allocations: 325 kB / 0.5191 GB, free: 10.48 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4579, allocations: 0 / 0.5191 GB, free: 10.48 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.4582, allocations: 46.44 kB / 0.5192 GB, free: 10.48 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4582, allocations: 2.25 kB / 0.5192 GB, free: 10.48 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.4582, allocations: 12.22 kB / 0.5192 GB, free: 10.48 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4582, allocations: 6.375 kB / 0.5192 GB, free: 10.48 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4582, allocations: 0 / 0.5192 GB, free: 10.48 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.4589, allocations: 496 kB / 0.5197 GB, free: 10.32 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.459, allocations: 41.44 kB / 0.5197 GB, free: 10.3 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.459, allocations: 7.438 kB / 0.5197 GB, free: 10.3 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.4594, allocations: 62.8 kB / 0.5198 GB, free: 10.29 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.4595, allocations: 16.58 kB / 0.5198 GB, free: 10.29 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.4595, allocations: 14.12 kB / 0.5198 GB, free: 10.29 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0008068/0.4603, allocations: 328 kB / 0.5201 GB, free: 10.21 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4603, allocations: 0 / 0.5201 GB, free: 10.21 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0003046/0.4606, allocations: 48.47 kB / 0.5202 GB, free: 10.21 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,FA2.x_scaled[1],FA1.x_scaled[1])
 * 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 (23):
 * Single equations (assignments): 23
 * 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.774e-05/0.4607, allocations: 102.1 kB / 0.5203 GB, free: 10.12 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005053/0.4612, allocations: 222.9 kB / 0.5205 GB, free: 10.12 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.563e-05/0.4612, allocations: 7.281 kB / 0.5205 GB, free: 10.12 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.4615, allocations: 120.2 kB / 0.5206 GB, free: 10.12 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.462, allocations: 53.59 kB / 0.5206 GB, free: 10.12 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.4636, allocations: 0.6633 MB / 0.5213 GB, free: 9.805 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.4639, allocations: 0.7927 MB / 0.5221 GB, free: 9.102 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.000215/0.4641, allocations: 61.7 kB / 0.5221 GB, free: 9.098 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.4643, allocations: 24.16 kB / 0.5221 GB, free: 9.09 MB / 382.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.4643, allocations: 0 / 0.5221 GB, free: 9.09 MB / 382.1 MB
Notification: Performance of Templates: time 0.009337/0.4736, allocations: 3.083 MB / 0.5252 GB, free: 8.918 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile [Timeout 660]
(rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising  -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.3104175655171275]
Failed to read output from testmodel.py, exit status != 0:
0.4826691038906574 0.499273717 0.048634882000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ffb6a6bd7b0>