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.001013/0.001013, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001012/0.001012, allocations: 165 kB / 23.82 MB, free: 0.7539 MB / 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 0.9746/0.9746, allocations: 177.2 MB / 204.2 MB, free: 5.609 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.09779/0.09779, allocations: 18.14 MB / 278.9 MB, free: 11.29 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 1.843e-06/1.843e-06, allocations: 0 / 357.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.669e-05, allocations: 5.406 kB / 357.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003939/0.003976, allocations: 2 MB / 359.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.005145, allocations: 0.6583 MB / 360 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.005298, allocations: 3.938 kB / 360 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.005663, allocations: 59.39 kB / 360 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.005833, allocations: 35.73 kB / 360.1 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.006129, allocations: 151.7 kB / 360.2 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.006439, allocations: 296 kB / 360.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.006606, allocations: 74.52 kB / 360.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.006741, allocations: 103.7 kB / 360.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.006901, allocations: 119.6 kB / 360.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.006943, allocations: 28 kB / 360.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.982e-05/0.006973, allocations: 28 kB / 360.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.007064, allocations: 79.72 kB / 360.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.007142, allocations: 87.72 kB / 361 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.007375, allocations: 195.2 kB / 361.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.00738, allocations: 0 / 361.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.007381, allocations: 0 / 361.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.007387, allocations: 0 / 361.2 MB, free: 3.891 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.0008395/0.008227, allocations: 0.6442 MB / 361.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.008271, allocations: 8.922 kB / 361.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.008358, allocations: 52.75 kB / 361.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.008684, allocations: 244.5 kB / 362.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.008717, allocations: 25.03 kB / 362.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.008765, allocations: 28.38 kB / 362.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.009114, allocations: 258 kB / 362.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.009126, allocations: 4.188 kB / 362.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.009149, allocations: 12.38 kB / 362.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.009163, allocations: 11.94 kB / 362.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.009376, allocations: 130.8 kB / 362.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.0107, allocations: 1.233 MB / 363.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.01097, allocations: 143.7 kB / 364 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/0.01106, allocations: 60.12 kB / 364 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.01109, allocations: 8.234 kB / 364 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.01111, allocations: 33.62 kB / 364.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.783e-06/0.01112, allocations: 0 / 364.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004171/0.01153, allocations: 240.6 kB / 364.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.01157, allocations: 59.33 kB / 364.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.0118, allocations: 292.2 kB / 364.7 MB, free: 228 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01183, allocations: 33.7 kB / 364.7 MB, free: 188 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.01196, allocations: 215.4 kB / 364.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.01203, allocations: 103.1 kB / 365 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.01214, allocations: 91.61 kB / 365.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.0123, allocations: 0.5157 MB / 365.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.01242, allocations: 44.84 kB / 365.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.0126, allocations: 172.2 kB / 365.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.013, allocations: 293 kB / 366.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.013, allocations: 4 kB / 366.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004415/0.01344, allocations: 292.7 kB / 366.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.01346, allocations: 8 kB / 366.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01347, allocations: 0 / 366.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.01349, allocations: 8 kB / 366.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.01393, allocations: 103.8 kB / 366.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.01394, allocations: 12.25 kB / 366.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.01409, allocations: 39.77 kB / 366.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.01412, allocations: 16 kB / 366.6 MB, free: 14.17 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.000191/0.01431, allocations: 188.2 kB / 366.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.01436, allocations: 35.81 kB / 366.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.01475, allocations: 221 kB / 367 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01475, allocations: 8 kB / 367 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.01476, allocations: 3.938 kB / 367 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01476, allocations: 3.984 kB / 367 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.01516, allocations: 268.4 kB / 367.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01517, allocations: 0 / 367.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.01544, allocations: 67.91 kB / 367.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.01544, allocations: 0 / 367.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.01547, allocations: 8 kB / 367.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01547, allocations: 4 kB / 367.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01547, allocations: 0 / 367.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.01597, allocations: 436.7 kB / 367.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.01601, allocations: 23.8 kB / 367.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.01604, allocations: 8 kB / 367.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.01618, allocations: 15.98 kB / 367.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.01626, allocations: 31.95 kB / 367.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.01627, allocations: 15.92 kB / 367.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.0164, allocations: 189.1 kB / 368.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0164, allocations: 3.938 kB / 368.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.01672, allocations: 63.89 kB / 368.1 MB, free: 12.54 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 0.0001299/0.01685, allocations: 106.4 kB / 368.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.01721, allocations: 192.5 kB / 368.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01721, allocations: 0 / 368.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.01735, allocations: 100.1 kB / 368.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.01768, allocations: 32.48 kB / 368.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.0187, allocations: 0.6194 MB / 369.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.678e-05/0.01877, allocations: 100.3 kB / 369.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.01889, allocations: 38.95 kB / 369.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.795e-05/0.01898, allocations: 28.5 kB / 369.3 MB, free: 11.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01898, allocations: 4 kB / 369.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of Templates: time 0.006047/0.02503, allocations: 2.664 MB / 372 MB, free: 8.621 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.2844994021579623]