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.001299/0.001299, allocations: 84.98 kB / 19.96 MB, free: 1.758 MB / 14.72 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.001385/0.001385, allocations: 164.2 kB / 23.23 MB, free: 4.883 MB / 14.72 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.511/1.511, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.1037/0.1037, allocations: 18.14 MB / 278.1 MB, free: 15.05 MB / 270.1 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.763e-06/1.763e-06, allocations: 0 / 415.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.369e-05, allocations: 8.891 kB / 415.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003379/0.003413, allocations: 1.946 MB / 417.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.004728, allocations: 0.6273 MB / 418.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.004839, allocations: 7.938 kB / 418.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.005188, allocations: 63.3 kB / 418.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.005366, allocations: 35.73 kB / 418.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.0057, allocations: 147.7 kB / 418.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.006085, allocations: 303.8 kB / 418.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.006264, allocations: 70.53 kB / 418.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.006436, allocations: 107.7 kB / 418.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.006634, allocations: 115.6 kB / 419 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.006689, allocations: 24 kB / 419 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.006736, allocations: 28 kB / 419 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.006849, allocations: 79.72 kB / 419.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.006957, allocations: 87.73 kB / 419.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.007305, allocations: 283 kB / 419.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007308, allocations: 0 / 419.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007309, allocations: 3.938 kB / 419.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.007315, allocations: 0 / 419.5 MB, free: 14.64 MB / 350.1 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.001286/0.008601, allocations: 0.5522 MB / 420 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.008634, allocations: 8.922 kB / 420 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.993e-05/0.008714, allocations: 40.73 kB / 420.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.009221, allocations: 248.7 kB / 420.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.009256, allocations: 21.03 kB / 420.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.009314, allocations: 36.38 kB / 420.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.009905, allocations: 299.8 kB / 420.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.009928, allocations: 4.172 kB / 420.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.009958, allocations: 8.375 kB / 420.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.009969, allocations: 11.94 kB / 420.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.01046, allocations: 217.8 kB / 420.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.01255, allocations: 1.047 MB / 421.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.01307, allocations: 207.7 kB / 422.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.01329, allocations: 89.3 kB / 422.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/0.01333, allocations: 4.234 kB / 422.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.01338, allocations: 42.78 kB / 422.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.374e-06/0.01338, allocations: 3.938 kB / 422.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007722/0.01416, allocations: 327 kB / 422.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.01423, allocations: 59.34 kB / 422.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.01467, allocations: 277.6 kB / 422.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.0147, allocations: 33.7 kB / 423 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.01484, allocations: 172.6 kB / 423.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.116e-05/0.01493, allocations: 103.2 kB / 423.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.01506, allocations: 82.02 kB / 423.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.01522, allocations: 338.8 kB / 423.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.01543, allocations: 92.83 kB / 423.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.0157, allocations: 185.1 kB / 423.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/0.01767, allocations: 0.6108 MB / 424.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01767, allocations: 0 / 424.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006729/0.01835, allocations: 369 kB / 424.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.01836, allocations: 4 kB / 424.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01837, allocations: 7.938 kB / 424.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.01839, allocations: 4 kB / 424.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.01903, allocations: 95.88 kB / 425 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.01904, allocations: 7.938 kB / 425 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.01933, allocations: 52.06 kB / 425.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.01937, allocations: 20 kB / 425.1 MB, free: 8.762 MB / 350.1 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.0002286/0.0196, allocations: 164.5 kB / 425.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.01966, allocations: 27.81 kB / 425.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005843/0.02024, allocations: 305.9 kB / 425.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.02024, allocations: 0 / 425.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.02025, allocations: 11.92 kB / 425.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.02026, allocations: 4 kB / 425.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.0208, allocations: 269.1 kB / 425.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.0208, allocations: 0 / 425.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.0212, allocations: 71.89 kB / 425.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.02121, allocations: 4 kB / 425.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.02124, allocations: 7.938 kB / 425.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.02124, allocations: 4 kB / 425.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.02124, allocations: 0 / 425.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007612/0.022, allocations: 491.3 kB / 426.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.02205, allocations: 27.8 kB / 426.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.0221, allocations: 11.98 kB / 426.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.02237, allocations: 27.97 kB / 426.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.02246, allocations: 27.94 kB / 426.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.87e-05/0.02248, allocations: 7.938 kB / 426.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003436/0.02283, allocations: 189.2 kB / 426.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02283, allocations: 0 / 426.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.02316, allocations: 63.89 kB / 426.8 MB, free: 7.027 MB / 350.1 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.0001465/0.02331, allocations: 115.1 kB / 426.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.02384, allocations: 247.8 kB / 427.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.02384, allocations: 0 / 427.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.02406, allocations: 123.8 kB / 427.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.02443, allocations: 35.14 kB / 427.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.02574, allocations: 0.6403 MB / 427.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.02593, allocations: 172.8 kB / 428.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.02607, allocations: 42.95 kB / 428.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.02618, allocations: 28.5 kB / 428.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02618, allocations: 0 / 428.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of Templates: time 0.007168/0.03334, allocations: 2.638 MB / 430.8 MB, free: 2.969 MB / 350.1 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.612433061003685] Failed to read output from testmodel.py, exit status != 0: 0.042491234838962555 0.056600412 0.046234941 Calling exit ...