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.001818/0.001818, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002361/0.002361, allocations: 211.7 kB / 23.01 MB, free: 4.992 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.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1142/0.1142, allocations: 24.03 MB / 337.2 MB, free: 11.35 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.002177/0.002177, allocations: 69.14 kB / 474.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 59.57 MB / 0.5214 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.003143/0.3658, allocations: 1.901 MB / 0.5232 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.3675, allocations: 0.7017 MB / 0.5239 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.3676, allocations: 11.91 kB / 0.5239 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.3681, allocations: 88.73 kB / 0.524 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.3684, allocations: 111.3 kB / 0.5241 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006893/0.3691, allocations: 214.2 kB / 0.5243 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008854/0.37, allocations: 0.579 MB / 0.5249 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.3702, allocations: 52.7 kB / 0.525 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.3705, allocations: 217.6 kB / 0.5252 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.371, allocations: 225.2 kB / 0.5254 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.371, allocations: 25.97 kB / 0.5254 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.327e-05/0.3711, allocations: 24.47 kB / 0.5254 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.3713, allocations: 100.8 kB / 0.5255 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.3714, allocations: 96.92 kB / 0.5256 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.3719, allocations: 291.9 kB / 0.5259 GB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3719, allocations: 0 / 0.5259 GB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3719, allocations: 1.219 kB / 0.5259 GB, free: 7.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3719, allocations: 4 kB / 0.5259 GB, free: 7.859 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.002021/0.374, allocations: 0.7 MB / 0.5266 GB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.374, allocations: 9.891 kB / 0.5266 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.3741, allocations: 36.39 kB / 0.5266 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.3752, allocations: 389.7 kB / 0.527 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.3752, allocations: 10.16 kB / 0.527 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.3753, allocations: 21.47 kB / 0.527 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.3757, allocations: 188.4 kB / 0.5272 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3757, allocations: 0 / 0.5272 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.3757, allocations: 5.469 kB / 0.5272 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3757, allocations: 6.875 kB / 0.5272 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.3761, allocations: 190.1 kB / 0.5274 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.3773, allocations: 0.5329 MB / 0.5279 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008829/0.3781, allocations: 334.7 kB / 0.5282 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.3783, allocations: 93.89 kB / 0.5283 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.3783, allocations: 7.109 kB / 0.5283 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3784, allocations: 36.55 kB / 0.5284 GB, free: 6.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.3784, allocations: 0 / 0.5284 GB, free: 6.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.00114/0.3795, allocations: 433 kB / 0.5288 GB, free: 6.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.3795, allocations: 57.62 kB / 0.5288 GB, free: 6.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.3805, allocations: 454.8 kB / 0.5293 GB, free: 6.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3806, allocations: 26.89 kB / 0.5293 GB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3807, allocations: 164.4 kB / 0.5295 GB, free: 5.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.3807, allocations: 83.11 kB / 0.5295 GB, free: 5.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.3808, allocations: 42.48 kB / 0.5296 GB, free: 5.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.3809, allocations: 340.8 kB / 0.5299 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.381, allocations: 91.05 kB / 0.53 GB, free: 5.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.3812, allocations: 111 kB / 0.5301 GB, free: 5.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.3827, allocations: 0.5133 MB / 0.5306 GB, free: 5.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3827, allocations: 7.938 kB / 0.5306 GB, free: 5.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006127/0.3833, allocations: 339.5 kB / 0.5309 GB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3834, allocations: 9.969 kB / 0.5309 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3834, allocations: 0.6562 kB / 0.5309 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.3836, allocations: 54.48 kB / 0.531 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3838, allocations: 33.16 kB / 0.531 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.3849, allocations: 1.483 MB / 0.5325 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.3853, allocations: 69.52 kB / 0.5325 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3853, allocations: 4.656 kB / 0.5325 GB, free: 3.797 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.0002136/0.3856, allocations: 176 kB / 0.5327 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.3856, allocations: 30.16 kB / 0.5327 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.051e-05/0.3857, allocations: 44.83 kB / 0.5328 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.3857, allocations: 6.453 kB / 0.5328 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3857, allocations: 1.219 kB / 0.5328 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3857, allocations: 5.891 kB / 0.5328 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.386, allocations: 257.4 kB / 0.533 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.386, allocations: 0 / 0.533 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.3862, allocations: 24.08 kB / 0.5331 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.3863, allocations: 53.91 kB / 0.5331 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.3863, allocations: 6.688 kB / 0.5331 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008789/0.3872, allocations: 1.481 MB / 0.5346 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3872, allocations: 0 / 0.5346 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.3879, allocations: 0.5138 MB / 0.5351 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.388, allocations: 39.66 kB / 0.5351 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.388, allocations: 9.031 kB / 0.5351 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.3885, allocations: 58.34 kB / 0.5352 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.3885, allocations: 23.8 kB / 0.5352 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3885, allocations: 5.156 kB / 0.5352 GB, free: 1.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008459/0.3894, allocations: 362.6 kB / 0.5355 GB, free: 1.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3894, allocations: 0 / 0.5355 GB, free: 1.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.3897, allocations: 55.55 kB / 0.5356 GB, free: 1.57 MB / 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.0001041/0.3898, allocations: 106.3 kB / 0.5357 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005977/0.3904, allocations: 349.7 kB / 0.536 GB, free: 1.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3904, allocations: 3.938 kB / 0.536 GB, free: 1.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.3907, allocations: 242.4 kB / 0.5363 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3912, allocations: 58.39 kB / 0.5363 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3922, allocations: 0.6275 MB / 0.5369 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.3924, allocations: 191.4 kB / 0.5371 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.3926, allocations: 61.92 kB / 0.5372 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.3927, allocations: 21.22 kB / 0.5372 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3927, allocations: 1.156 kB / 0.5372 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of Templates: time 0.009033/0.4017, allocations: 3.61 MB / 0.5407 GB, free: 15.74 MB / 398.1 MB " [Timeout remaining time 660] 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.329002946615219] Failed to read output from testmodel.py, exit status != 0: 0.41088845767080784 0.424910761 0.049583782 Calling exit ...