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.0008979/0.0008979, allocations: 87.56 kB / 20.97 MB, free: 3.582 MB / 18.57 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.0009389/0.0009389, allocations: 177 kB / 24.28 MB, free: 280 kB / 18.57 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.077/1.077, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.06632/0.06632, allocations: 18.14 MB / 279.2 MB, free: 11.39 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 357.2 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.209e-05, allocations: 5.547 kB / 357.2 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003586/0.003618, allocations: 2.004 MB / 359.2 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.004865, allocations: 0.6543 MB / 359.9 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.004974, allocations: 3.938 kB / 359.9 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.005261, allocations: 55.45 kB / 360 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.005392, allocations: 39.72 kB / 360 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.005616, allocations: 143.7 kB / 360.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.005858, allocations: 304 kB / 360.4 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.005999, allocations: 62.53 kB / 360.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.006101, allocations: 115.6 kB / 360.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.006233, allocations: 115.6 kB / 360.7 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.006272, allocations: 28 kB / 360.8 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.618e-05/0.006298, allocations: 28 kB / 360.8 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.679e-05/0.006385, allocations: 83.72 kB / 360.9 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.006455, allocations: 83.73 kB / 360.9 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.00667, allocations: 203.1 kB / 361.1 MB, free: 4.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.006672, allocations: 0 / 361.1 MB, free: 4.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006673, allocations: 0 / 361.1 MB, free: 4.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.006679, allocations: 0 / 361.1 MB, free: 4.277 MB / 282.7 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.0008658/0.007545, allocations: 0.6404 MB / 361.8 MB, free: 3.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.007579, allocations: 8.922 kB / 361.8 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.007651, allocations: 52.75 kB / 361.8 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.007924, allocations: 244.5 kB / 362.1 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.007958, allocations: 21.03 kB / 362.1 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.007997, allocations: 28.38 kB / 362.1 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.008301, allocations: 262 kB / 362.4 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.008312, allocations: 4.188 kB / 362.4 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.008332, allocations: 8.375 kB / 362.4 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.008342, allocations: 7.938 kB / 362.4 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.008546, allocations: 130.8 kB / 362.5 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.009739, allocations: 1.237 MB / 363.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.009986, allocations: 147.6 kB / 363.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.01007, allocations: 56.12 kB / 364 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.01009, allocations: 4.234 kB / 364 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.01012, allocations: 45.62 kB / 364 MB, free: 1.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.01012, allocations: 0 / 364 MB, free: 1.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003801/0.0105, allocations: 228.6 kB / 364.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.01053, allocations: 63.34 kB / 364.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.01071, allocations: 288.2 kB / 364.6 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.01073, allocations: 29.7 kB / 364.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.01083, allocations: 227.4 kB / 364.8 MB, free: 368 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.01089, allocations: 103.1 kB / 364.9 MB, free: 264 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.01097, allocations: 87.67 kB / 365 MB, free: 164 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000424/0.01139, allocations: 0.5079 MB / 365.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.01149, allocations: 56.83 kB / 365.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.01163, allocations: 168.2 kB / 365.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.01195, allocations: 293 kB / 366 MB, free: 15.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01196, allocations: 0 / 366 MB, free: 15.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000322/0.01228, allocations: 288.7 kB / 366.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01229, allocations: 4 kB / 366.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.0123, allocations: 4 kB / 366.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01232, allocations: 8.297 kB / 366.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.01264, allocations: 107.8 kB / 366.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.01265, allocations: 11.92 kB / 366.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01276, allocations: 43.77 kB / 366.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01277, allocations: 12 kB / 366.5 MB, free: 14.57 MB / 298.7 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.0001541/0.01293, allocations: 184.9 kB / 366.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.01297, allocations: 39.81 kB / 366.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.01328, allocations: 229 kB / 366.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01328, allocations: 4 kB / 366.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.01329, allocations: 7.938 kB / 367 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01329, allocations: 0 / 367 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.01359, allocations: 264.3 kB / 367.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01359, allocations: 0 / 367.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.0138, allocations: 71.89 kB / 367.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.0138, allocations: 0 / 367.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.01382, allocations: 12 kB / 367.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01383, allocations: 0 / 367.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01383, allocations: 0 / 367.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.01424, allocations: 432.8 kB / 367.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.01426, allocations: 27.78 kB / 367.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.01429, allocations: 8 kB / 367.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.0144, allocations: 15.98 kB / 367.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.01447, allocations: 27.95 kB / 367.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.01448, allocations: 11.94 kB / 367.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.72e-05/0.01458, allocations: 197.1 kB / 368 MB, free: 13 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01458, allocations: 0 / 368 MB, free: 13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002/0.01478, allocations: 67.83 kB / 368.1 MB, free: 12.93 MB / 298.7 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 7.911e-05/0.01486, allocations: 102.5 kB / 368.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.01512, allocations: 193 kB / 368.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01513, allocations: 0 / 368.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.01524, allocations: 103.6 kB / 368.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.01548, allocations: 36.59 kB / 368.5 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.01624, allocations: 0.6115 MB / 369.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.114e-05/0.0163, allocations: 104.3 kB / 369.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.557e-05/0.0164, allocations: 38.95 kB / 369.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.01647, allocations: 28.5 kB / 369.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01647, allocations: 0 / 369.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of Templates: time 0.004739/0.02121, allocations: 2.675 MB / 371.9 MB, free: 9.008 MB / 298.7 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=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.041586631909013]