Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 104 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.1034/0.1034, allocations: 22.7 MB / 325.4 MB, free: 3.543 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.89 kB / 457.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1289, allocations: 58.02 MB / 0.5036 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.002629/0.1315, allocations: 1.145 MB / 0.5047 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.1333, allocations: 1.318 MB / 0.506 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.1334, allocations: 0 / 0.506 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.1338, allocations: 75.55 kB / 0.5061 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.134, allocations: 79.59 kB / 0.5061 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.1343, allocations: 131.8 kB / 0.5063 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.1347, allocations: 395.3 kB / 0.5066 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1349, allocations: 32.39 kB / 0.5067 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.1351, allocations: 171.4 kB / 0.5068 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.1354, allocations: 211.3 kB / 0.507 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.1355, allocations: 24 kB / 0.5071 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.1355, allocations: 20 kB / 0.5071 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1357, allocations: 107.7 kB / 0.5072 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1358, allocations: 111.3 kB / 0.5073 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1361, allocations: 278.7 kB / 0.5075 GB, free: 3.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1361, allocations: 0 / 0.5075 GB, free: 3.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1361, allocations: 4 kB / 0.5076 GB, free: 3.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1361, allocations: 3.984 kB / 0.5076 GB, free: 3.047 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.002076/0.1382, allocations: 0.7596 MB / 0.5083 GB, free: 2.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1382, allocations: 8.031 kB / 0.5083 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.1383, allocations: 32.75 kB / 0.5083 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.1394, allocations: 419.5 kB / 0.5087 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1394, allocations: 12.66 kB / 0.5088 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.1395, allocations: 16.38 kB / 0.5088 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.1399, allocations: 192.1 kB / 0.5089 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1399, allocations: 0 / 0.5089 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.1399, allocations: 7.984 kB / 0.509 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.1399, allocations: 4 kB / 0.509 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.1403, allocations: 204.6 kB / 0.5092 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.1417, allocations: 0.6956 MB / 0.5098 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.1422, allocations: 262.4 kB / 0.5101 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1425, allocations: 128.7 kB / 0.5102 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1425, allocations: 0 / 0.5102 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1425, allocations: 34.56 kB / 0.5102 GB, free: 140 kB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.042e-06/0.1425, allocations: 0 / 0.5102 GB, free: 140 kB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.2396/0.3821, allocations: 0.686 MB / 0.5109 GB, free: 16.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.3822, allocations: 54.56 kB / 0.511 GB, free: 16.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/0.3832, allocations: 414.9 kB / 0.5114 GB, free: 15.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3832, allocations: 28.89 kB / 0.5114 GB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.3833, allocations: 154.8 kB / 0.5115 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.379e-05/0.3834, allocations: 97.84 kB / 0.5116 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.3834, allocations: 43.98 kB / 0.5117 GB, free: 15.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.3835, allocations: 341.2 kB / 0.512 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.3837, allocations: 102.1 kB / 0.5121 GB, free: 15.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.3839, allocations: 105.1 kB / 0.5122 GB, free: 15.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.386, allocations: 0.7075 MB / 0.5129 GB, free: 15.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.386, allocations: 0.6875 kB / 0.5129 GB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007668/0.3868, allocations: 450.1 kB / 0.5133 GB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3868, allocations: 3.938 kB / 0.5133 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3868, allocations: 2.109 kB / 0.5133 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.3872, allocations: 97.61 kB / 0.5134 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3873, allocations: 40.91 kB / 0.5135 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.3889, allocations: 1.849 MB / 0.5153 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.3893, allocations: 65.81 kB / 0.5153 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.3893, allocations: 5.25 kB / 0.5153 GB, free: 13.98 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 variables: Cff.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.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: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.3895, allocations: 173.7 kB / 0.5155 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.3896, allocations: 31.06 kB / 0.5155 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.538e-05/0.3897, allocations: 46.52 kB / 0.5156 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3897, allocations: 8 kB / 0.5156 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.3897, allocations: 2.344 kB / 0.5156 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3897, allocations: 2.422 kB / 0.5156 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.3901, allocations: 361.5 kB / 0.5159 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3901, allocations: 0.875 kB / 0.5159 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.3903, allocations: 32 kB / 0.516 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/0.3906, allocations: 93.33 kB / 0.516 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.3906, allocations: 13.2 kB / 0.5161 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.3923, allocations: 1.847 MB / 0.5179 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3923, allocations: 4.656 kB / 0.5179 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3933, allocations: 0.6234 MB / 0.5185 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.789e-05/0.3934, allocations: 112.1 kB / 0.5186 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.3934, allocations: 13.31 kB / 0.5186 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.3939, allocations: 58.73 kB / 0.5186 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.394, allocations: 19.23 kB / 0.5187 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.394, allocations: 8.672 kB / 0.5187 GB, free: 11.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008345/0.3948, allocations: 323.5 kB / 0.519 GB, free: 11.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3948, allocations: 1.281 kB / 0.519 GB, free: 11.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.3952, allocations: 67.23 kB / 0.519 GB, free: 11.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2],Cff.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.918e-05/0.3953, allocations: 101.3 kB / 0.5191 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006885/0.3959, allocations: 402.2 kB / 0.5195 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3959, allocations: 4 kB / 0.5195 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.3963, allocations: 270.7 kB / 0.5198 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3967, allocations: 47.42 kB / 0.5198 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3979, allocations: 0.6939 MB / 0.5205 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.3981, allocations: 0.7863 MB / 0.5213 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.3982, allocations: 63.61 kB / 0.5213 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.3983, allocations: 20.19 kB / 0.5214 GB, free: 10.18 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3983, allocations: 0 / 0.5214 GB, free: 10.18 MB / 382.1 MB Notification: Performance of Templates: time 0.007987/0.4063, allocations: 3.593 MB / 0.5249 GB, free: 9.973 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.083311563357711] Failed to read output from testmodel.py, exit status != 0: 0.4139800360426307 0.424362341 0.28585886399999993 Calling exit ...