Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.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.001383/0.001383, 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.001712/0.001712, allocations: 212.5 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1143/0.1143, allocations: 24.04 MB / 337.2 MB, free: 11.45 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.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") translateModel(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") [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.002301/0.002301, allocations: 71.89 kB / 474.3 MB, free: 5.914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3916, allocations: 59.57 MB / 0.5214 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.002871/0.3945, allocations: 1.949 MB / 0.5233 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3957, allocations: 0.6286 MB / 0.5239 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3958, allocations: 10.44 kB / 0.5239 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.3962, allocations: 56.36 kB / 0.524 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.3964, allocations: 39.38 kB / 0.524 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.3968, allocations: 128.1 kB / 0.5241 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005362/0.3973, allocations: 357.7 kB / 0.5245 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.3975, allocations: 70.3 kB / 0.5245 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.3977, allocations: 134.6 kB / 0.5247 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.3979, allocations: 133.6 kB / 0.5248 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.3979, allocations: 26.66 kB / 0.5248 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.804e-05/0.398, allocations: 25.94 kB / 0.5248 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3981, allocations: 87.08 kB / 0.5249 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.3982, allocations: 107.8 kB / 0.525 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.3985, allocations: 270.6 kB / 0.5253 GB, free: 7.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3985, allocations: 12.94 kB / 0.5253 GB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3985, allocations: 0 / 0.5253 GB, free: 7.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3986, allocations: 0 / 0.5253 GB, free: 7.895 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001217/0.3998, allocations: 0.563 MB / 0.5258 GB, free: 7.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3998, allocations: 10.08 kB / 0.5258 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.3999, allocations: 37.81 kB / 0.5259 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.4004, allocations: 242.8 kB / 0.5261 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.4004, allocations: 28.75 kB / 0.5261 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.4005, allocations: 32.19 kB / 0.5262 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.401, allocations: 308.2 kB / 0.5265 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.401, allocations: 1.25 kB / 0.5265 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.401, allocations: 14.22 kB / 0.5265 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.401, allocations: 7.25 kB / 0.5265 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.4014, allocations: 215.9 kB / 0.5267 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.4031, allocations: 1.045 MB / 0.5277 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.4036, allocations: 207.4 kB / 0.5279 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.4038, allocations: 91.31 kB / 0.528 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.4038, allocations: 7.141 kB / 0.528 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.4038, allocations: 37.52 kB / 0.528 GB, free: 6.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.462e-06/0.4038, allocations: 0 / 0.528 GB, free: 6.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006553/0.4045, allocations: 326.1 kB / 0.5284 GB, free: 5.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.4045, allocations: 54.66 kB / 0.5284 GB, free: 5.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.4049, allocations: 278.2 kB / 0.5287 GB, free: 5.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.4049, allocations: 30.8 kB / 0.5287 GB, free: 5.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.405, allocations: 173.8 kB / 0.5289 GB, free: 5.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.4051, allocations: 104.2 kB / 0.529 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.4052, allocations: 80.64 kB / 0.529 GB, free: 5.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.4052, allocations: 338.6 kB / 0.5294 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.4054, allocations: 97.27 kB / 0.5295 GB, free: 5.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.4056, allocations: 193 kB / 0.5296 GB, free: 4.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.4074, allocations: 0.6078 MB / 0.5302 GB, free: 4.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4074, allocations: 1.188 kB / 0.5302 GB, free: 4.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006022/0.408, allocations: 379.6 kB / 0.5306 GB, free: 4.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.408, allocations: 6.5 kB / 0.5306 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.408, allocations: 6.156 kB / 0.5306 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.408, allocations: 4.844 kB / 0.5306 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.4086, allocations: 96.45 kB / 0.5307 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.4086, allocations: 9.359 kB / 0.5307 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.4089, allocations: 52.11 kB / 0.5308 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.4089, allocations: 16 kB / 0.5308 GB, free: 4.469 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: y_filter.y:VARIABLE(flow=false start = y_filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 9 (not1.y,PI_2.LOsat,PI_2.HIsat,PI_1.LOsat,PI_1.HIsat,PI_2.iNoDec,PI_2.iNoInc,PI_1.iNoDec,PI_1.iNoInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001715/0.4091, allocations: 163.4 kB / 0.5309 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.4091, allocations: 23.14 kB / 0.531 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.4097, allocations: 302.6 kB / 0.5312 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.4097, allocations: 3.719 kB / 0.5313 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4097, allocations: 0 / 0.5313 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4097, allocations: 3.25 kB / 0.5313 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.4102, allocations: 270.3 kB / 0.5315 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4102, allocations: 5.625 kB / 0.5315 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.4105, allocations: 70.52 kB / 0.5316 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4105, allocations: 1.719 kB / 0.5316 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.4106, allocations: 8.297 kB / 0.5316 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4106, allocations: 5.094 kB / 0.5316 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4106, allocations: 1.25 kB / 0.5316 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.4112, allocations: 493.7 kB / 0.5321 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.4113, allocations: 25.3 kB / 0.5321 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.4113, allocations: 8.047 kB / 0.5321 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.4116, allocations: 36.66 kB / 0.5321 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.4117, allocations: 24.05 kB / 0.5322 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.4117, allocations: 6.75 kB / 0.5322 GB, free: 3.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003684/0.4121, allocations: 188.9 kB / 0.5323 GB, free: 3.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4121, allocations: 0.5 kB / 0.5323 GB, free: 3.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003818/0.4125, allocations: 67.34 kB / 0.5324 GB, free: 3.527 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (PI_1.xfb,PI_1.xBias,PI_1.u,PI_1.csfil,PI_2.xfb,PI_2.xBias,PI_2.u,PI_2.csfil,Process.x_scaled[1],Process.x_scaled[2],y_filter.y) * Number of discrete variables: 5 (PI_1.HIsat,PI_1.LOsat,PI_2.HIsat,PI_2.LOsat,not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0001021/0.4126, allocations: 112.8 kB / 0.5325 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.413, allocations: 253.8 kB / 0.5328 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.413, allocations: 0 / 0.5328 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.4132, allocations: 122.3 kB / 0.5329 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.4136, allocations: 30.7 kB / 0.5329 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.4147, allocations: 0.6972 MB / 0.5336 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.4148, allocations: 172.9 kB / 0.5338 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.415, allocations: 47.92 kB / 0.5338 GB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.162e-05/0.4151, allocations: 29.98 kB / 0.5338 GB, free: 2.781 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4151, allocations: 1.062 kB / 0.5338 GB, free: 2.781 MB / 382.1 MB Notification: Performance of Templates: time 0.007367/0.4224, allocations: 2.807 MB / 0.5366 GB, free: 2.5 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.sim & ./AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.325186030939221] Failed to read output from testmodel.py, exit status != 0: 0.43119716085493565 0.445080432 0.043395174 Calling exit ...