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.001695/0.001695, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001672/0.001672, allocations: 218.9 kB / 23.01 MB, free: 4.605 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.1095/0.1095, allocations: 24.11 MB / 337.3 MB, free: 11.46 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.00198/0.00198, allocations: 67.91 kB / 474.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3485, allocations: 59.59 MB / 0.5216 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003345/0.3518, allocations: 2.046 MB / 0.5236 GB, free: 9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3531, allocations: 0.6714 MB / 0.5243 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.3532, allocations: 6.25 kB / 0.5243 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.3536, allocations: 57.53 kB / 0.5244 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.3538, allocations: 37.84 kB / 0.5244 GB, free: 8.461 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.0003644/0.3541, allocations: 136.9 kB / 0.5245 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.3547, allocations: 357.6 kB / 0.5249 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.3549, allocations: 77.48 kB / 0.5249 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.3551, allocations: 137.7 kB / 0.5251 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.3553, allocations: 147.5 kB / 0.5252 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.566e-05/0.3554, allocations: 25.94 kB / 0.5252 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.826e-05/0.3554, allocations: 26.22 kB / 0.5253 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3555, allocations: 87.84 kB / 0.5253 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3557, allocations: 128.2 kB / 0.5255 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.3561, allocations: 273.9 kB / 0.5257 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3561, allocations: 1.734 kB / 0.5257 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3561, allocations: 4 kB / 0.5257 GB, free: 7.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.3561, allocations: 0 / 0.5257 GB, free: 7.797 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.001361/0.3574, allocations: 0.5599 MB / 0.5263 GB, free: 7.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3575, allocations: 11.36 kB / 0.5263 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.3576, allocations: 32.69 kB / 0.5263 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.3581, allocations: 248 kB / 0.5266 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.3581, allocations: 21.12 kB / 0.5266 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.3582, allocations: 36.42 kB / 0.5266 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.3587, allocations: 308.5 kB / 0.5269 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.3587, allocations: 1.891 kB / 0.5269 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.3588, allocations: 10.31 kB / 0.5269 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3588, allocations: 7 kB / 0.5269 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.3592, allocations: 219.4 kB / 0.5271 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3611, allocations: 1.155 MB / 0.5283 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.3615, allocations: 201.5 kB / 0.5285 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.3617, allocations: 99.34 kB / 0.5285 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.3617, allocations: 4.469 kB / 0.5285 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.3617, allocations: 44.19 kB / 0.5286 GB, free: 5.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.363e-06/0.3617, allocations: 7.938 kB / 0.5286 GB, free: 5.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006623/0.3624, allocations: 319.5 kB / 0.5289 GB, free: 5.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.3624, allocations: 54.12 kB / 0.529 GB, free: 5.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.3628, allocations: 287.1 kB / 0.5292 GB, free: 5.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3629, allocations: 30.86 kB / 0.5293 GB, free: 5.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.3629, allocations: 168.7 kB / 0.5294 GB, free: 5.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.363, allocations: 104.6 kB / 0.5295 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3631, allocations: 80.78 kB / 0.5296 GB, free: 5.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.3632, allocations: 338.4 kB / 0.5299 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3634, allocations: 97.33 kB / 0.53 GB, free: 4.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3636, allocations: 182.2 kB / 0.5302 GB, free: 4.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.3655, allocations: 0.6186 MB / 0.5308 GB, free: 4.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3655, allocations: 0 / 0.5308 GB, free: 4.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005927/0.3661, allocations: 367.9 kB / 0.5311 GB, free: 4.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3661, allocations: 10.28 kB / 0.5312 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3661, allocations: 2.953 kB / 0.5312 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3661, allocations: 6.344 kB / 0.5312 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.3667, allocations: 104.2 kB / 0.5313 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.3667, allocations: 8.109 kB / 0.5313 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.367, allocations: 52.56 kB / 0.5313 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.367, allocations: 12.05 kB / 0.5313 GB, free: 4.309 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.0002089/0.3672, allocations: 154.6 kB / 0.5315 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.3673, allocations: 31.89 kB / 0.5315 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005637/0.3678, allocations: 303.4 kB / 0.5318 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3679, allocations: 2.281 kB / 0.5318 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3679, allocations: 1.125 kB / 0.5318 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.3679, allocations: 2.391 kB / 0.5318 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.3684, allocations: 357.2 kB / 0.5321 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3684, allocations: 1.375 kB / 0.5321 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.3688, allocations: 75.08 kB / 0.5322 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3688, allocations: 5.125 kB / 0.5322 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.3689, allocations: 8.203 kB / 0.5322 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3689, allocations: 1.594 kB / 0.5322 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3689, allocations: 0 / 0.5322 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007468/0.3696, allocations: 481.9 kB / 0.5327 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.3697, allocations: 38.64 kB / 0.5327 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.3697, allocations: 7.188 kB / 0.5327 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.37, allocations: 29.86 kB / 0.5328 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.42e-05/0.3701, allocations: 30.78 kB / 0.5328 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.3701, allocations: 6.078 kB / 0.5328 GB, free: 3.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003185/0.3704, allocations: 201.4 kB / 0.533 GB, free: 3.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3704, allocations: 0 / 0.533 GB, free: 3.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.3708, allocations: 54.8 kB / 0.533 GB, free: 3.316 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 9.756e-05/0.3709, allocations: 112.8 kB / 0.5331 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.3714, allocations: 253.1 kB / 0.5334 GB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3714, allocations: 0 / 0.5334 GB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3716, allocations: 125.5 kB / 0.5335 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.372, allocations: 32.81 kB / 0.5335 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3732, allocations: 0.7303 MB / 0.5343 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.3735, allocations: 0.7796 MB / 0.535 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3736, allocations: 31.56 kB / 0.535 GB, free: 1.926 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3736, allocations: 0 / 0.535 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Templates: time 0.007769/0.3814, allocations: 3.504 MB / 0.5385 GB, free: 1.543 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: 7.722305612172931] Failed to read output from testmodel.py, exit status != 0: 0.3906314820051193 0.408349448 0.048664327 Calling exit ...