Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.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.001736/0.001736, 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.002013/0.002013, allocations: 188.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.529/1.529, allocations: 225.6 MB / 251 MB, free: 13 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.1026/0.1026, allocations: 22.7 MB / 329 MB, free: 2.355 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.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation")
translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.89 kB / 463.1 MB, free: 14.62 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1362, allocations: 58.06 MB / 0.5089 GB, free: 4.457 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.00384/0.1401, allocations: 1.937 MB / 0.5108 GB, free: 2.496 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001208/0.1413, allocations: 0.5962 MB / 0.5114 GB, free: 1.895 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1414, allocations: 0 / 0.5114 GB, free: 1.895 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.1418, allocations: 63.5 kB / 0.5115 GB, free: 1.832 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.142, allocations: 51.7 kB / 0.5115 GB, free: 1.781 MB / 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.
Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1424, allocations: 127.8 kB / 0.5116 GB, free: 1.656 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000498/0.1429, allocations: 356 kB / 0.512 GB, free: 1.305 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.143, allocations: 48.5 kB / 0.512 GB, free: 1.262 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.1432, allocations: 131.5 kB / 0.5122 GB, free: 1.133 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.1434, allocations: 131.5 kB / 0.5123 GB, free: 1.004 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.924e-05/0.1435, allocations: 16 kB / 0.5123 GB, free: 0.9883 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.105e-05/0.1435, allocations: 20 kB / 0.5123 GB, free: 0.9688 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1436, allocations: 63.69 kB / 0.5124 GB, free: 0.9062 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1438, allocations: 91.47 kB / 0.5125 GB, free: 0.8164 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.1441, allocations: 203 kB / 0.5127 GB, free: 0.6172 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.1441, allocations: 4 kB / 0.5127 GB, free: 0.6133 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.593e-06/0.1441, allocations: 7.938 kB / 0.5127 GB, free: 0.6055 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 9.248e-06/0.1441, allocations: 0 / 0.5127 GB, free: 0.6055 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: 37
 * Number of variables: 37
Notification: Performance of Generate backend data structure: time 0.001482/0.1456, allocations: 0.5166 MB / 0.5132 GB, free: 60 kB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1456, allocations: 8.031 kB / 0.5132 GB, free: 52 kB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.1457, allocations: 32.73 kB / 0.5132 GB, free: 20 kB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.2867/0.4324, allocations: 245.7 kB / 0.5134 GB, free: 15.29 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.4324, allocations: 16.56 kB / 0.5135 GB, free: 15.29 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.4325, allocations: 20.22 kB / 0.5135 GB, free: 15.29 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.433, allocations: 197.2 kB / 0.5137 GB, free: 15.23 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.433, allocations: 0.75 kB / 0.5137 GB, free: 15.23 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.433, allocations: 7.594 kB / 0.5137 GB, free: 15.23 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.433, allocations: 4.781 kB / 0.5137 GB, free: 15.23 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.4334, allocations: 163.1 kB / 0.5138 GB, free: 15.22 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.4345, allocations: 0.695 MB / 0.5145 GB, free: 14.82 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.4351, allocations: 217.2 kB / 0.5147 GB, free: 14.79 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.4353, allocations: 79.02 kB / 0.5148 GB, free: 14.79 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.4353, allocations: 1.906 kB / 0.5148 GB, free: 14.79 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.4353, allocations: 38.48 kB / 0.5148 GB, free: 14.75 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.4353, allocations: 0 / 0.5148 GB, free: 14.75 MB / 382.1 MB
Notification: Performance of matching and sorting (n=20): time 0.0006698/0.436, allocations: 265.5 kB / 0.5151 GB, free: 14.7 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.436, allocations: 61.59 kB / 0.5152 GB, free: 14.63 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.4366, allocations: 286.7 kB / 0.5154 GB, free: 14.52 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.4366, allocations: 30.17 kB / 0.5155 GB, free: 14.49 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4367, allocations: 147.4 kB / 0.5156 GB, free: 14.39 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.4368, allocations: 81.34 kB / 0.5157 GB, free: 14.34 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.4369, allocations: 54 kB / 0.5157 GB, free: 14.32 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 9.117e-05/0.437, allocations: 337.7 kB / 0.516 GB, free: 14.01 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.4371, allocations: 70.19 kB / 0.5161 GB, free: 14.01 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.4373, allocations: 136 kB / 0.5162 GB, free: 13.95 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.4389, allocations: 453.8 kB / 0.5167 GB, free: 13.89 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4389, allocations: 0 / 0.5167 GB, free: 13.89 MB / 382.1 MB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.000435/0.4393, allocations: 286.4 kB / 0.5169 GB, free: 13.84 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4393, allocations: 3.75 kB / 0.517 GB, free: 13.84 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4394, allocations: 1.688 kB / 0.517 GB, free: 13.84 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.4394, allocations: 2.844 kB / 0.517 GB, free: 13.84 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.4397, allocations: 64.86 kB / 0.517 GB, free: 13.84 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4397, allocations: 4.094 kB / 0.517 GB, free: 13.84 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.44, allocations: 51.58 kB / 0.5171 GB, free: 13.82 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.44, allocations: 11.53 kB / 0.5171 GB, free: 13.82 MB / 382.1 MB
Warning: Assuming fixed start value for the following 3 variables:
         M.y:VARIABLE(flow=false start = M.y_start fixed = true )  \"Connector of Real output signal\" type: Real
         PI.xfb:VARIABLE(fixed = true )  type: Real
         P.x_scaled[1]:VARIABLE(fixed = true protected = true )  \"Scaled vector x\" type: Real [1]
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 5 (PI.LOsat,PI.HIsat,PI.iNoDec,PI.iNoInc,PI.iTS)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (33):
 * Single equations (assignments): 33
 * 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.0002267/0.4402, allocations: 146.5 kB / 0.5172 GB, free: 13.71 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.4403, allocations: 21.89 kB / 0.5172 GB, free: 13.7 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.4408, allocations: 235.5 kB / 0.5175 GB, free: 13.66 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4408, allocations: 3.625 kB / 0.5175 GB, free: 13.66 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4408, allocations: 5.906 kB / 0.5175 GB, free: 13.65 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4408, allocations: 2.719 kB / 0.5175 GB, free: 13.65 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.4411, allocations: 261.6 kB / 0.5177 GB, free: 13.5 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4411, allocations: 0.8438 kB / 0.5177 GB, free: 13.5 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.4414, allocations: 45.06 kB / 0.5178 GB, free: 13.5 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.4414, allocations: 1.312 kB / 0.5178 GB, free: 13.5 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.4415, allocations: 7.953 kB / 0.5178 GB, free: 13.5 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.4415, allocations: 6.031 kB / 0.5178 GB, free: 13.5 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4415, allocations: 3.938 kB / 0.5178 GB, free: 13.49 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.4421, allocations: 405.5 kB / 0.5182 GB, free: 13.34 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.4422, allocations: 28.52 kB / 0.5182 GB, free: 13.33 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.4422, allocations: 4.594 kB / 0.5182 GB, free: 13.33 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.4425, allocations: 34.92 kB / 0.5182 GB, free: 13.32 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.4426, allocations: 16.81 kB / 0.5183 GB, free: 13.32 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.4426, allocations: 7.328 kB / 0.5183 GB, free: 13.32 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.000441/0.443, allocations: 222.2 kB / 0.5185 GB, free: 13.25 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.443, allocations: 0 / 0.5185 GB, free: 13.25 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0003225/0.4434, allocations: 39.06 kB / 0.5185 GB, free: 13.25 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 7 (M.y,C.x_scaled[1],P.x_scaled[1],PI.xfb,PI.xBias,PI.u,PI.csfil)
 * Number of discrete variables: 2 (PI.HIsat,PI.LOsat)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (21):
 * Single equations (assignments): 21
 * 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.0001572/0.4435, allocations: 109.5 kB / 0.5186 GB, free: 13.15 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004718/0.444, allocations: 188.5 kB / 0.5188 GB, free: 13.14 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.444, allocations: 0 / 0.5188 GB, free: 13.14 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.4442, allocations: 95.95 kB / 0.5189 GB, free: 13.14 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.4446, allocations: 30.8 kB / 0.5189 GB, free: 13.14 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.4457, allocations: 0.537 MB / 0.5194 GB, free: 12.85 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.446, allocations: 0.7517 MB / 0.5202 GB, free: 12.15 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0001374/0.4461, allocations: 40.11 kB / 0.5202 GB, free: 12.14 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.4462, allocations: 24.75 kB / 0.5202 GB, free: 12.14 MB / 382.1 MB
Notification: Performance of SimCode: time 4.21e-07/0.4462, allocations: 0 / 0.5202 GB, free: 12.14 MB / 382.1 MB
Notification: Performance of Templates: time 0.00754/0.4537, allocations: 2.321 MB / 0.5225 GB, free: 12 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile [Timeout 660]
(rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation  -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.230297723785043]
Failed to read output from testmodel.py, exit status != 0:
0.4636775739490986 0.47684242299999996 0.329715866
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fbc932e17b0>