Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Smith_predictor.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.001458/0.001458, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001692/0.001692, allocations: 217.7 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.1073/0.1073, allocations: 24.13 MB / 337.3 MB, free: 11.47 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.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") [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.002114/0.002114, allocations: 75.83 kB / 474.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3252, allocations: 59.6 MB / 0.5216 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.002973/0.3282, allocations: 1.85 MB / 0.5234 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3293, allocations: 0.653 MB / 0.5241 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.3294, allocations: 2.719 kB / 0.5241 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.3298, allocations: 59.41 kB / 0.5241 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.33, allocations: 65.92 kB / 0.5242 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.3304, allocations: 147.1 kB / 0.5243 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005365/0.3309, allocations: 381.7 kB / 0.5247 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.331, allocations: 42.38 kB / 0.5247 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.3312, allocations: 142.3 kB / 0.5249 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.3315, allocations: 176.1 kB / 0.5251 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.3315, allocations: 23.62 kB / 0.5251 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.886e-05/0.3316, allocations: 24.38 kB / 0.5251 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3317, allocations: 96.05 kB / 0.5252 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.3318, allocations: 101.8 kB / 0.5253 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.3321, allocations: 248.5 kB / 0.5255 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3321, allocations: 0.5156 kB / 0.5255 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3322, allocations: 1.062 kB / 0.5255 GB, free: 8.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.3322, allocations: 0 / 0.5255 GB, free: 8.113 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001734/0.3339, allocations: 0.6032 MB / 0.5261 GB, free: 7.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.3339, allocations: 19.7 kB / 0.5261 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.334, allocations: 32.89 kB / 0.5262 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008731/0.3349, allocations: 297.8 kB / 0.5264 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.3349, allocations: 19.14 kB / 0.5265 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.335, allocations: 17.58 kB / 0.5265 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.3353, allocations: 178.3 kB / 0.5267 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3353, allocations: 8.094 kB / 0.5267 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.3354, allocations: 5.156 kB / 0.5267 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3354, allocations: 2.625 kB / 0.5267 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.3357, allocations: 169.7 kB / 0.5268 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3368, allocations: 0.6228 MB / 0.5274 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.3372, allocations: 208.7 kB / 0.5276 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.3374, allocations: 116 kB / 0.5277 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.3374, allocations: 2.75 kB / 0.5277 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3375, allocations: 40.61 kB / 0.5278 GB, free: 6.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.562e-06/0.3375, allocations: 0 / 0.5278 GB, free: 6.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001532/0.339, allocations: 0.4922 MB / 0.5283 GB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.339, allocations: 58.14 kB / 0.5283 GB, free: 6.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.3398, allocations: 347.9 kB / 0.5287 GB, free: 6.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3398, allocations: 30.61 kB / 0.5287 GB, free: 6.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.3399, allocations: 146.9 kB / 0.5288 GB, free: 6.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.34, allocations: 83.58 kB / 0.5289 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.34, allocations: 41.08 kB / 0.5289 GB, free: 6.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.3401, allocations: 338.2 kB / 0.5293 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.3403, allocations: 89.92 kB / 0.5294 GB, free: 5.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.3405, allocations: 96.83 kB / 0.5294 GB, free: 5.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.3426, allocations: 0.633 MB / 0.5301 GB, free: 5.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3426, allocations: 1.031 kB / 0.5301 GB, free: 5.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008828/0.3435, allocations: 412.1 kB / 0.5305 GB, free: 5.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3435, allocations: 5.75 kB / 0.5305 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3435, allocations: 4 kB / 0.5305 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.3439, allocations: 111.3 kB / 0.5306 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3441, allocations: 34.36 kB / 0.5306 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.346, allocations: 1.978 MB / 0.5325 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.3464, allocations: 59.95 kB / 0.5326 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.3464, allocations: 9.094 kB / 0.5326 GB, free: 3.797 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: K.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Mr.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Mr.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pr.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pr.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 (20): * Single equations (assignments): 19 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002374/0.3466, allocations: 162.9 kB / 0.5328 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.3467, allocations: 26.67 kB / 0.5328 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.146e-05/0.3468, allocations: 39.44 kB / 0.5328 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3468, allocations: 2.562 kB / 0.5328 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.3468, allocations: 5.219 kB / 0.5328 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3468, allocations: 6.094 kB / 0.5328 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.3472, allocations: 308.7 kB / 0.5331 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.3472, allocations: 4.438 kB / 0.5331 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.3474, allocations: 29.08 kB / 0.5332 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.3476, allocations: 73.36 kB / 0.5332 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.3476, allocations: 4.344 kB / 0.5332 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.3489, allocations: 1.749 MB / 0.5349 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3489, allocations: 1.797 kB / 0.5349 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/0.3498, allocations: 0.5419 MB / 0.5355 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.3498, allocations: 33.45 kB / 0.5355 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.3499, allocations: 7.875 kB / 0.5355 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.3502, allocations: 40.92 kB / 0.5356 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.3503, allocations: 21.72 kB / 0.5356 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3503, allocations: 9.734 kB / 0.5356 GB, free: 1.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006493/0.351, allocations: 279.2 kB / 0.5358 GB, free: 1.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.351, allocations: 0 / 0.5358 GB, free: 1.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.3514, allocations: 58.53 kB / 0.5359 GB, free: 1.355 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Pr.x_scaled[1],Pr.x_scaled[2],Mr.x_scaled[1],Mr.x_scaled[2],K.x_scaled[1],K.x_scaled[2]) * 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.0001162/0.3515, allocations: 111.7 kB / 0.536 GB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007817/0.3523, allocations: 381.8 kB / 0.5364 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3523, allocations: 0 / 0.5364 GB, free: 1.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.3527, allocations: 255.9 kB / 0.5366 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3531, allocations: 56.92 kB / 0.5367 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3542, allocations: 0.6133 MB / 0.5373 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3546, allocations: 0.7735 MB / 0.538 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.3547, allocations: 19.42 kB / 0.538 GB, free: 15.8 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3547, allocations: 1.156 kB / 0.538 GB, free: 15.8 MB / 398.1 MB Notification: Performance of Templates: time 0.007907/0.3626, allocations: 3.885 MB / 0.5418 GB, free: 14.68 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Smith_predictor.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Smith_predictor.sim & ./AES_AES.Coursework.Typical_control_structures.Smith_predictor -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.260835316032171] Failed to read output from testmodel.py, exit status != 0: 0.3721202299930155 0.38758423999999997 0.051983001 Calling exit ...