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.001647/0.001647, allocations: 106.1 kB / 16.45 MB, free: 6.512 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.002115/0.002115, allocations: 198.8 kB / 19.41 MB, free: 3.668 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.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.09977/0.09977, allocations: 22.69 MB / 325.4 MB, free: 3.617 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.002164/0.002164, allocations: 71.88 kB / 457.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1479, allocations: 58.02 MB / 0.5036 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.004017/0.152, allocations: 2.017 MB / 0.5056 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.1553, allocations: 1.806 MB / 0.5073 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.1556, allocations: 15.88 kB / 0.5073 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.1562, allocations: 174.7 kB / 0.5075 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006239/0.1568, allocations: 223 kB / 0.5077 GB, free: 2.887 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. [/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.0007092/0.1575, allocations: 375.5 kB / 0.5081 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.1587, allocations: 1.074 MB / 0.5091 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.1589, allocations: 109.6 kB / 0.5092 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.1595, allocations: 418.6 kB / 0.5096 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.16, allocations: 438.2 kB / 0.51 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.1601, allocations: 64 kB / 0.5101 GB, free: 440 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.1603, allocations: 99.95 kB / 0.5102 GB, free: 340 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.1606, allocations: 243.1 kB / 0.5104 GB, free: 96 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2604/0.421, allocations: 298.5 kB / 0.5107 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009768/0.422, allocations: 0.7222 MB / 0.5114 GB, free: 11.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.422, allocations: 2.188 kB / 0.5114 GB, free: 11.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.422, allocations: 0 / 0.5114 GB, free: 11.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.422, allocations: 0 / 0.5114 GB, free: 11.85 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.003159/0.4252, allocations: 1.241 MB / 0.5126 GB, free: 11.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4252, allocations: 9.562 kB / 0.5126 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.4254, allocations: 79.73 kB / 0.5127 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.4269, allocations: 0.7412 MB / 0.5134 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.427, allocations: 28.94 kB / 0.5135 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.427, allocations: 47.06 kB / 0.5135 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.4277, allocations: 450.9 kB / 0.5139 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4277, allocations: 3.938 kB / 0.5139 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.4277, allocations: 15.25 kB / 0.514 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4277, allocations: 9.312 kB / 0.514 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006761/0.4284, allocations: 421.8 kB / 0.5144 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.4306, allocations: 1.629 MB / 0.516 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.4313, allocations: 466.2 kB / 0.5164 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.4316, allocations: 196.8 kB / 0.5166 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/0.4317, allocations: 6.109 kB / 0.5166 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4317, allocations: 36.7 kB / 0.5166 GB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.643e-06/0.4317, allocations: 0 / 0.5166 GB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001169/0.4329, allocations: 0.6256 MB / 0.5172 GB, free: 9.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.4329, allocations: 59.16 kB / 0.5173 GB, free: 9.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.4348, allocations: 0.8816 MB / 0.5182 GB, free: 9.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.4348, allocations: 35.73 kB / 0.5182 GB, free: 9.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.435, allocations: 297.1 kB / 0.5185 GB, free: 9.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.4352, allocations: 167.5 kB / 0.5186 GB, free: 9.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.4353, allocations: 138.6 kB / 0.5188 GB, free: 9.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4355, allocations: 388.3 kB / 0.5191 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006941/0.4362, allocations: 292.7 kB / 0.5194 GB, free: 9.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/0.4369, allocations: 409.6 kB / 0.5198 GB, free: 8.898 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.004963/0.4419, allocations: 1.691 MB / 0.5215 GB, free: 8.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.4419, allocations: 2.156 kB / 0.5215 GB, free: 8.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001824/0.4437, allocations: 0.8198 MB / 0.5223 GB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4437, allocations: 7.5 kB / 0.5223 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4438, allocations: 3.281 kB / 0.5223 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.4438, allocations: 5.969 kB / 0.5223 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.4448, allocations: 208.3 kB / 0.5225 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.4448, allocations: 6.656 kB / 0.5225 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.4459, allocations: 173.9 kB / 0.5227 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.446, allocations: 23.02 kB / 0.5227 GB, free: 7.836 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.0004461/0.4464, allocations: 256.9 kB / 0.5229 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.4466, allocations: 71.2 kB / 0.523 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009314/0.4475, allocations: 0.5195 MB / 0.5235 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.4475, allocations: 4.938 kB / 0.5235 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4475, allocations: 0 / 0.5235 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.4475, allocations: 7.406 kB / 0.5235 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007607/0.4483, allocations: 0.5948 MB / 0.5241 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4483, allocations: 5.125 kB / 0.5241 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.4489, allocations: 96.48 kB / 0.5242 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.4489, allocations: 2.344 kB / 0.5242 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.4489, allocations: 14.12 kB / 0.5242 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.4489, allocations: 2.406 kB / 0.5242 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4489, allocations: 0.5625 kB / 0.5242 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.4502, allocations: 0.8296 MB / 0.525 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.4504, allocations: 170 kB / 0.5252 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.4504, allocations: 18.45 kB / 0.5252 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007428/0.4512, allocations: 82.92 kB / 0.5253 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.4513, allocations: 39.34 kB / 0.5253 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.4514, allocations: 14.22 kB / 0.5253 GB, free: 6.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.4533, allocations: 0.6514 MB / 0.526 GB, free: 6.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4533, allocations: 0 / 0.526 GB, free: 6.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008145/0.4541, allocations: 128.3 kB / 0.5261 GB, free: 6.164 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.0002286/0.4543, allocations: 125 kB / 0.5262 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.4556, allocations: 0.5611 MB / 0.5268 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4556, allocations: 0 / 0.5268 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.456, allocations: 226.3 kB / 0.527 GB, free: 5.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.4566, allocations: 95.84 kB / 0.5271 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.4588, allocations: 1.323 MB / 0.5284 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.4593, allocations: 0.9555 MB / 0.5293 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004123/0.4597, allocations: 110.2 kB / 0.5294 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.46, allocations: 51.86 kB / 0.5294 GB, free: 4.348 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.46, allocations: 0 / 0.5294 GB, free: 4.348 MB / 382.1 MB Notification: Performance of Templates: time 0.0136/0.4736, allocations: 6.647 MB / 0.5359 GB, free: 2.43 MB / 382.1 MB " [Timeout remaining time 660] 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.266430109273642] Failed to read output from testmodel.py, exit status != 0: 0.48225785698741674 0.49501931 0.06993329100000001 Calling exit ...