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.0011/0.0011, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001602/0.002702, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001104/0.001104, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002511, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9689/0.9689, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08778/1.057, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.06664/0.06664, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01138/0.07803, allocations: 6.778 MB / 268.9 MB, free: 6.355 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.553e-06/1.553e-06, allocations: 0 / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.145e-05, allocations: 2.312 kB / 270.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.00321/0.003231, allocations: 2.038 MB / 272.3 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.004376, allocations: 0.6698 MB / 273 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.004503, allocations: 3.938 kB / 273 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.004721, allocations: 59.34 kB / 273.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.004865, allocations: 35.72 kB / 273.1 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.005182, allocations: 147.7 kB / 273.3 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.005512, allocations: 292 kB / 273.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.005662, allocations: 72.5 kB / 273.6 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.005894, allocations: 176.4 kB / 273.8 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.006068, allocations: 115.6 kB / 273.9 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.006115, allocations: 24 kB / 273.9 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.006156, allocations: 28 kB / 273.9 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.006237, allocations: 63.73 kB / 274 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.006318, allocations: 63.81 kB / 274.1 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.006544, allocations: 175.2 kB / 274.2 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.006558, allocations: 4 kB / 274.2 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006559, allocations: 0 / 274.2 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.006573, allocations: 0 / 274.2 MB, free: 0.9336 MB / 266.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.0008386/0.007412, allocations: 0.5466 MB / 274.8 MB, free: 372 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.007441, allocations: 12.03 kB / 274.8 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.007516, allocations: 44.91 kB / 274.8 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.007818, allocations: 209.9 kB / 275.1 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.00785, allocations: 21.03 kB / 275.1 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.0079, allocations: 36.31 kB / 275.1 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1088/0.1167, allocations: 233 kB / 275.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1167, allocations: 0.8906 kB / 275.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1167, allocations: 13.41 kB / 275.4 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1167, allocations: 8 kB / 275.4 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1168, allocations: 92 kB / 275.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1179, allocations: 0.8698 MB / 276.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.1181, allocations: 171.5 kB / 276.5 MB, free: 2.832 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.1181, allocations: 43.31 kB / 276.5 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1182, allocations: 7.078 kB / 276.5 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.1182, allocations: 40.73 kB / 276.6 MB, free: 2.781 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.853e-06/0.1182, allocations: 0 / 276.6 MB, free: 2.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002621/0.1184, allocations: 159.1 kB / 276.7 MB, free: 2.746 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.1185, allocations: 54.69 kB / 276.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1186, allocations: 235.3 kB / 277 MB, free: 2.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1186, allocations: 32.52 kB / 277 MB, free: 2.531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.1187, allocations: 159.6 kB / 277.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.1187, allocations: 108.1 kB / 277.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.06e-05/0.1188, allocations: 76.53 kB / 277.4 MB, free: 2.352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.1188, allocations: 341.9 kB / 277.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-05/0.1189, allocations: 37.84 kB / 277.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.119, allocations: 121.4 kB / 277.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1192, allocations: 236.8 kB / 278.1 MB, free: 1.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1192, allocations: 0.7031 kB / 278.1 MB, free: 1.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002321/0.1194, allocations: 211 kB / 278.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1194, allocations: 10.75 kB / 278.3 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1194, allocations: 2.688 kB / 278.3 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1195, allocations: 5.859 kB / 278.3 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.1199, allocations: 135.7 kB / 278.5 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1199, allocations: 4.25 kB / 278.5 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.12, allocations: 41.22 kB / 278.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.12, allocations: 12.88 kB / 278.5 MB, free: 1.793 MB / 266.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_1.iNoInc,PI_1.iNoDec,PI_2.iNoInc,PI_2.iNoDec) * 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.0001234/0.1201, allocations: 141.3 kB / 278.7 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.1201, allocations: 28.91 kB / 278.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.1204, allocations: 172.2 kB / 278.9 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1204, allocations: 3.312 kB / 278.9 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1204, allocations: 0.625 kB / 278.9 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1204, allocations: 2.547 kB / 278.9 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.1206, allocations: 200.3 kB / 279.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1206, allocations: 3.281 kB / 279.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.1209, allocations: 99.28 kB / 279.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.1209, allocations: 25.14 kB / 279.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.121, allocations: 2.312 kB / 279.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.121, allocations: 6.844 kB / 279.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.121, allocations: 2.312 kB / 279.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.121, allocations: 2.062 kB / 279.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.1214, allocations: 368.9 kB / 279.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.1214, allocations: 8.922 kB / 279.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.1216, allocations: 15.05 kB / 279.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.1216, allocations: 28.7 kB / 279.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1216, allocations: 4.641 kB / 279.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.512e-05/0.1217, allocations: 72.11 kB / 279.7 MB, free: 1.332 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1217, allocations: 0 / 279.7 MB, free: 1.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.1219, allocations: 62.23 kB / 279.7 MB, free: 1.328 MB / 266.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 8.369e-05/0.122, allocations: 89.16 kB / 279.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1222, allocations: 155 kB / 280 MB, free: 1.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/0.1223, allocations: 5.234 kB / 280 MB, free: 1.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.1223, allocations: 87.48 kB / 280.1 MB, free: 1.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1225, allocations: 55.17 kB / 280.1 MB, free: 1.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/0.1235, allocations: 0.5805 MB / 280.7 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.159e-05/0.1236, allocations: 100.1 kB / 280.8 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.439e-05/0.1237, allocations: 35.67 kB / 280.8 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.1238, allocations: 89.17 kB / 280.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1238, allocations: 0 / 280.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of Templates: time 0.005626/0.1294, allocations: 3.095 MB / 284 MB, free: 0.6406 MB / 266.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: 2.820372204296291]