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.001794/0.001794, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.002147/0.002147, allocations: 215 kB / 23.76 MB, free: 4.52 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1082/0.1082, allocations: 24.03 MB / 338 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.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.002204/0.002204, allocations: 75.89 kB / 475.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2849, allocations: 59.57 MB / 0.5221 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.002671/0.2876, allocations: 1.941 MB / 0.524 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2886, allocations: 0.6297 MB / 0.5246 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2887, allocations: 5.188 kB / 0.5246 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.289, allocations: 57.81 kB / 0.5247 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.2891, allocations: 45.28 kB / 0.5247 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.2894, allocations: 125.7 kB / 0.5249 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.2898, allocations: 353.3 kB / 0.5252 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2899, allocations: 77.95 kB / 0.5253 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.2901, allocations: 135.2 kB / 0.5254 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.2902, allocations: 133.1 kB / 0.5255 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.2903, allocations: 26.72 kB / 0.5256 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.372e-05/0.2903, allocations: 26.31 kB / 0.5256 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.304e-05/0.2904, allocations: 87.48 kB / 0.5257 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.409e-05/0.2905, allocations: 105 kB / 0.5258 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.2908, allocations: 272.8 kB / 0.526 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.2908, allocations: 1.438 kB / 0.526 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2908, allocations: 0 / 0.526 GB, free: 8.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2908, allocations: 0 / 0.526 GB, free: 8.008 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.001123/0.2919, allocations: 0.5644 MB / 0.5266 GB, free: 7.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2919, allocations: 10.08 kB / 0.5266 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/0.292, allocations: 41.5 kB / 0.5266 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.2925, allocations: 243.4 kB / 0.5269 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.2925, allocations: 25.53 kB / 0.5269 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.2925, allocations: 32.02 kB / 0.5269 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.293, allocations: 307.6 kB / 0.5272 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.293, allocations: 0 / 0.5272 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.293, allocations: 11.59 kB / 0.5272 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2931, allocations: 6.922 kB / 0.5272 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.2935, allocations: 221.5 kB / 0.5274 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.2951, allocations: 1.045 MB / 0.5285 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.2955, allocations: 202.6 kB / 0.5286 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.2957, allocations: 93.33 kB / 0.5287 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.2957, allocations: 3.484 kB / 0.5287 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.2957, allocations: 37.42 kB / 0.5288 GB, free: 6.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.2957, allocations: 0 / 0.5288 GB, free: 6.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006147/0.2963, allocations: 329.9 kB / 0.5291 GB, free: 6.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.2963, allocations: 55.84 kB / 0.5291 GB, free: 6.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.2967, allocations: 271.5 kB / 0.5294 GB, free: 5.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.2967, allocations: 34.83 kB / 0.5294 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.2968, allocations: 178.2 kB / 0.5296 GB, free: 5.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.2969, allocations: 107 kB / 0.5297 GB, free: 5.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.826e-05/0.297, allocations: 80.06 kB / 0.5298 GB, free: 5.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.297, allocations: 338.1 kB / 0.5301 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.2972, allocations: 97.86 kB / 0.5302 GB, free: 5.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2974, allocations: 188.4 kB / 0.5304 GB, free: 5.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.2991, allocations: 0.6134 MB / 0.531 GB, free: 4.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.2991, allocations: 4 kB / 0.531 GB, free: 4.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005638/0.2997, allocations: 367.3 kB / 0.5313 GB, free: 4.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2997, allocations: 7.031 kB / 0.5313 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2997, allocations: 6.094 kB / 0.5313 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2998, allocations: 8.594 kB / 0.5314 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.3003, allocations: 100.6 kB / 0.5314 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3004, allocations: 8.562 kB / 0.5315 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.3006, allocations: 52.47 kB / 0.5315 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3006, allocations: 15.12 kB / 0.5315 GB, free: 4.574 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.0001611/0.3008, allocations: 161.6 kB / 0.5317 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.3009, allocations: 23.48 kB / 0.5317 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005012/0.3014, allocations: 301.1 kB / 0.532 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3014, allocations: 4.781 kB / 0.532 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3014, allocations: 0 / 0.532 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3014, allocations: 6.672 kB / 0.532 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.3018, allocations: 270.1 kB / 0.5323 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3018, allocations: 1.359 kB / 0.5323 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.3022, allocations: 66.33 kB / 0.5323 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3022, allocations: 6.312 kB / 0.5323 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3022, allocations: 7.859 kB / 0.5323 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.3022, allocations: 9.625 kB / 0.5323 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3022, allocations: 0 / 0.5323 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006644/0.3029, allocations: 493.7 kB / 0.5328 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.303, allocations: 26.31 kB / 0.5328 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.303, allocations: 7.391 kB / 0.5328 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.3033, allocations: 28.98 kB / 0.5329 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.3033, allocations: 23.83 kB / 0.5329 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.3034, allocations: 6.062 kB / 0.5329 GB, free: 3.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.3036, allocations: 194.2 kB / 0.5331 GB, free: 3.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3036, allocations: 0 / 0.5331 GB, free: 3.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.304, allocations: 68.09 kB / 0.5331 GB, free: 3.637 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 8.784e-05/0.3041, allocations: 114.5 kB / 0.5333 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004523/0.3045, allocations: 258.8 kB / 0.5335 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3045, allocations: 0 / 0.5335 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.3047, allocations: 122.3 kB / 0.5336 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3051, allocations: 34.44 kB / 0.5337 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3061, allocations: 0.7225 MB / 0.5344 GB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.3063, allocations: 177.4 kB / 0.5345 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3064, allocations: 27.91 kB / 0.5346 GB, free: 2.867 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3064, allocations: 0 / 0.5346 GB, free: 2.867 MB / 382.1 MB Notification: Performance of Templates: time 0.006/0.3124, allocations: 3.544 MB / 0.538 GB, free: 2.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.558193482924253] Failed to read output from testmodel.py, exit status != 0: 0.32077871868386865 0.333630376 0.039883171 Calling exit ...