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.001014/0.001014, allocations: 77.97 kB / 21.46 MB, free: 3.043 MB / 18.57 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.0009897/0.0009897, allocations: 165 kB / 24.86 MB, free: 8.66 MB / 18.57 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.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.07007/0.07007, allocations: 18.13 MB / 280 MB, free: 11.16 MB / 266.7 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=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 359.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.544e-05, allocations: 9.344 kB / 359.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.002578/0.002604, allocations: 1.815 MB / 361.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.00363, allocations: 0.6349 MB / 361.8 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.003716, allocations: 0 / 361.8 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.00404, allocations: 63.56 kB / 361.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.004188, allocations: 67.61 kB / 362 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.004653, allocations: 183.5 kB / 362.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.004878, allocations: 219.4 kB / 362.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.004989, allocations: 46.14 kB / 362.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.005092, allocations: 95.72 kB / 362.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.005255, allocations: 139.7 kB / 362.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.00529, allocations: 24 kB / 362.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.433e-05/0.005314, allocations: 20 kB / 362.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.005403, allocations: 99.7 kB / 362.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.005457, allocations: 59.77 kB / 362.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.005641, allocations: 183.3 kB / 363 MB, free: 3.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.005644, allocations: 0 / 363 MB, free: 3.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.005646, allocations: 0 / 363 MB, free: 3.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.00565, allocations: 0 / 363 MB, free: 3.027 MB / 282.7 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.0006824/0.006333, allocations: 0.6085 MB / 363.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.006364, allocations: 8.922 kB / 363.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.00642, allocations: 40.8 kB / 363.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.006834, allocations: 240.2 kB / 363.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.006855, allocations: 12.38 kB / 363.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.006881, allocations: 16.31 kB / 363.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.007024, allocations: 102.1 kB / 364 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.007035, allocations: 192 / 364 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.007048, allocations: 8.375 kB / 364 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.007056, allocations: 7.938 kB / 364 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/0.007149, allocations: 51.92 kB / 364.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.007724, allocations: 475.8 kB / 364.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.007882, allocations: 111 kB / 364.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.007938, allocations: 43.66 kB / 364.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.007962, allocations: 11.92 kB / 364.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.007985, allocations: 37.39 kB / 364.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 8.82e-07/0.007985, allocations: 0 / 364.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006536/0.008639, allocations: 288.2 kB / 365 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.008663, allocations: 55.41 kB / 365.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.008823, allocations: 292.2 kB / 365.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.008842, allocations: 29.7 kB / 365.4 MB, free: 468 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.008916, allocations: 195.2 kB / 365.6 MB, free: 268 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/0.008971, allocations: 79.33 kB / 365.7 MB, free: 188 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.009024, allocations: 55.33 kB / 365.7 MB, free: 124 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.009152, allocations: 0.5118 MB / 366.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.58e-05/0.009188, allocations: 24.16 kB / 366.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.009225, allocations: 20.45 kB / 366.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.009377, allocations: 109.9 kB / 366.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.009379, allocations: 7.938 kB / 366.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003026/0.009681, allocations: 216.3 kB / 366.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.009691, allocations: 4 kB / 366.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.009695, allocations: 0 / 366.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.009884, allocations: 67.61 kB / 366.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-05/0.009962, allocations: 24 kB / 366.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.0113, allocations: 2.232 MB / 368.9 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.22e-05/0.01139, allocations: 19.88 kB / 369 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.0114, allocations: 8 kB / 369 MB, free: 12.75 MB / 298.7 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.0001365/0.01154, allocations: 181.8 kB / 369.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.01158, allocations: 35.81 kB / 369.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.01162, allocations: 42.2 kB / 369.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.01163, allocations: 0 / 369.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.01163, allocations: 0 / 369.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01163, allocations: 7.938 kB / 369.2 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.0118, allocations: 185 kB / 369.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01181, allocations: 0 / 369.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.0119, allocations: 27.98 kB / 369.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.01202, allocations: 43.64 kB / 369.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.01203, allocations: 12.05 kB / 369.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009563/0.01299, allocations: 2.091 MB / 371.6 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01299, allocations: 0 / 371.6 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.01333, allocations: 382 kB / 371.9 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.01337, allocations: 27.75 kB / 372 MB, free: 9.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.01341, allocations: 8 kB / 372 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.01352, allocations: 11.98 kB / 372 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.01357, allocations: 23.91 kB / 372 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.01358, allocations: 4 kB / 372 MB, free: 9.504 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.0137, allocations: 201.1 kB / 372.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0137, allocations: 0 / 372.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.01395, allocations: 56 kB / 372.3 MB, free: 9.25 MB / 298.7 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 9.091e-05/0.01404, allocations: 99.25 kB / 372.4 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.01438, allocations: 309.6 kB / 372.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.01438, allocations: 0 / 372.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.01455, allocations: 253.4 kB / 372.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.01478, allocations: 36.42 kB / 373 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.01532, allocations: 0.4908 MB / 373.4 MB, free: 7.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.973e-05/0.01538, allocations: 100.3 kB / 373.5 MB, free: 7.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.145e-05/0.01543, allocations: 33.88 kB / 373.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.705e-05/0.01552, allocations: 90.2 kB / 373.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01552, allocations: 0 / 373.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of Templates: time 0.00481/0.02033, allocations: 3.587 MB / 377.3 MB, free: 4.195 MB / 298.7 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_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9983283281326294]