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.001152/0.001152, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001711/0.002863, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001052/0.001052, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002422, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1095/1.119, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.07115/0.07115, allocations: 18.12 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01222/0.08337, allocations: 6.793 MB / 269.1 MB, free: 6.242 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.143e-06/1.143e-06, allocations: 0 / 270.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.933e-05, allocations: 2.312 kB / 270.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.002156/0.002175, allocations: 1.873 MB / 272.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.003038, allocations: 0.6466 MB / 273 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.003115, allocations: 0 / 273 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.003315, allocations: 59.56 kB / 273.1 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.003435, allocations: 67.61 kB / 273.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.003747, allocations: 179.6 kB / 273.3 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.003976, allocations: 215.5 kB / 273.5 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.004092, allocations: 42.8 kB / 273.6 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.004287, allocations: 163.5 kB / 273.7 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.004478, allocations: 139.7 kB / 273.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.004516, allocations: 16 kB / 273.9 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.728e-05/0.004543, allocations: 24 kB / 273.9 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.004622, allocations: 75.75 kB / 274 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.004672, allocations: 47.81 kB / 274 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.00485, allocations: 155.4 kB / 274.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.00486, allocations: 0 / 274.2 MB, free: 1.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004861, allocations: 4 kB / 274.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.004868, allocations: 0 / 274.2 MB, free: 1.059 MB / 266.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.0006495/0.005517, allocations: 0.5186 MB / 274.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.005544, allocations: 12.02 kB / 274.7 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.005592, allocations: 24.92 kB / 274.8 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.005868, allocations: 233.5 kB / 275 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.005885, allocations: 8.375 kB / 275 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.005911, allocations: 12.38 kB / 275 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.006055, allocations: 112.9 kB / 275.1 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.006065, allocations: 4.172 kB / 275.1 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.006076, allocations: 8.312 kB / 275.1 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.006082, allocations: 7.938 kB / 275.1 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.006162, allocations: 48.47 kB / 275.2 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1268/0.1329, allocations: 347.3 kB / 275.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1331, allocations: 150.1 kB / 275.7 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.1332, allocations: 39.16 kB / 275.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1332, allocations: 6.688 kB / 275.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1332, allocations: 37.12 kB / 275.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.414e-06/0.1332, allocations: 0 / 275.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006249/0.1338, allocations: 254.9 kB / 276 MB, free: 3.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.1339, allocations: 55.69 kB / 276 MB, free: 3.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.134, allocations: 223.7 kB / 276.3 MB, free: 3.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.134, allocations: 27.45 kB / 276.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.1341, allocations: 119.9 kB / 276.4 MB, free: 2.902 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.1341, allocations: 83.02 kB / 276.5 MB, free: 2.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.1342, allocations: 41.75 kB / 276.5 MB, free: 2.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.1342, allocations: 338.8 kB / 276.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.1343, allocations: 21.03 kB / 276.9 MB, free: 2.535 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.1343, allocations: 19.61 kB / 276.9 MB, free: 2.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1345, allocations: 129.2 kB / 277 MB, free: 2.508 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1345, allocations: 0 / 277 MB, free: 2.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002775/0.1347, allocations: 178.8 kB / 277.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1348, allocations: 6.875 kB / 277.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1348, allocations: 0 / 277.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/0.135, allocations: 66.17 kB / 277.3 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1351, allocations: 33.84 kB / 277.3 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009923/0.1361, allocations: 1.563 MB / 278.9 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.908e-05/0.1361, allocations: 21.45 kB / 278.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1362, allocations: 2.812 kB / 278.9 MB, free: 1.141 MB / 266.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.0001213/0.1363, allocations: 142.1 kB / 279 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.1363, allocations: 23.47 kB / 279.1 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.1364, allocations: 44.06 kB / 279.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1364, allocations: 1.406 kB / 279.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1364, allocations: 1.781 kB / 279.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1364, allocations: 5.016 kB / 279.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1365, allocations: 148.2 kB / 279.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1365, allocations: 0 / 279.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.1366, allocations: 32.22 kB / 279.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.1367, allocations: 33.83 kB / 279.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.1368, allocations: 39.23 kB / 279.4 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1368, allocations: 12.83 kB / 279.4 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008267/0.1376, allocations: 1.445 MB / 280.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1376, allocations: 4.203 kB / 280.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.138, allocations: 346.5 kB / 281.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.138, allocations: 8.266 kB / 281.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.1381, allocations: 8.406 kB / 281.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.1382, allocations: 28.48 kB / 281.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1382, allocations: 6.453 kB / 281.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.229e-05/0.1383, allocations: 80.27 kB / 281.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1383, allocations: 0 / 281.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.1385, allocations: 58.2 kB / 281.3 MB, free: 15.39 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 0.0001279/0.1386, allocations: 92.08 kB / 281.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005114/0.1392, allocations: 233.8 kB / 281.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/0.1392, allocations: 4.469 kB / 281.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.1394, allocations: 200.5 kB / 281.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1397, allocations: 156.3 kB / 282 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007596/0.1405, allocations: 482.3 kB / 282.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.037e-05/0.1405, allocations: 107.9 kB / 282.6 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.944e-05/0.1406, allocations: 21.36 kB / 282.6 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.1407, allocations: 80.83 kB / 282.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1407, allocations: 1 kB / 282.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of Templates: time 0.007188/0.1479, allocations: 3.771 MB / 286.5 MB, free: 14.34 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.8423469299450517]