Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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.002144/0.002144, allocations: 103 kB / 16.45 MB, free: 6.449 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.002275/0.002275, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.547/1.547, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.1012/0.1012, allocations: 24.1 MB / 332.9 MB, free: 12.65 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.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") [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.002509/0.002509, allocations: 75.83 kB / 468.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.4699, allocations: 59.57 MB / 0.5155 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.003383/0.4733, allocations: 1.999 MB / 0.5175 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.4746, allocations: 0.7523 MB / 0.5182 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.4748, allocations: 7.438 kB / 0.5182 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.4752, allocations: 80.95 kB / 0.5183 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.4754, allocations: 114.5 kB / 0.5184 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.4759, allocations: 183.1 kB / 0.5186 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006153/0.4765, allocations: 494.9 kB / 0.5191 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.4767, allocations: 52.28 kB / 0.5191 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.4769, allocations: 205.6 kB / 0.5193 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.4773, allocations: 226.2 kB / 0.5195 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.884e-05/0.4773, allocations: 22.94 kB / 0.5195 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.87e-05/0.4774, allocations: 27.41 kB / 0.5196 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.4775, allocations: 104.2 kB / 0.5197 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.4777, allocations: 122.8 kB / 0.5198 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.478, allocations: 285.6 kB / 0.5201 GB, free: 7.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.478, allocations: 1.219 kB / 0.5201 GB, free: 7.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.478, allocations: 3.938 kB / 0.5201 GB, free: 7.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.478, allocations: 0 / 0.5201 GB, free: 7.312 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001944/0.48, allocations: 0.7762 MB / 0.5208 GB, free: 6.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.48, allocations: 9.719 kB / 0.5208 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.4801, allocations: 40.23 kB / 0.5209 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009296/0.481, allocations: 452.8 kB / 0.5213 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.481, allocations: 10.81 kB / 0.5213 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.4811, allocations: 22.45 kB / 0.5213 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.4814, allocations: 183.6 kB / 0.5215 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4814, allocations: 0 / 0.5215 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.4814, allocations: 5.25 kB / 0.5215 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.4814, allocations: 4 kB / 0.5215 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.4818, allocations: 191.8 kB / 0.5217 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009556/0.4827, allocations: 0.6423 MB / 0.5223 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008084/0.4835, allocations: 333.6 kB / 0.5226 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.4837, allocations: 97.73 kB / 0.5227 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.4837, allocations: 2.781 kB / 0.5227 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.4837, allocations: 32.97 kB / 0.5228 GB, free: 5.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.4837, allocations: 0 / 0.5228 GB, free: 5.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001184/0.4849, allocations: 0.5054 MB / 0.5233 GB, free: 5.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.4849, allocations: 54.52 kB / 0.5233 GB, free: 5.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.486, allocations: 454 kB / 0.5238 GB, free: 5.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.486, allocations: 34.83 kB / 0.5238 GB, free: 5.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.4861, allocations: 164.4 kB / 0.5239 GB, free: 5.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.434e-05/0.4862, allocations: 79.39 kB / 0.524 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/0.4863, allocations: 41.81 kB / 0.5241 GB, free: 4.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.4863, allocations: 341 kB / 0.5244 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.4865, allocations: 81.92 kB / 0.5245 GB, free: 4.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.4867, allocations: 116.6 kB / 0.5246 GB, free: 4.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.4882, allocations: 0.5159 MB / 0.5251 GB, free: 4.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4882, allocations: 5.438 kB / 0.5251 GB, free: 4.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006109/0.4888, allocations: 347.4 kB / 0.5254 GB, free: 4.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4888, allocations: 7.344 kB / 0.5254 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4889, allocations: 1.344 kB / 0.5254 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.4891, allocations: 52.3 kB / 0.5255 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.4892, allocations: 36 kB / 0.5255 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.4903, allocations: 1.605 MB / 0.5271 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.4907, allocations: 76.25 kB / 0.5271 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.4907, allocations: 9.281 kB / 0.5272 GB, free: 2.746 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 22 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.4909, allocations: 164.3 kB / 0.5273 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.491, allocations: 30.28 kB / 0.5273 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.341e-05/0.491, allocations: 39.48 kB / 0.5274 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.491, allocations: 2.125 kB / 0.5274 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.491, allocations: 1.953 kB / 0.5274 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4911, allocations: 5.859 kB / 0.5274 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.4914, allocations: 351.5 kB / 0.5277 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4914, allocations: 5.875 kB / 0.5277 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.4916, allocations: 28.16 kB / 0.5278 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001521/0.4918, allocations: 52.2 kB / 0.5278 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.4918, allocations: 7.516 kB / 0.5278 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.4928, allocations: 1.623 MB / 0.5294 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4928, allocations: 0 / 0.5294 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/0.4935, allocations: 0.5195 MB / 0.5299 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.4936, allocations: 109.1 kB / 0.53 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.4936, allocations: 7.891 kB / 0.53 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.4941, allocations: 62.7 kB / 0.5301 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.4942, allocations: 28.31 kB / 0.5301 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.4942, allocations: 4.406 kB / 0.5301 GB, free: 336 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009178/0.4951, allocations: 361.5 kB / 0.5305 GB, free: 204 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4951, allocations: 0 / 0.5305 GB, free: 204 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000325/0.4954, allocations: 56.7 kB / 0.5305 GB, free: 192 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.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 (17): * Single equations (assignments): 16 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001082/0.4955, allocations: 102.2 kB / 0.5306 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.4963, allocations: 345.6 kB / 0.5309 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4963, allocations: 4.062 kB / 0.5309 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.4967, allocations: 243.7 kB / 0.5312 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.4971, allocations: 53.89 kB / 0.5312 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.4983, allocations: 0.6369 MB / 0.5318 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.4988, allocations: 0.7906 MB / 0.5326 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.499, allocations: 58.95 kB / 0.5327 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.4991, allocations: 26.36 kB / 0.5327 GB, free: 14.66 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4991, allocations: 3.938 kB / 0.5327 GB, free: 14.66 MB / 398.1 MB Notification: Performance of Templates: time 0.008047/0.5071, allocations: 3.255 MB / 0.5359 GB, free: 14.25 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.449372178176418] Failed to read output from testmodel.py, exit status != 0: 0.516456127166748 0.529039649 0.04773819 Calling exit ...