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.0007737/0.0007737, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007796/0.0007796, allocations: 165.2 kB / 23.98 MB, free: 0.582 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.8554/0.8554, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.05938/0.05938, allocations: 18.12 MB / 278.8 MB, free: 11.54 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.873e-06/1.873e-06, allocations: 0 / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.744e-05, allocations: 7.531 kB / 416.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.002033/0.00206, allocations: 1.945 MB / 418.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000804/0.002864, allocations: 0.6294 MB / 418.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.696e-05/0.002961, allocations: 5.531 kB / 418.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.003255, allocations: 56.66 kB / 419 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.00338, allocations: 47.03 kB / 419 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.003602, allocations: 143.2 kB / 419.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.003866, allocations: 301.9 kB / 419.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.004006, allocations: 66.88 kB / 419.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.004124, allocations: 113.2 kB / 419.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.004277, allocations: 114.4 kB / 419.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.004319, allocations: 29.53 kB / 419.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.774e-05/0.004347, allocations: 27.19 kB / 419.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.004429, allocations: 85.33 kB / 419.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/0.004496, allocations: 86.75 kB / 419.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.00476, allocations: 270.6 kB / 420.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004762, allocations: 1.25 kB / 420.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.004764, allocations: 0 / 420.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.004769, allocations: 0 / 420.2 MB, free: 10.12 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.0008128/0.005582, allocations: 0.5581 MB / 420.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.005617, allocations: 10.02 kB / 420.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.00567, allocations: 37.27 kB / 420.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.005978, allocations: 249.9 kB / 421.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.006003, allocations: 26.22 kB / 421.1 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.006048, allocations: 27.69 kB / 421.1 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.006392, allocations: 299.1 kB / 421.4 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.006405, allocations: 1.25 kB / 421.4 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.006423, allocations: 12.22 kB / 421.4 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.006431, allocations: 9.406 kB / 421.4 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.006723, allocations: 217.1 kB / 421.6 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.007846, allocations: 1.057 MB / 422.7 MB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.008152, allocations: 204.8 kB / 422.9 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.008266, allocations: 96.59 kB / 423 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.008295, allocations: 4.125 kB / 423 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.008307, allocations: 37.23 kB / 423 MB, free: 8.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.403e-06/0.008309, allocations: 0 / 423 MB, free: 8.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004512/0.00876, allocations: 334.4 kB / 423.4 MB, free: 8.188 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.008782, allocations: 57.56 kB / 423.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.009039, allocations: 267.4 kB / 423.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.009054, allocations: 30.86 kB / 423.7 MB, free: 7.938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.009127, allocations: 185.6 kB / 423.9 MB, free: 7.773 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.009174, allocations: 92.12 kB / 424 MB, free: 7.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/0.009246, allocations: 83.94 kB / 424.1 MB, free: 7.648 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.421e-05/0.00929, allocations: 343.8 kB / 424.4 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.009418, allocations: 96.98 kB / 424.5 MB, free: 7.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.009563, allocations: 185.3 kB / 424.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.01063, allocations: 0.6086 MB / 425.3 MB, free: 6.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01063, allocations: 3.938 kB / 425.3 MB, free: 6.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004419/0.01107, allocations: 367.1 kB / 425.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01109, allocations: 7.516 kB / 425.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01109, allocations: 2.688 kB / 425.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01111, allocations: 4.234 kB / 425.7 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.01142, allocations: 101.8 kB / 425.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.01143, allocations: 17.28 kB / 425.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.01157, allocations: 51.91 kB / 425.8 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.01158, allocations: 16.56 kB / 425.8 MB, free: 6.691 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.000138/0.01172, allocations: 152.2 kB / 426 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.01175, allocations: 28.67 kB / 426 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.01214, allocations: 297.9 kB / 426.3 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01215, allocations: 5.062 kB / 426.3 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01215, allocations: 5.062 kB / 426.3 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.01216, allocations: 6 kB / 426.3 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.01247, allocations: 270.5 kB / 426.6 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01247, allocations: 1.203 kB / 426.6 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.01271, allocations: 62.97 kB / 426.6 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.01271, allocations: 5.266 kB / 426.6 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.01273, allocations: 8.797 kB / 426.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01274, allocations: 1.281 kB / 426.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01274, allocations: 4 kB / 426.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.01319, allocations: 499 kB / 427.2 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.01322, allocations: 25.14 kB / 427.2 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.01324, allocations: 8.297 kB / 427.2 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.01336, allocations: 25.02 kB / 427.2 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.01342, allocations: 23.73 kB / 427.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.01344, allocations: 14.69 kB / 427.2 MB, free: 5.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.01359, allocations: 186.4 kB / 427.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01359, allocations: 7.938 kB / 427.4 MB, free: 5.781 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.01381, allocations: 64.2 kB / 427.5 MB, free: 5.762 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 9.195e-05/0.01391, allocations: 110.6 kB / 427.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.01424, allocations: 253.9 kB / 427.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01424, allocations: 4.562 kB / 427.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.01437, allocations: 121.5 kB / 428 MB, free: 5.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.01461, allocations: 36.27 kB / 428 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.01541, allocations: 0.6686 MB / 428.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.01554, allocations: 177.3 kB / 428.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.01562, allocations: 29.64 kB / 428.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01562, allocations: 0 / 428.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of Templates: time 0.004354/0.01997, allocations: 3.591 MB / 432.5 MB, free: 4.344 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 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.41558753605932] Failed to read output from testmodel.py, exit status != 0: 0.02592521160840988 0.038375695 0.031670499000000005 Calling exit ...