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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 108.3 kB / 19.73 MB, free: 1.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 212.3 kB / 23.01 MB, free: 4.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1118/0.1118, allocations: 24.03 MB / 337.2 MB, free: 11.34 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 69.45 kB / 474.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4059, allocations: 59.58 MB / 0.5214 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.004046/0.41, allocations: 1.783 MB / 0.5231 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.4134, allocations: 1.825 MB / 0.5249 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004091/0.4138, allocations: 13.5 kB / 0.5249 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.4144, allocations: 173.5 kB / 0.5251 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006536/0.4151, allocations: 227.2 kB / 0.5253 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.416, allocations: 432 kB / 0.5257 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.4175, allocations: 1.216 MB / 0.5269 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.4177, allocations: 111.8 kB / 0.527 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005847/0.4183, allocations: 431 kB / 0.5274 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.4189, allocations: 415.6 kB / 0.5278 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.419, allocations: 66 kB / 0.5279 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.4192, allocations: 101.6 kB / 0.528 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.4195, allocations: 249.6 kB / 0.5282 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.4197, allocations: 234.5 kB / 0.5284 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009571/0.4207, allocations: 0.7319 MB / 0.5292 GB, free: 6.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4207, allocations: 1.094 kB / 0.5292 GB, free: 6.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4207, allocations: 7.938 kB / 0.5292 GB, free: 6.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4207, allocations: 0 / 0.5292 GB, free: 6.047 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.003569/0.4243, allocations: 1.153 MB / 0.5303 GB, free: 5.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.4243, allocations: 11.08 kB / 0.5303 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.4246, allocations: 76.89 kB / 0.5304 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.4265, allocations: 0.6895 MB / 0.531 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/0.4265, allocations: 35.62 kB / 0.5311 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.4266, allocations: 44.3 kB / 0.5311 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009384/0.4276, allocations: 456.3 kB / 0.5316 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.4276, allocations: 0.5312 kB / 0.5316 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.4276, allocations: 19.53 kB / 0.5316 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.4276, allocations: 9.781 kB / 0.5316 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.4287, allocations: 415.3 kB / 0.532 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.4314, allocations: 1.409 MB / 0.5334 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007596/0.4322, allocations: 461.7 kB / 0.5338 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.4325, allocations: 195.5 kB / 0.534 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.4325, allocations: 5.281 kB / 0.534 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.4326, allocations: 41.97 kB / 0.534 GB, free: 3.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/0.4326, allocations: 1.062 kB / 0.534 GB, free: 3.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.00136/0.4339, allocations: 0.6203 MB / 0.5346 GB, free: 3.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.434, allocations: 56.84 kB / 0.5347 GB, free: 3.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.4361, allocations: 0.8678 MB / 0.5355 GB, free: 2.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.4361, allocations: 35.86 kB / 0.5356 GB, free: 2.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.4364, allocations: 301.5 kB / 0.5359 GB, free: 2.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.4365, allocations: 174.1 kB / 0.536 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.4367, allocations: 138.7 kB / 0.5362 GB, free: 2.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4369, allocations: 381.3 kB / 0.5365 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.4376, allocations: 296.1 kB / 0.5368 GB, free: 1.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.4384, allocations: 412.6 kB / 0.5372 GB, free: 1.621 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.004746/0.4431, allocations: 1.526 MB / 0.5387 GB, free: 1.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4431, allocations: 1.125 kB / 0.5387 GB, free: 1.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001736/0.4449, allocations: 0.8279 MB / 0.5395 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4449, allocations: 7.125 kB / 0.5395 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4449, allocations: 6.281 kB / 0.5395 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.4449, allocations: 6.906 kB / 0.5395 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009197/0.4458, allocations: 200.4 kB / 0.5397 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.4458, allocations: 7.547 kB / 0.5397 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/0.4468, allocations: 173.5 kB / 0.5399 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.4469, allocations: 26.19 kB / 0.5399 GB, free: 0.7109 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.0003497/0.4472, allocations: 238.3 kB / 0.5401 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.4473, allocations: 64.2 kB / 0.5402 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009063/0.4482, allocations: 0.5321 MB / 0.5407 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4482, allocations: 4.656 kB / 0.5407 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4482, allocations: 1.094 kB / 0.5407 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4483, allocations: 3.984 kB / 0.5407 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/0.4489, allocations: 439.3 kB / 0.5411 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4489, allocations: 7.984 kB / 0.5412 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.4494, allocations: 90.16 kB / 0.5412 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4494, allocations: 1.375 kB / 0.5412 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.4495, allocations: 17.48 kB / 0.5413 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4495, allocations: 1.375 kB / 0.5413 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4495, allocations: 1.375 kB / 0.5413 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.4508, allocations: 0.8417 MB / 0.5421 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.451, allocations: 83.66 kB / 0.5422 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/0.451, allocations: 23.52 kB / 0.5422 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006785/0.4517, allocations: 86.41 kB / 0.5423 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4518, allocations: 37.84 kB / 0.5423 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.4519, allocations: 9.062 kB / 0.5423 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001582/0.4534, allocations: 0.6445 MB / 0.5429 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4534, allocations: 0 / 0.5429 GB, free: 14.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005677/0.454, allocations: 120.1 kB / 0.5431 GB, free: 14.84 MB / 398.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.0002035/0.4542, allocations: 126.7 kB / 0.5432 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.4555, allocations: 0.5554 MB / 0.5437 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.4555, allocations: 4.75 kB / 0.5437 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.4559, allocations: 220.5 kB / 0.5439 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.4565, allocations: 99.81 kB / 0.544 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.4587, allocations: 1.331 MB / 0.5453 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.4591, allocations: 353.3 kB / 0.5457 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004152/0.4595, allocations: 110.8 kB / 0.5458 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.4597, allocations: 49.56 kB / 0.5458 GB, free: 13.21 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4597, allocations: 3.938 kB / 0.5458 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Templates: time 0.01519/0.4749, allocations: 7.191 MB / 0.5528 GB, free: 9.629 MB / 398.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.433223180472851] Failed to read output from testmodel.py, exit status != 0: 0.48557533882558346 0.501095948 0.076676518 Calling exit ...