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.001598/0.001598, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.001762/0.001762, allocations: 165 kB / 23.82 MB, free: 0.7578 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.013/1.013, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.06852/0.06852, allocations: 18.14 MB / 278.9 MB, free: 11.3 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 2.214e-06/2.214e-06, allocations: 0 / 358.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.649e-05/3.87e-05, allocations: 2.312 kB / 358.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.003601/0.00364, allocations: 1.841 MB / 359.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.00495, allocations: 0.631 MB / 360.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.00506, allocations: 4 kB / 360.6 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.0055, allocations: 55.61 kB / 360.6 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.005729, allocations: 71.62 kB / 360.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.006224, allocations: 195.5 kB / 360.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.006621, allocations: 211.5 kB / 361.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.006774, allocations: 42.16 kB / 361.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.006913, allocations: 99.7 kB / 361.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.007139, allocations: 139.7 kB / 361.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.007188, allocations: 20 kB / 361.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.874e-05/0.007237, allocations: 27.94 kB / 361.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.007365, allocations: 91.72 kB / 361.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/0.007453, allocations: 67.75 kB / 361.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.007709, allocations: 179.3 kB / 361.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.007712, allocations: 0 / 361.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007713, allocations: 0 / 361.8 MB, free: 3.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.007719, allocations: 0 / 361.8 MB, free: 3.32 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.001087/0.008805, allocations: 0.6514 MB / 362.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.00885, allocations: 8.922 kB / 362.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.008939, allocations: 36.8 kB / 362.5 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.009419, allocations: 268.2 kB / 362.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.009446, allocations: 8.375 kB / 362.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.009492, allocations: 20.36 kB / 362.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.009742, allocations: 102.2 kB / 362.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.009759, allocations: 8.188 kB / 362.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.00978, allocations: 4.375 kB / 362.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.009794, allocations: 7.938 kB / 362.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.009992, allocations: 71.86 kB / 362.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009225/0.01091, allocations: 0.5305 MB / 363.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.01117, allocations: 119 kB / 363.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.01128, allocations: 51.66 kB / 363.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.01131, allocations: 8 kB / 363.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.01134, allocations: 41.39 kB / 363.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.01134, allocations: 0 / 363.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.001015/0.01236, allocations: 327.6 kB / 364 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.0124, allocations: 55.41 kB / 364.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.01267, allocations: 296.3 kB / 364.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.01269, allocations: 33.64 kB / 364.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.01291, allocations: 199.2 kB / 364.6 MB, free: 332 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.047e-05/0.01299, allocations: 79.34 kB / 364.6 MB, free: 252 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.01307, allocations: 47.36 kB / 364.7 MB, free: 196 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.01323, allocations: 0.5117 MB / 365.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.01329, allocations: 32.2 kB / 365.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.01335, allocations: 28.45 kB / 365.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.01357, allocations: 134.9 kB / 365.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01357, allocations: 0 / 365.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003901/0.01396, allocations: 250.4 kB / 365.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.01397, allocations: 8 kB / 365.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01398, allocations: 0 / 365.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.01426, allocations: 79.53 kB / 365.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01437, allocations: 27.98 kB / 365.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.01584, allocations: 2.275 MB / 368 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01594, allocations: 35.86 kB / 368.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.01596, allocations: 19.91 kB / 368.1 MB, free: 12.66 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.0001555/0.01612, allocations: 177.8 kB / 368.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.01616, allocations: 35.8 kB / 368.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.0162, allocations: 38.28 kB / 368.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.0162, allocations: 4 kB / 368.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.0162, allocations: 0 / 368.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.01621, allocations: 3.984 kB / 368.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.0164, allocations: 216.5 kB / 368.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.0164, allocations: 4 kB / 368.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.01651, allocations: 31.92 kB / 368.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.01665, allocations: 51.64 kB / 368.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.01667, allocations: 11.98 kB / 368.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009988/0.01767, allocations: 2.13 MB / 370.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01767, allocations: 0 / 370.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.01808, allocations: 407.2 kB / 371.2 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.01812, allocations: 39.73 kB / 371.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.01813, allocations: 4 kB / 371.2 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.01824, allocations: 23.97 kB / 371.2 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.0183, allocations: 27.89 kB / 371.3 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.01831, allocations: 4 kB / 371.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.01843, allocations: 205.1 kB / 371.5 MB, free: 9.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01843, allocations: 0 / 371.5 MB, free: 9.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.01868, allocations: 56 kB / 371.5 MB, free: 9.012 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 8.505e-05/0.01876, allocations: 107.2 kB / 371.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.01927, allocations: 325.7 kB / 371.9 MB, free: 8.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01927, allocations: 0 / 371.9 MB, free: 8.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.01947, allocations: 268.1 kB / 372.2 MB, free: 8.277 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.01973, allocations: 39.3 kB / 372.2 MB, free: 8.242 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.02039, allocations: 0.4984 MB / 372.7 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.02046, allocations: 96.3 kB / 372.8 MB, free: 7.598 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.36e-05/0.02053, allocations: 45.91 kB / 372.9 MB, free: 7.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.02059, allocations: 24.48 kB / 372.9 MB, free: 7.531 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.02059, allocations: 0 / 372.9 MB, free: 7.531 MB / 298.7 MB Notification: Performance of Templates: time 0.005149/0.02574, allocations: 3.34 MB / 376.2 MB, free: 4.219 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: 3.1401381753385067]