Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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.001419/0.001419, allocations: 110.2 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.001466/0.001466, allocations: 192 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.561/1.561, 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.1031/0.1031, allocations: 22.71 MB / 329 MB, free: 2.414 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_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops")
translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003442/0.003442, allocations: 63.89 kB / 463.1 MB, free: 14.58 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1722, allocations: 58.07 MB / 0.5089 GB, free: 4.406 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.005469/0.1776, allocations: 2.019 MB / 0.5109 GB, free: 2.367 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002244/0.1799, allocations: 0.7052 MB / 0.5116 GB, free: 1.656 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.1801, allocations: 7.938 kB / 0.5116 GB, free: 1.648 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.1806, allocations: 75.48 kB / 0.5117 GB, free: 1.574 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.181, allocations: 107.4 kB / 0.5118 GB, free: 1.469 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006408/0.1817, allocations: 183.7 kB / 0.512 GB, free: 1.289 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001138/0.1828, allocations: 0.5345 MB / 0.5125 GB, free: 0.7539 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.183, allocations: 58.31 kB / 0.5125 GB, free: 0.6953 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.1834, allocations: 203.4 kB / 0.5127 GB, free: 0.4961 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.1839, allocations: 223.2 kB / 0.513 GB, free: 284 kB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.35e-05/0.184, allocations: 24 kB / 0.513 GB, free: 260 kB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.296e-05/0.1841, allocations: 24 kB / 0.513 GB, free: 236 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.1843, allocations: 103.7 kB / 0.5131 GB, free: 132 kB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.2592/0.4435, allocations: 134.6 kB / 0.5132 GB, free: 12.43 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007557/0.4442, allocations: 289.5 kB / 0.5135 GB, free: 12.43 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.4443, allocations: 0.6875 kB / 0.5135 GB, free: 12.43 MB / 382.1 MB
Notification: Performance of FrontEnd: time 2.565e-06/0.4443, allocations: 0 / 0.5135 GB, free: 12.43 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 1.026e-05/0.4443, allocations: 0 / 0.5135 GB, free: 12.43 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: 40
 * Number of variables: 40
Notification: Performance of Generate backend data structure: time 0.002169/0.4464, allocations: 0.6969 MB / 0.5142 GB, free: 12.05 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4465, allocations: 9.562 kB / 0.5142 GB, free: 12.05 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4466, allocations: 36.2 kB / 0.5142 GB, free: 12.03 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.4476, allocations: 368.3 kB / 0.5146 GB, free: 11.86 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.4476, allocations: 14.2 kB / 0.5146 GB, free: 11.86 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.4477, allocations: 23.73 kB / 0.5146 GB, free: 11.86 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.4481, allocations: 199 kB / 0.5148 GB, free: 11.82 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.4481, allocations: 3.938 kB / 0.5148 GB, free: 11.82 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.4482, allocations: 6.938 kB / 0.5148 GB, free: 11.82 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.4482, allocations: 4.188 kB / 0.5148 GB, free: 11.82 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.4486, allocations: 201.2 kB / 0.515 GB, free: 11.82 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.45, allocations: 0.6602 MB / 0.5157 GB, free: 11.57 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008132/0.4508, allocations: 310.9 kB / 0.5159 GB, free: 11.55 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.451, allocations: 120.7 kB / 0.5161 GB, free: 11.54 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.4511, allocations: 2.891 kB / 0.5161 GB, free: 11.54 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4511, allocations: 35.88 kB / 0.5161 GB, free: 11.5 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=24): time 1.864e-06/0.4511, allocations: 3.312 kB / 0.5161 GB, free: 11.5 MB / 382.1 MB
Notification: Performance of matching and sorting (n=24): time 0.0007704/0.4519, allocations: 372.9 kB / 0.5165 GB, free: 11.45 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4519, allocations: 56.03 kB / 0.5165 GB, free: 11.38 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008995/0.4528, allocations: 419.4 kB / 0.5169 GB, free: 11.28 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.4528, allocations: 26.89 kB / 0.5169 GB, free: 11.25 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.4529, allocations: 172.4 kB / 0.5171 GB, free: 11.15 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.453, allocations: 92.16 kB / 0.5172 GB, free: 11.09 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.4531, allocations: 50.69 kB / 0.5172 GB, free: 11.07 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 7.545e-05/0.4531, allocations: 341.5 kB / 0.5176 GB, free: 10.76 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.4533, allocations: 91.41 kB / 0.5177 GB, free: 10.76 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.4535, allocations: 90.75 kB / 0.5177 GB, free: 10.76 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.4558, allocations: 0.6635 MB / 0.5184 GB, free: 10.74 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4558, allocations: 1.656 kB / 0.5184 GB, free: 10.74 MB / 382.1 MB
Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005674/0.4564, allocations: 336.3 kB / 0.5187 GB, free: 10.68 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4564, allocations: 12.56 kB / 0.5187 GB, free: 10.68 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4564, allocations: 0 / 0.5187 GB, free: 10.68 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4565, allocations: 1.188 kB / 0.5187 GB, free: 10.68 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.4567, allocations: 52.25 kB / 0.5188 GB, free: 10.68 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4568, allocations: 1.25 kB / 0.5188 GB, free: 10.68 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.4572, allocations: 71.81 kB / 0.5188 GB, free: 10.66 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.4572, allocations: 5.672 kB / 0.5188 GB, free: 10.66 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
         CA1.x_scaled[1]:VARIABLE(fixed = true protected = true )  \"Scaled vector x\" type: Real [1]
         CA2.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 (31):
 * Single equations (assignments): 31
 * 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.0002449/0.4574, allocations: 169.7 kB / 0.519 GB, free: 10.54 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.4575, allocations: 35.62 kB / 0.519 GB, free: 10.52 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006268/0.4581, allocations: 330.3 kB / 0.5194 GB, free: 10.47 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4581, allocations: 3.625 kB / 0.5194 GB, free: 10.47 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4581, allocations: 0.7031 kB / 0.5194 GB, free: 10.47 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4582, allocations: 5.219 kB / 0.5194 GB, free: 10.46 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.4586, allocations: 341.3 kB / 0.5197 GB, free: 10.3 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4586, allocations: 3.375 kB / 0.5197 GB, free: 10.3 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.4589, allocations: 49 kB / 0.5197 GB, free: 10.3 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.4589, allocations: 5.531 kB / 0.5197 GB, free: 10.3 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.459, allocations: 10.19 kB / 0.5198 GB, free: 10.3 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.459, allocations: 1 kB / 0.5198 GB, free: 10.3 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.459, allocations: 0.6094 kB / 0.5198 GB, free: 10.3 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.4597, allocations: 0.5205 MB / 0.5203 GB, free: 10.14 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.4598, allocations: 47.77 kB / 0.5203 GB, free: 10.11 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.4599, allocations: 7.656 kB / 0.5203 GB, free: 10.11 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.4603, allocations: 50.75 kB / 0.5204 GB, free: 10.11 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.4604, allocations: 15.41 kB / 0.5204 GB, free: 10.11 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.4604, allocations: 4.828 kB / 0.5204 GB, free: 10.11 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0008022/0.4612, allocations: 332.7 kB / 0.5207 GB, free: 10.03 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.4612, allocations: 1.156 kB / 0.5207 GB, free: 10.03 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0003174/0.4615, allocations: 55.11 kB / 0.5208 GB, free: 10.03 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,CA2.x_scaled[1],CA1.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 (26):
 * Single equations (assignments): 26
 * 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.000105/0.4616, allocations: 110.5 kB / 0.5209 GB, free: 9.938 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004821/0.4621, allocations: 247.9 kB / 0.5211 GB, free: 9.93 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4621, allocations: 0 / 0.5211 GB, free: 9.93 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.4623, allocations: 124.8 kB / 0.5212 GB, free: 9.93 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.4628, allocations: 65.47 kB / 0.5213 GB, free: 9.926 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.4641, allocations: 0.6918 MB / 0.522 GB, free: 9.602 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.4644, allocations: 0.7995 MB / 0.5227 GB, free: 8.902 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001937/0.4646, allocations: 67.12 kB / 0.5228 GB, free: 8.898 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4647, allocations: 24.75 kB / 0.5228 GB, free: 8.891 MB / 382.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4647, allocations: 1.125 kB / 0.5228 GB, free: 8.891 MB / 382.1 MB
Notification: Performance of Templates: time 0.007966/0.4726, allocations: 3.17 MB / 0.5259 GB, free: 8.723 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile [Timeout 660]
(rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops  -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.263950310647488]
Failed to read output from testmodel.py, exit status != 0:
0.4845681330189109 0.49340601399999995 0.046235493
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f45e1fbd7b0>