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.0008584/0.0008584, allocations: 75.7 kB / 20.8 MB, free: 3.711 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.0008404/0.0008404, allocations: 166 kB / 24.09 MB, free: 424 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 0.8536/0.8536, allocations: 177.1 MB / 204.4 MB, free: 5.707 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.05927/0.05927, allocations: 18.13 MB / 279 MB, free: 11.48 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.653e-06/1.653e-06, allocations: 0 / 416.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.6e-05, allocations: 6.281 kB / 416.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.002769/0.002795, allocations: 1.946 MB / 418.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008251/0.00362, allocations: 0.6337 MB / 419.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.003733, allocations: 6.719 kB / 419.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.004022, allocations: 52.12 kB / 419.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.004158, allocations: 41.75 kB / 419.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.004431, allocations: 145.4 kB / 419.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.004737, allocations: 310 kB / 419.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.004881, allocations: 65.81 kB / 419.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.005008, allocations: 113.7 kB / 419.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.005171, allocations: 114 kB / 420 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.005214, allocations: 26.28 kB / 420 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.852e-05/0.005243, allocations: 26.66 kB / 420 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.005327, allocations: 80.86 kB / 420.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.005398, allocations: 80.77 kB / 420.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.00567, allocations: 282.3 kB / 420.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.005673, allocations: 0 / 420.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005674, allocations: 0 / 420.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.00568, allocations: 4 kB / 420.4 MB, free: 10.14 MB / 330.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.000783/0.006463, allocations: 0.5527 MB / 421 MB, free: 9.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.006499, allocations: 14.73 kB / 421 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.006552, allocations: 33.75 kB / 421 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.006846, allocations: 254.1 kB / 421.3 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.006871, allocations: 22.69 kB / 421.3 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.006914, allocations: 32.77 kB / 421.4 MB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.007248, allocations: 298.7 kB / 421.6 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.007263, allocations: 1.031 kB / 421.6 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.007281, allocations: 10.75 kB / 421.7 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.007291, allocations: 11.94 kB / 421.7 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.007587, allocations: 220.2 kB / 421.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.008713, allocations: 1.049 MB / 422.9 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.009001, allocations: 209.4 kB / 423.1 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.009113, allocations: 98.2 kB / 423.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.009143, allocations: 3.672 kB / 423.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.148e-05/0.009154, allocations: 33 kB / 423.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.009156, allocations: 0 / 423.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004601/0.009616, allocations: 325.6 kB / 423.6 MB, free: 8.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.009639, allocations: 66.03 kB / 423.6 MB, free: 8.152 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.009884, allocations: 271.9 kB / 423.9 MB, free: 8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.009899, allocations: 35.42 kB / 423.9 MB, free: 7.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.009964, allocations: 177.1 kB / 424.1 MB, free: 7.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.01001, allocations: 99.27 kB / 424.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.01008, allocations: 80.95 kB / 424.3 MB, free: 7.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.01012, allocations: 339.1 kB / 424.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.01024, allocations: 102.1 kB / 424.7 MB, free: 7.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.01039, allocations: 180.7 kB / 424.9 MB, free: 7.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.01141, allocations: 0.6128 MB / 425.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.01141, allocations: 1.125 kB / 425.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003881/0.0118, allocations: 363.5 kB / 425.9 MB, free: 6.773 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01182, allocations: 7.75 kB / 425.9 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01182, allocations: 6.75 kB / 425.9 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.01184, allocations: 4.469 kB / 425.9 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.01215, allocations: 101.6 kB / 426 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.01216, allocations: 8.969 kB / 426 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.0123, allocations: 51.95 kB / 426.1 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.01232, allocations: 17.48 kB / 426.1 MB, free: 6.73 MB / 330.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.0001381/0.01245, allocations: 163.5 kB / 426.2 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.01249, allocations: 27.41 kB / 426.3 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.01283, allocations: 298 kB / 426.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01283, allocations: 4.406 kB / 426.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01284, allocations: 7.938 kB / 426.6 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01284, allocations: 1.688 kB / 426.6 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.01316, allocations: 268.4 kB / 426.8 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01316, allocations: 0.5312 kB / 426.8 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.01337, allocations: 71.25 kB / 426.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01338, allocations: 5.188 kB / 426.9 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.01339, allocations: 8.109 kB / 426.9 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.0134, allocations: 4.531 kB / 426.9 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.0134, allocations: 0 / 426.9 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.01382, allocations: 493.5 kB / 427.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.01384, allocations: 29.84 kB / 427.4 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.01387, allocations: 12.59 kB / 427.4 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.01399, allocations: 25.11 kB / 427.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.01405, allocations: 23.14 kB / 427.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.01406, allocations: 15.12 kB / 427.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.01422, allocations: 189.3 kB / 427.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01422, allocations: 1.312 kB / 427.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01444, allocations: 63.27 kB / 427.7 MB, free: 5.789 MB / 330.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.019e-05/0.01452, allocations: 104.1 kB / 427.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.01485, allocations: 258.7 kB / 428.1 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01486, allocations: 0 / 428.1 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.01499, allocations: 124.5 kB / 428.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.01522, allocations: 31.67 kB / 428.2 MB, free: 5.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000748/0.01597, allocations: 0.6322 MB / 428.9 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.01608, allocations: 171.3 kB / 429 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.01618, allocations: 44.61 kB / 429.1 MB, free: 5.105 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.01625, allocations: 35.52 kB / 429.1 MB, free: 5.09 MB / 330.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01625, allocations: 0 / 429.1 MB, free: 5.09 MB / 330.7 MB Notification: Performance of Templates: time 0.004643/0.02089, allocations: 2.639 MB / 431.8 MB, free: 4.812 MB / 330.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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.7357557332143188] Failed to read output from testmodel.py, exit status != 0: 0.026619333773851395 0.032166512 0.025028243000000002 Calling exit ...