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.000905/0.000905, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.0009277/0.0009277, allocations: 173 kB / 24.17 MB, free: 336 kB / 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 0.985/0.985, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.06751/0.06751, allocations: 18.13 MB / 279.2 MB, free: 11.19 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.142e-06/1.142e-06, allocations: 0 / 305.3 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.328e-05, allocations: 4.641 kB / 305.3 MB, free: 96 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.002137/0.00215, allocations: 1.837 MB / 307.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009065/0.003057, allocations: 0.6308 MB / 307.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.003141, allocations: 7.938 kB / 307.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.003413, allocations: 56.47 kB / 307.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.003563, allocations: 73.91 kB / 307.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.003924, allocations: 188.5 kB / 308.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.004146, allocations: 221.3 kB / 308.3 MB, free: 14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.004244, allocations: 40.55 kB / 308.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.004355, allocations: 90.12 kB / 308.5 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.004533, allocations: 148.2 kB / 308.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.00457, allocations: 20 kB / 308.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.426e-05/0.004594, allocations: 20 kB / 308.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.004687, allocations: 97.92 kB / 308.7 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.004749, allocations: 67.75 kB / 308.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.004922, allocations: 180.8 kB / 309 MB, free: 13.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004923, allocations: 0 / 309 MB, free: 13.49 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004924, allocations: 0 / 309 MB, free: 13.49 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.004927, allocations: 4 kB / 309 MB, free: 13.49 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.0005769/0.005504, allocations: 493.8 kB / 309.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.005532, allocations: 12.92 kB / 309.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.005576, allocations: 24.92 kB / 309.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.005838, allocations: 225.5 kB / 309.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.005854, allocations: 8.375 kB / 309.7 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.005882, allocations: 20.33 kB / 309.8 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.006021, allocations: 101 kB / 309.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.00603, allocations: 4.188 kB / 309.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.006048, allocations: 4.375 kB / 309.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006054, allocations: 7.938 kB / 309.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.819e-05/0.006142, allocations: 51.94 kB / 309.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.006611, allocations: 361.5 kB / 310.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.006754, allocations: 148.8 kB / 310.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.006801, allocations: 36.86 kB / 310.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.006822, allocations: 11.92 kB / 310.5 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.00684, allocations: 34.56 kB / 310.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.082e-06/0.006841, allocations: 0 / 310.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.000532/0.007373, allocations: 250.5 kB / 310.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.007399, allocations: 51.41 kB / 310.8 MB, free: 11.56 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.007533, allocations: 225 kB / 311 MB, free: 11.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.007551, allocations: 29.7 kB / 311.1 MB, free: 11.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.007596, allocations: 120.9 kB / 311.2 MB, free: 11.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.00765, allocations: 91.23 kB / 311.3 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.0077, allocations: 41.69 kB / 311.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.007779, allocations: 334.8 kB / 311.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.685e-05/0.007816, allocations: 23.06 kB / 311.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.007849, allocations: 20.45 kB / 311.7 MB, free: 10.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.007993, allocations: 114.8 kB / 311.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.007995, allocations: 4 kB / 311.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002481/0.008243, allocations: 184.4 kB / 312 MB, free: 10.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.008254, allocations: 4 kB / 312 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.008259, allocations: 3.984 kB / 312 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.008439, allocations: 59.61 kB / 312 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.008522, allocations: 35.92 kB / 312.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000963/0.009485, allocations: 1.543 MB / 313.6 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.009568, allocations: 27.83 kB / 313.6 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.009577, allocations: 4 kB / 313.6 MB, free: 8.582 MB / 282.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.0001156/0.009693, allocations: 140.4 kB / 313.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.009725, allocations: 19.97 kB / 313.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.009762, allocations: 42.22 kB / 313.8 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.009765, allocations: 7.984 kB / 313.8 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.009769, allocations: 4 kB / 313.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.009772, allocations: 0 / 313.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.009938, allocations: 145.7 kB / 314 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.00994, allocations: 0 / 314 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.965e-05/0.01004, allocations: 27.98 kB / 314 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.01015, allocations: 43.62 kB / 314.1 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.01016, allocations: 4 kB / 314.1 MB, free: 8.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000694/0.01085, allocations: 1.448 MB / 315.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01085, allocations: 4 kB / 315.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.0112, allocations: 348.3 kB / 315.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.01122, allocations: 31.83 kB / 315.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.01125, allocations: 7.984 kB / 315.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-05/0.01134, allocations: 8 kB / 315.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.01138, allocations: 19.91 kB / 315.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.01139, allocations: 7.984 kB / 315.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.472e-05/0.01145, allocations: 82.77 kB / 316 MB, free: 6.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01145, allocations: 0 / 316 MB, free: 6.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.01167, allocations: 52 kB / 316.1 MB, free: 6.008 MB / 282.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 7.631e-05/0.01174, allocations: 88.42 kB / 316.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.01202, allocations: 238.3 kB / 316.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01203, allocations: 0 / 316.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.01217, allocations: 191.3 kB / 316.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.01235, allocations: 37.16 kB / 316.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000531/0.01288, allocations: 0.4934 MB / 317.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.917e-05/0.01294, allocations: 100.3 kB / 317.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.949e-05/0.01299, allocations: 22.08 kB / 317.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.753e-05/0.01307, allocations: 83.36 kB / 317.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01308, allocations: 0 / 317.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of Templates: time 0.004673/0.01775, allocations: 3.481 MB / 320.8 MB, free: 1.266 MB / 282.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.924308489076793]