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.001355/0.001355, allocations: 82.41 kB / 19.96 MB, free: 1.758 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.001506/0.001506, allocations: 164.2 kB / 23.23 MB, free: 4.883 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.453/1.453, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.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.1038/0.1038, allocations: 18.13 MB / 278.1 MB, free: 15.05 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=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 2.545e-06/2.545e-06, allocations: 0 / 416.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.616e-05/3.87e-05, allocations: 4.672 kB / 416.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.005367/0.005405, allocations: 1.787 MB / 418.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.007374, allocations: 0.6077 MB / 418.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.007552, allocations: 4 kB / 418.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005482/0.0081, allocations: 51.69 kB / 418.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.008522, allocations: 71.56 kB / 418.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009192/0.009442, allocations: 203.4 kB / 419.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.009995, allocations: 219.5 kB / 419.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.0102, allocations: 30.19 kB / 419.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.01044, allocations: 99.69 kB / 419.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003825/0.01083, allocations: 139.7 kB / 419.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.659e-05/0.01091, allocations: 20 kB / 419.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.056e-05/0.01098, allocations: 23.94 kB / 419.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.01118, allocations: 95.72 kB / 419.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.01135, allocations: 67.75 kB / 419.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.01184, allocations: 243.2 kB / 420 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.01185, allocations: 0 / 420 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01185, allocations: 0 / 420 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.01186, allocations: 0 / 420 MB, free: 14.12 MB / 350.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.002676/0.01454, allocations: 0.6216 MB / 420.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.0146, allocations: 8.922 kB / 420.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.01472, allocations: 24.8 kB / 420.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.01609, allocations: 308.5 kB / 421 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.01612, allocations: 16.38 kB / 421 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.01618, allocations: 16.36 kB / 421 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.01676, allocations: 174.1 kB / 421.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.01678, allocations: 8.141 kB / 421.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.01682, allocations: 4.375 kB / 421.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.01683, allocations: 7.938 kB / 421.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.01742, allocations: 167.9 kB / 421.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.01923, allocations: 0.543 MB / 421.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.01988, allocations: 206.4 kB / 422.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.02021, allocations: 112.8 kB / 422.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.02026, allocations: 4 kB / 422.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.02031, allocations: 38.55 kB / 422.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.02031, allocations: 0 / 422.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.002451/0.02276, allocations: 0.4983 MB / 422.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.02282, allocations: 55.41 kB / 422.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.0242, allocations: 349.8 kB / 423.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.02424, allocations: 29.7 kB / 423.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.02441, allocations: 148.5 kB / 423.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.02453, allocations: 75.33 kB / 423.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.02466, allocations: 41.7 kB / 423.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002919/0.02495, allocations: 342.8 kB / 423.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.02524, allocations: 92.17 kB / 423.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.02553, allocations: 92.41 kB / 423.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.02901, allocations: 0.6323 MB / 424.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02901, allocations: 0 / 424.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001439/0.03045, allocations: 419.3 kB / 425 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.03047, allocations: 12 kB / 425 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.03048, allocations: 0 / 425 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/0.03107, allocations: 104.7 kB / 425.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.03134, allocations: 31.92 kB / 425.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.03499, allocations: 1.95 MB / 427.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.03557, allocations: 55.84 kB / 427.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.0356, allocations: 7.938 kB / 427.1 MB, free: 6.707 MB / 350.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.000345/0.03594, allocations: 171.2 kB / 427.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.03605, allocations: 23.81 kB / 427.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.03617, allocations: 42.27 kB / 427.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.03618, allocations: 4 kB / 427.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.03618, allocations: 0 / 427.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.0362, allocations: 7.922 kB / 427.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.03675, allocations: 237.2 kB / 427.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.03675, allocations: 4 kB / 427.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.03711, allocations: 27.98 kB / 427.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003561/0.03746, allocations: 68.8 kB / 427.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.0375, allocations: 7.984 kB / 427.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.04029, allocations: 1.716 MB / 429.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.04029, allocations: 4.062 kB / 429.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.04184, allocations: 0.535 MB / 430 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.04194, allocations: 39.8 kB / 430 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.04201, allocations: 11.94 kB / 430 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/0.04264, allocations: 39.94 kB / 430.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.04277, allocations: 31.89 kB / 430.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.0428, allocations: 4 kB / 430.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001111/0.04391, allocations: 273.1 kB / 430.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04391, allocations: 0 / 430.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007487/0.04466, allocations: 52 kB / 430.4 MB, free: 3.258 MB / 350.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.0002151/0.04487, allocations: 110.7 kB / 430.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.04606, allocations: 386.6 kB / 430.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.04607, allocations: 4 kB / 430.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006907/0.04676, allocations: 258.5 kB / 431.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.0473, allocations: 36.48 kB / 431.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.04843, allocations: 0.5606 MB / 431.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.04863, allocations: 157.2 kB / 431.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.04877, allocations: 57.91 kB / 432 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.04884, allocations: 16.5 kB / 432 MB, free: 1.609 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.04884, allocations: 4 kB / 432 MB, free: 1.605 MB / 350.1 MB Notification: Performance of Templates: time 0.008312/0.05716, allocations: 3.295 MB / 435.3 MB, free: 14.34 MB / 366.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_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -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: 4.6069756001234055] Failed to read output from testmodel.py, exit status != 0: 0.06923037022352219 0.090053248 0.07320251200000001 Calling exit ...