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.0008435/0.0008435, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002043, allocations: 440 kB / 10.41 MB, free: 284 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.0007992/0.0007992, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.001916, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.011/1.011, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09518/1.106, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.08033/0.08033, allocations: 18.13 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01214/0.09247, allocations: 6.789 MB / 269.1 MB, free: 6.238 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.623e-06/1.623e-06, allocations: 0 / 270.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.445e-05, allocations: 2.312 kB / 270.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003532/0.003557, allocations: 2.047 MB / 272.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.004603, allocations: 0.6582 MB / 273.2 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.004741, allocations: 11.88 kB / 273.2 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.004961, allocations: 63.33 kB / 273.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.005083, allocations: 35.72 kB / 273.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.005379, allocations: 147.7 kB / 273.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.005684, allocations: 295.9 kB / 273.8 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.005833, allocations: 72.5 kB / 273.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.006035, allocations: 172.4 kB / 274 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.006183, allocations: 115.6 kB / 274.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.006224, allocations: 28 kB / 274.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.973e-05/0.006253, allocations: 28 kB / 274.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.006318, allocations: 55.81 kB / 274.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.006374, allocations: 63.81 kB / 274.3 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.006571, allocations: 179.2 kB / 274.5 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.006582, allocations: 0 / 274.5 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006584, allocations: 0 / 274.5 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.006593, allocations: 0 / 274.5 MB, free: 0.7969 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.000676/0.007269, allocations: 0.5544 MB / 275 MB, free: 224 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.007299, allocations: 8.031 kB / 275 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.007361, allocations: 40.91 kB / 275.1 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1208/0.1281, allocations: 202.7 kB / 275.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.1282, allocations: 24.34 kB / 275.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.1282, allocations: 33.34 kB / 275.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.1287, allocations: 230.5 kB / 275.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1287, allocations: 3.484 kB / 275.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1287, allocations: 19.53 kB / 275.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1287, allocations: 5.75 kB / 275.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.1289, allocations: 96.75 kB / 275.7 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.1302, allocations: 0.8782 MB / 276.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.1305, allocations: 158.9 kB / 276.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.1305, allocations: 43.88 kB / 276.7 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.1306, allocations: 5.719 kB / 276.7 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1306, allocations: 39.17 kB / 276.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 3.567e-06/0.1306, allocations: 0 / 276.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003426/0.131, allocations: 166.2 kB / 276.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.131, allocations: 55.88 kB / 277 MB, free: 2.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1312, allocations: 237 kB / 277.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1312, allocations: 32.95 kB / 277.3 MB, free: 2.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.1312, allocations: 159.3 kB / 277.4 MB, free: 2.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/0.1313, allocations: 103.2 kB / 277.5 MB, free: 2.332 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1314, allocations: 81.16 kB / 277.6 MB, free: 2.312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.361e-05/0.1315, allocations: 340.7 kB / 277.9 MB, free: 2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.1316, allocations: 36.69 kB / 278 MB, free: 1.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1317, allocations: 126.4 kB / 278.1 MB, free: 1.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.132, allocations: 242.7 kB / 278.3 MB, free: 1.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.132, allocations: 1.219 kB / 278.3 MB, free: 1.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003412/0.1324, allocations: 215.5 kB / 278.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.1324, allocations: 5.406 kB / 278.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.1324, allocations: 5.344 kB / 278.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.1324, allocations: 3.688 kB / 278.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.133, allocations: 138.8 kB / 278.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.133, allocations: 7.531 kB / 278.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.1331, allocations: 40.89 kB / 278.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1331, allocations: 12.06 kB / 278.8 MB, free: 1.742 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.0001712/0.1333, allocations: 144.5 kB / 278.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.1334, allocations: 22.69 kB / 278.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.1337, allocations: 172.6 kB / 279.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1337, allocations: 9.875 kB / 279.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1337, allocations: 0 / 279.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1337, allocations: 3.016 kB / 279.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.1341, allocations: 203.5 kB / 279.3 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1341, allocations: 1.312 kB / 279.3 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.1345, allocations: 93.8 kB / 279.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.1345, allocations: 25.67 kB / 279.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1345, allocations: 1.625 kB / 279.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.1345, allocations: 11.12 kB / 279.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1345, allocations: 1.844 kB / 279.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1345, allocations: 1.234 kB / 279.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.135, allocations: 363.8 kB / 279.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.135, allocations: 14.89 kB / 279.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1352, allocations: 20.5 kB / 279.8 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.1352, allocations: 23.17 kB / 279.8 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1352, allocations: 4.719 kB / 279.8 MB, free: 1.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.429e-05/0.1353, allocations: 72.06 kB / 279.9 MB, free: 1.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1353, allocations: 0.7188 kB / 279.9 MB, free: 1.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.1356, allocations: 62.98 kB / 280 MB, free: 1.258 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 0.0001512/0.1358, allocations: 88.38 kB / 280.1 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.1361, allocations: 159.5 kB / 280.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/0.1361, allocations: 3.906 kB / 280.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.1363, allocations: 98.17 kB / 280.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1367, allocations: 222.2 kB / 280.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000964/0.1376, allocations: 0.5787 MB / 281.1 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.118e-05/0.1377, allocations: 99.44 kB / 281.2 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.747e-05/0.1378, allocations: 30.94 kB / 281.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.1379, allocations: 94.84 kB / 281.3 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1379, allocations: 0 / 281.3 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of Templates: time 0.006955/0.1449, allocations: 3.115 MB / 284.4 MB, free: 368 kB / 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.806325008161366]