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.000922/0.000922, 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.0009183/0.0009183, 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 1.044/1.044, allocations: 177.1 MB / 204.6 MB, free: 5.453 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.09436/0.09436, allocations: 18.14 MB / 279.2 MB, free: 11.17 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.893e-06/1.893e-06, allocations: 3.938 kB / 305.4 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.637e-05, allocations: 3.094 kB / 305.4 MB, free: 88 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.004352/0.004378, allocations: 1.87 MB / 307.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.00579, allocations: 0.6398 MB / 307.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.0059, allocations: 4 kB / 307.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.006267, allocations: 55.86 kB / 308 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.006438, allocations: 70.47 kB / 308 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.006827, allocations: 184.4 kB / 308.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.007119, allocations: 233.3 kB / 308.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.007249, allocations: 36.56 kB / 308.5 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.007404, allocations: 97.95 kB / 308.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.007643, allocations: 140.1 kB / 308.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.007687, allocations: 20 kB / 308.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.05e-05/0.007718, allocations: 20 kB / 308.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.007849, allocations: 97.64 kB / 308.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.23e-05/0.007931, allocations: 67.56 kB / 308.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.008144, allocations: 175.2 kB / 309.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.008148, allocations: 4 kB / 309.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008149, allocations: 0 / 309.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.008154, allocations: 8 kB / 309.1 MB, free: 13.39 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.000718/0.008872, allocations: 485.9 kB / 309.6 MB, free: 12.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.008913, allocations: 12.92 kB / 309.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.00897, allocations: 28.91 kB / 309.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.009326, allocations: 225.5 kB / 309.8 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.009352, allocations: 12.38 kB / 309.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.009386, allocations: 28.25 kB / 309.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.009566, allocations: 108.9 kB / 310 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.009579, allocations: 4.188 kB / 310 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.009592, allocations: 4.375 kB / 310 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.009602, allocations: 7.938 kB / 310 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.212e-05/0.009694, allocations: 47.94 kB / 310 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.01019, allocations: 357.5 kB / 310.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.01035, allocations: 144.1 kB / 310.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.0104, allocations: 36.84 kB / 310.6 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.01043, allocations: 4 kB / 310.6 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.01045, allocations: 34.5 kB / 310.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.773e-06/0.01045, allocations: 0 / 310.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005741/0.01102, allocations: 264.5 kB / 310.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.01105, allocations: 51.41 kB / 310.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.0112, allocations: 221 kB / 311.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.01122, allocations: 29.7 kB / 311.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.01127, allocations: 124.9 kB / 311.3 MB, free: 11.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.01133, allocations: 79.27 kB / 311.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.01138, allocations: 45.67 kB / 311.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.01148, allocations: 338.8 kB / 311.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.01152, allocations: 27.05 kB / 311.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.01156, allocations: 16.47 kB / 311.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.01171, allocations: 108 kB / 311.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01171, allocations: 4 kB / 311.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002682/0.01198, allocations: 180.3 kB / 312.1 MB, free: 10.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01199, allocations: 4 kB / 312.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.012, allocations: 4 kB / 312.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/0.0122, allocations: 59.61 kB / 312.1 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.0123, allocations: 39.98 kB / 312.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.01337, allocations: 1.561 MB / 313.7 MB, free: 8.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.01345, allocations: 23.84 kB / 313.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.01346, allocations: 0 / 313.7 MB, free: 8.473 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.000137/0.0136, allocations: 141.1 kB / 313.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.01363, allocations: 27.92 kB / 313.9 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.01367, allocations: 38.2 kB / 313.9 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01367, allocations: 4 kB / 313.9 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01368, allocations: 0 / 313.9 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01368, allocations: 4 kB / 314 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.01383, allocations: 153.7 kB / 314.1 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.01384, allocations: 7.922 kB / 314.1 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.01394, allocations: 24 kB / 314.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.01405, allocations: 43.64 kB / 314.2 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.01407, allocations: 8.062 kB / 314.2 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007733/0.01484, allocations: 1.45 MB / 315.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01484, allocations: 0 / 315.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.01517, allocations: 355.2 kB / 316 MB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.01519, allocations: 27.78 kB / 316 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.01521, allocations: 8 kB / 316 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.0153, allocations: 16.02 kB / 316 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.01535, allocations: 19.91 kB / 316 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.01536, allocations: 11.94 kB / 316.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.642e-05/0.01542, allocations: 78.77 kB / 316.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01542, allocations: 0 / 316.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.01563, allocations: 56 kB / 316.2 MB, free: 5.875 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 9.519e-05/0.01573, allocations: 80.42 kB / 316.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003031/0.01603, allocations: 235.7 kB / 316.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01603, allocations: 4 kB / 316.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.01618, allocations: 191.3 kB / 316.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.01637, allocations: 37 kB / 316.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.01699, allocations: 0.4958 MB / 317.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.444e-05/0.01705, allocations: 108.3 kB / 317.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.0171, allocations: 17.89 kB / 317.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.01719, allocations: 75.36 kB / 317.4 MB, free: 4.562 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01719, allocations: 4 kB / 317.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of Templates: time 0.004935/0.02213, allocations: 3.481 MB / 320.9 MB, free: 1.137 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.900796771980822]