Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Decoupling.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.001903/0.001903, allocations: 112.7 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.002728/0.002728, allocations: 186.5 kB / 22.22 MB, free: 5.102 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.49/1.49, allocations: 225.6 MB / 251 MB, free: 13.03 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.1045/0.1045, allocations: 22.7 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.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling")
translateModel(AES.Coursework.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 67.89 kB / 463.1 MB, free: 14.63 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1481, allocations: 58.06 MB / 0.5089 GB, free: 4.465 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.003544/0.1516, allocations: 2.035 MB / 0.5109 GB, free: 2.418 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002827/0.1545, allocations: 1.813 MB / 0.5127 GB, free: 0.5859 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.1547, allocations: 15.88 kB / 0.5127 GB, free: 0.5703 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.1553, allocations: 174.7 kB / 0.5129 GB, free: 408 kB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.1559, allocations: 223 kB / 0.5131 GB, free: 184 kB / 382.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context.
Notification: Performance of NFTyping.typeClassSections: time 0.3164/0.4723, allocations: 441.6 kB / 0.5135 GB, free: 12.02 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002361/0.4747, allocations: 1.229 MB / 0.5147 GB, free: 12 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.475, allocations: 115.4 kB / 0.5148 GB, free: 11.98 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007007/0.4757, allocations: 439.9 kB / 0.5152 GB, free: 11.93 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005704/0.4763, allocations: 432.4 kB / 0.5156 GB, free: 11.86 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.4764, allocations: 66.16 kB / 0.5157 GB, free: 11.86 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.4767, allocations: 106.1 kB / 0.5158 GB, free: 11.86 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.477, allocations: 247 kB / 0.516 GB, free: 11.82 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.4773, allocations: 309.3 kB / 0.5163 GB, free: 11.71 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008929/0.4781, allocations: 0.7238 MB / 0.5171 GB, free: 11.6 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4781, allocations: 0.9375 kB / 0.5171 GB, free: 11.6 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.192e-06/0.4781, allocations: 0 / 0.5171 GB, free: 11.6 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 9.979e-06/0.4782, allocations: 1 kB / 0.5171 GB, free: 11.6 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: 90
 * Number of variables: 90
Notification: Performance of Generate backend data structure: time 0.003473/0.4816, allocations: 1.167 MB / 0.5182 GB, free: 11.07 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.4817, allocations: 9.719 kB / 0.5182 GB, free: 11.07 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/0.4819, allocations: 80.42 kB / 0.5183 GB, free: 11.03 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.484, allocations: 0.6667 MB / 0.5189 GB, free: 10.81 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/0.484, allocations: 33.14 kB / 0.519 GB, free: 10.8 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.4841, allocations: 43.03 kB / 0.519 GB, free: 10.8 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.485, allocations: 450 kB / 0.5194 GB, free: 10.72 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.4851, allocations: 7.938 kB / 0.5194 GB, free: 10.71 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.4851, allocations: 15.31 kB / 0.5195 GB, free: 10.71 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.4851, allocations: 8.938 kB / 0.5195 GB, free: 10.71 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.4859, allocations: 423.2 kB / 0.5199 GB, free: 10.71 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.4886, allocations: 1.598 MB / 0.5214 GB, free: 9.945 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008205/0.4894, allocations: 459.8 kB / 0.5219 GB, free: 9.762 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.4898, allocations: 195.6 kB / 0.5221 GB, free: 9.68 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/0.4898, allocations: 4.531 kB / 0.5221 GB, free: 9.68 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.4899, allocations: 37.58 kB / 0.5221 GB, free: 9.637 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=44): time 2.024e-06/0.4899, allocations: 0 / 0.5221 GB, free: 9.637 MB / 382.1 MB
Notification: Performance of matching and sorting (n=44): time 0.001324/0.4912, allocations: 0.6253 MB / 0.5227 GB, free: 9.379 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.4912, allocations: 57.19 kB / 0.5228 GB, free: 9.316 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.4931, allocations: 0.8828 MB / 0.5236 GB, free: 8.996 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.4931, allocations: 36.3 kB / 0.5237 GB, free: 8.957 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4933, allocations: 297.2 kB / 0.5239 GB, free: 8.719 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.4934, allocations: 168.5 kB / 0.5241 GB, free: 8.59 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.4937, allocations: 138.9 kB / 0.5242 GB, free: 8.52 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.000137/0.4938, allocations: 384.2 kB / 0.5246 GB, free: 8.176 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/0.4945, allocations: 296.9 kB / 0.5249 GB, free: 8.086 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/0.4953, allocations: 415.7 kB / 0.5253 GB, free: 7.867 MB / 382.1 MB
Error: Initialization problem is structural singular. Please, check the initial conditions.
Notification: Performance of analyzeInitialSystem (initialization): time 0.004814/0.5001, allocations: 1.526 MB / 0.5268 GB, free: 7.355 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5001, allocations: 1.094 kB / 0.5268 GB, free: 7.355 MB / 382.1 MB
Notification: Performance of matching and sorting (n=86) (initialization): time 0.001898/0.502, allocations: 0.8302 MB / 0.5276 GB, free: 7.051 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.502, allocations: 10.53 kB / 0.5276 GB, free: 7.047 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.502, allocations: 2.844 kB / 0.5276 GB, free: 7.047 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.5021, allocations: 7.234 kB / 0.5276 GB, free: 7.047 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00096/0.503, allocations: 203.1 kB / 0.5278 GB, free: 7.039 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.503, allocations: 7.109 kB / 0.5278 GB, free: 7.039 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.5041, allocations: 174.1 kB / 0.528 GB, free: 6.996 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.5041, allocations: 23.36 kB / 0.528 GB, free: 6.992 MB / 382.1 MB
Warning: Assuming fixed start value for the following 2 variables:
         C2.xfb:VARIABLE(fixed = true )  type: Real
         C1.xfb:VARIABLE(fixed = true )  type: Real
Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system:
         D.Fcs2.y = D.Fcs2.y_start
         D.Fcs1.y = D.Fcs1.y_start.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 10 (C2.LOsat,C2.HIsat,C1.LOsat,C1.HIsat,C2.iNoDec,C2.iNoInc,C2.iTS,C1.iNoDec,C1.iNoInc,C1.iTS)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (86):
 * Single equations (assignments): 86
 * 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.0003835/0.5045, allocations: 242.9 kB / 0.5282 GB, free: 6.82 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.5046, allocations: 68.92 kB / 0.5283 GB, free: 6.781 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009201/0.5055, allocations: 0.5304 MB / 0.5288 GB, free: 6.547 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.5055, allocations: 4.938 kB / 0.5288 GB, free: 6.547 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5055, allocations: 0 / 0.5288 GB, free: 6.547 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5055, allocations: 6.953 kB / 0.5288 GB, free: 6.543 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/0.5063, allocations: 0.5638 MB / 0.5294 GB, free: 6.238 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5063, allocations: 0 / 0.5294 GB, free: 6.238 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005662/0.5068, allocations: 93.17 kB / 0.5295 GB, free: 6.234 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.5068, allocations: 7.312 kB / 0.5295 GB, free: 6.23 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.5069, allocations: 15.34 kB / 0.5295 GB, free: 6.223 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.5069, allocations: 2.094 kB / 0.5295 GB, free: 6.223 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5069, allocations: 0 / 0.5295 GB, free: 6.223 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.5081, allocations: 0.8311 MB / 0.5303 GB, free: 5.809 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.5083, allocations: 93.88 kB / 0.5304 GB, free: 5.75 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/0.5084, allocations: 13.33 kB / 0.5304 GB, free: 5.742 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/0.5091, allocations: 86.62 kB / 0.5305 GB, free: 5.734 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.5092, allocations: 41.53 kB / 0.5305 GB, free: 5.719 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.5092, allocations: 9.297 kB / 0.5305 GB, free: 5.719 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.00158/0.5108, allocations: 0.6588 MB / 0.5312 GB, free: 5.492 MB / 382.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.5108, allocations: 0 / 0.5312 GB, free: 5.492 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0005609/0.5113, allocations: 120.6 kB / 0.5313 GB, free: 5.469 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 14 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],C1.xfb,C1.xBias,C1.u,C1.csfil,C2.xfb,C2.xBias,C2.u,C2.csfil)
 * Number of discrete variables: 4 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (46):
 * Single equations (assignments): 46
 * 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.0001897/0.5115, allocations: 118.4 kB / 0.5314 GB, free: 5.371 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001285/0.5128, allocations: 0.5542 MB / 0.5319 GB, free: 5.219 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5128, allocations: 1.375 kB / 0.5319 GB, free: 5.219 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000379/0.5132, allocations: 226.6 kB / 0.5322 GB, free: 5.152 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.5138, allocations: 95.88 kB / 0.5322 GB, free: 5.109 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.5158, allocations: 1.338 MB / 0.5335 GB, free: 4.391 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.5162, allocations: 0.9528 MB / 0.5345 GB, free: 3.668 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.000322/0.5165, allocations: 114.5 kB / 0.5346 GB, free: 3.652 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.5167, allocations: 55.66 kB / 0.5346 GB, free: 3.641 MB / 382.1 MB
Notification: Performance of SimCode: time 7.82e-07/0.5167, allocations: 0 / 0.5346 GB, free: 3.641 MB / 382.1 MB
Notification: Performance of Templates: time 0.01403/0.5308, allocations: 6.898 MB / 0.5414 GB, free: 0.8516 MB / 382.1 MB
"
[Timeout remaining time 659]
make -j1 -f AES_AES.Coursework.Typical_control_structures.Decoupling.makefile [Timeout 660]
(rm -f AES_AES.Coursework.Typical_control_structures.Decoupling.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Decoupling.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Decoupling.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Decoupling.sim & ./AES_AES.Coursework.Typical_control_structures.Decoupling  -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Decoupling.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.493446652777493]
Failed to read output from testmodel.py, exit status != 0:
0.5407725721597672 0.5546324180000001 0.073322317
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fca9114d7b0>