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.001013/0.001013, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001003/0.001003, allocations: 169 kB / 23.82 MB, free: 0.7461 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 0.9958/0.9958, allocations: 177.1 MB / 204.2 MB, free: 5.152 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.06301/0.06301, allocations: 18.13 MB / 278.9 MB, free: 11.02 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.483e-06/1.483e-06, allocations: 0 / 358.1 MB, free: 8.043 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.388e-05, allocations: 6.312 kB / 358.1 MB, free: 8.035 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.002496/0.00253, allocations: 1.826 MB / 359.9 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009466/0.003476, allocations: 0.6351 MB / 360.6 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.003561, allocations: 3.938 kB / 360.6 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.003856, allocations: 55.56 kB / 360.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.00402, allocations: 67.62 kB / 360.7 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.004437, allocations: 195.5 kB / 360.9 MB, free: 5.238 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.004662, allocations: 219.5 kB / 361.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.004766, allocations: 34.19 kB / 361.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.004888, allocations: 99.75 kB / 361.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.00505, allocations: 139.6 kB / 361.4 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.005088, allocations: 20 kB / 361.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.65e-05/0.005114, allocations: 20 kB / 361.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.534e-05/0.005199, allocations: 95.7 kB / 361.5 MB, free: 4.621 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.005258, allocations: 63.77 kB / 361.6 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.00544, allocations: 183.3 kB / 361.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005442, allocations: 0 / 361.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005443, allocations: 0 / 361.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.005448, allocations: 4 kB / 361.7 MB, free: 4.375 MB / 330.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.0007896/0.006238, allocations: 0.6553 MB / 362.4 MB, free: 3.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.006273, allocations: 8.922 kB / 362.4 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.006341, allocations: 40.8 kB / 362.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.006785, allocations: 264.2 kB / 362.7 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.006809, allocations: 12.38 kB / 362.7 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.006842, allocations: 16.38 kB / 362.7 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.007019, allocations: 106.2 kB / 362.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.007032, allocations: 8.141 kB / 362.9 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.007045, allocations: 4.375 kB / 362.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.007054, allocations: 7.938 kB / 362.9 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.007177, allocations: 67.92 kB / 362.9 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.007796, allocations: 0.5266 MB / 363.5 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.007973, allocations: 134.6 kB / 363.6 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.008045, allocations: 51.66 kB / 363.6 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.008067, allocations: 4 kB / 363.6 MB, free: 2.363 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.008086, allocations: 33.39 kB / 363.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.008087, allocations: 4 kB / 363.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007125/0.0088, allocations: 331.2 kB / 364 MB, free: 1.984 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.008824, allocations: 55.41 kB / 364.1 MB, free: 1.918 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.009004, allocations: 296.3 kB / 364.3 MB, free: 1.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.009023, allocations: 29.7 kB / 364.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.009094, allocations: 195.2 kB / 364.6 MB, free: 1.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.009151, allocations: 87.31 kB / 364.7 MB, free: 1.297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.009216, allocations: 51.36 kB / 364.7 MB, free: 1.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.009332, allocations: 0.5157 MB / 365.2 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.009386, allocations: 24.22 kB / 365.2 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.084e-05/0.009437, allocations: 28.45 kB / 365.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.009641, allocations: 141.9 kB / 365.4 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.009643, allocations: 0 / 365.4 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003457/0.009989, allocations: 254.5 kB / 365.7 MB, free: 272 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01, allocations: 4 kB / 365.7 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01001, allocations: 8 kB / 365.7 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.01024, allocations: 67.61 kB / 365.7 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.974e-05/0.01034, allocations: 31.92 kB / 365.8 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.01186, allocations: 2.267 MB / 368 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.01196, allocations: 35.86 kB / 368.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01198, allocations: 12.09 kB / 368.1 MB, free: 13.71 MB / 346.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.0001325/0.01211, allocations: 189.8 kB / 368.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.01215, allocations: 35.8 kB / 368.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.01219, allocations: 38.27 kB / 368.3 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01219, allocations: 4 kB / 368.3 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01219, allocations: 0 / 368.3 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0122, allocations: 0 / 368.3 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.01238, allocations: 228.4 kB / 368.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01238, allocations: 0 / 368.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.01249, allocations: 31.98 kB / 368.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.01262, allocations: 51.62 kB / 368.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01264, allocations: 11.94 kB / 368.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009367/0.01357, allocations: 2.126 MB / 370.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01358, allocations: 3.938 kB / 370.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.01397, allocations: 399.2 kB / 371.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.01399, allocations: 35.73 kB / 371.2 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.01402, allocations: 4 kB / 371.2 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01412, allocations: 28 kB / 371.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.01418, allocations: 27.89 kB / 371.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.01419, allocations: 4 kB / 371.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.0143, allocations: 205.1 kB / 371.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0143, allocations: 0 / 371.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.01455, allocations: 56 kB / 371.5 MB, free: 10.06 MB / 346.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.527e-05/0.01463, allocations: 107.2 kB / 371.6 MB, free: 9.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003816/0.01501, allocations: 313.2 kB / 371.9 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01502, allocations: 0 / 371.9 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.01522, allocations: 272.3 kB / 372.2 MB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01546, allocations: 34.52 kB / 372.2 MB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.01607, allocations: 0.5023 MB / 372.7 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.01614, allocations: 104.3 kB / 372.8 MB, free: 8.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.083e-05/0.01621, allocations: 41.91 kB / 372.9 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.01626, allocations: 20.5 kB / 372.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01626, allocations: 0 / 372.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of Templates: time 0.005966/0.02223, allocations: 3.423 MB / 376.3 MB, free: 5.188 MB / 346.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.0543415248394012]