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.002043/0.002043, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002401/0.002401, allocations: 156.4 kB / 23.01 MB, free: 4.605 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.487/1.487, allocations: 177.2 MB / 203.4 MB, free: 9.016 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.103/0.103, allocations: 17.79 MB / 277.6 MB, free: 15.38 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.91 kB / 414.7 MB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.09734, allocations: 59.55 MB / 474.2 MB, free: 8.867 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.002927/0.1003, allocations: 1.957 MB / 476.2 MB, free: 6.895 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1013, allocations: 0.6312 MB / 476.8 MB, free: 6.258 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.1014, allocations: 7.938 kB / 476.8 MB, free: 6.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1017, allocations: 59.44 kB / 476.9 MB, free: 6.191 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1019, allocations: 35.67 kB / 476.9 MB, free: 6.156 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.1021, allocations: 127.8 kB / 477 MB, free: 6.031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.1025, allocations: 355.9 kB / 477.4 MB, free: 5.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1027, allocations: 58.56 kB / 477.4 MB, free: 5.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1028, allocations: 135.5 kB / 477.6 MB, free: 5.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.103, allocations: 143.3 kB / 477.7 MB, free: 5.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/0.1031, allocations: 24 kB / 477.7 MB, free: 5.324 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-05/0.1031, allocations: 28 kB / 477.7 MB, free: 5.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1032, allocations: 83.73 kB / 477.8 MB, free: 5.215 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1033, allocations: 107.4 kB / 477.9 MB, free: 5.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.1036, allocations: 278.7 kB / 478.2 MB, free: 4.836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1036, allocations: 4 kB / 478.2 MB, free: 4.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1036, allocations: 0 / 478.2 MB, free: 4.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1036, allocations: 4 kB / 478.2 MB, free: 4.828 MB / 446.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.001156/0.1048, allocations: 0.5483 MB / 478.8 MB, free: 4.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.1048, allocations: 8.922 kB / 478.8 MB, free: 4.242 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.1049, allocations: 40.7 kB / 478.8 MB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.1054, allocations: 245.5 kB / 479 MB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.1054, allocations: 25.03 kB / 479.1 MB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.1055, allocations: 32.33 kB / 479.1 MB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.1059, allocations: 307.6 kB / 479.4 MB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.106, allocations: 0 / 479.4 MB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.106, allocations: 8 kB / 479.4 MB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.106, allocations: 8 kB / 479.4 MB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.1064, allocations: 213.8 kB / 479.6 MB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.1082, allocations: 1.051 MB / 480.7 MB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.1086, allocations: 208.9 kB / 480.9 MB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.1088, allocations: 93.3 kB / 481 MB, free: 1.926 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1088, allocations: 4.234 kB / 481 MB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1088, allocations: 38.8 kB / 481 MB, free: 1.875 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 1.363e-06/0.1088, allocations: 3.938 kB / 481 MB, free: 1.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006193/0.1094, allocations: 328.6 kB / 481.3 MB, free: 1.547 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.1095, allocations: 51.41 kB / 481.4 MB, free: 1.484 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.1099, allocations: 277.6 kB / 481.7 MB, free: 1.207 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1099, allocations: 33.7 kB / 481.7 MB, free: 1.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.11, allocations: 172.6 kB / 481.9 MB, free: 0.9922 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/0.1101, allocations: 111.1 kB / 482 MB, free: 0.8828 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.1102, allocations: 78.06 kB / 482 MB, free: 0.7969 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1103, allocations: 338.8 kB / 482.4 MB, free: 468 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.1105, allocations: 96.83 kB / 482.5 MB, free: 372 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.1108, allocations: 181.1 kB / 482.6 MB, free: 160 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.194/0.3048, allocations: 0.6023 MB / 483.3 MB, free: 51.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3048, allocations: 2.5 kB / 483.3 MB, free: 51.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005507/0.3053, allocations: 372 kB / 483.6 MB, free: 51.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3054, allocations: 8.844 kB / 483.6 MB, free: 51.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3054, allocations: 6.125 kB / 483.6 MB, free: 51.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3054, allocations: 6.594 kB / 483.6 MB, free: 51.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.3059, allocations: 97.55 kB / 483.7 MB, free: 51.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.306, allocations: 10.28 kB / 483.7 MB, free: 51.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.3062, allocations: 56.56 kB / 483.8 MB, free: 51.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.3063, allocations: 15.91 kB / 483.8 MB, free: 51.86 MB / 446.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.0001921/0.3065, allocations: 158.4 kB / 484 MB, free: 51.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.3065, allocations: 23.75 kB / 484 MB, free: 51.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.307, allocations: 303.8 kB / 484.3 MB, free: 51.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.307, allocations: 3.219 kB / 484.3 MB, free: 51.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.307, allocations: 0 / 484.3 MB, free: 51.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.307, allocations: 0 / 484.3 MB, free: 51.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.3074, allocations: 280.5 kB / 484.6 MB, free: 51.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3074, allocations: 0 / 484.6 MB, free: 51.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.3077, allocations: 69.62 kB / 484.6 MB, free: 51.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3077, allocations: 3.281 kB / 484.6 MB, free: 51.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.3077, allocations: 6.531 kB / 484.6 MB, free: 51.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3077, allocations: 5.656 kB / 484.6 MB, free: 51.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3077, allocations: 1.906 kB / 484.7 MB, free: 51.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.3082, allocations: 490 kB / 485.1 MB, free: 51.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.3083, allocations: 28.12 kB / 485.2 MB, free: 51.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.3083, allocations: 6.281 kB / 485.2 MB, free: 51.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.3085, allocations: 30.2 kB / 485.2 MB, free: 51.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3086, allocations: 28.06 kB / 485.2 MB, free: 51.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.3086, allocations: 6.25 kB / 485.2 MB, free: 51.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.3089, allocations: 189.3 kB / 485.4 MB, free: 51.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3089, allocations: 0 / 485.4 MB, free: 51.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.3092, allocations: 65.92 kB / 485.5 MB, free: 51.37 MB / 446.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 6.487e-05/0.3092, allocations: 111.6 kB / 485.6 MB, free: 51.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.3096, allocations: 262.5 kB / 485.8 MB, free: 51.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.3096, allocations: 3.781 kB / 485.8 MB, free: 51.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3097, allocations: 124.3 kB / 486 MB, free: 51.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.31, allocations: 28.94 kB / 486 MB, free: 51.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008867/0.3109, allocations: 0.6981 MB / 486.7 MB, free: 50.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.931e-05/0.311, allocations: 173.3 kB / 486.9 MB, free: 50.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3111, allocations: 49.33 kB / 486.9 MB, free: 50.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.3112, allocations: 23.91 kB / 486.9 MB, free: 50.83 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3112, allocations: 5.812 kB / 486.9 MB, free: 50.83 MB / 446.1 MB Notification: Performance of Templates: time 0.005016/0.3162, allocations: 2.628 MB / 489.6 MB, free: 50.62 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.175186629989184] Failed to read output from testmodel.py, exit status != 0: 0.39973119797650725 0.33270050300000004 0.227108372 Calling exit ...