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.001826/0.001826, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.00251/0.00251, allocations: 215.2 kB / 23.76 MB, free: 4.52 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.574/1.574, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.1264/0.1264, allocations: 24.03 MB / 338 MB, free: 11.33 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=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 67.89 kB / 475.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.298, allocations: 59.57 MB / 0.5221 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.002671/0.3007, allocations: 1.77 MB / 0.5239 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3018, allocations: 0.6215 MB / 0.5245 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.3019, allocations: 2.125 kB / 0.5245 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.3022, allocations: 56.95 kB / 0.5245 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.3024, allocations: 65.22 kB / 0.5246 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.3028, allocations: 140.3 kB / 0.5247 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.3033, allocations: 379.1 kB / 0.5251 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3034, allocations: 39.55 kB / 0.5251 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.3036, allocations: 146.4 kB / 0.5253 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.3038, allocations: 163.2 kB / 0.5254 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.3039, allocations: 19.41 kB / 0.5254 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.3039, allocations: 21.06 kB / 0.5254 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.304, allocations: 100.4 kB / 0.5255 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.3041, allocations: 86.25 kB / 0.5256 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.3044, allocations: 238.5 kB / 0.5259 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3044, allocations: 0 / 0.5259 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3044, allocations: 1.25 kB / 0.5259 GB, free: 8.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.3044, allocations: 7.938 kB / 0.5259 GB, free: 8.164 MB / 382.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.002201/0.3066, allocations: 0.6081 MB / 0.5265 GB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3066, allocations: 10.58 kB / 0.5265 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.039e-05/0.3067, allocations: 29.88 kB / 0.5265 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.3079, allocations: 314.8 kB / 0.5268 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3079, allocations: 9.188 kB / 0.5268 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.308, allocations: 18.05 kB / 0.5268 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.3085, allocations: 179.2 kB / 0.527 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.3085, allocations: 1.922 kB / 0.527 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.3085, allocations: 6.281 kB / 0.527 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3085, allocations: 6.281 kB / 0.527 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.309, allocations: 165.6 kB / 0.5272 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.3104, allocations: 0.5426 MB / 0.5277 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.3109, allocations: 213.7 kB / 0.5279 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.3112, allocations: 114.7 kB / 0.528 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.3112, allocations: 3.812 kB / 0.528 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3113, allocations: 36.88 kB / 0.528 GB, free: 6.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/0.3113, allocations: 1.188 kB / 0.528 GB, free: 6.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.002089/0.3133, allocations: 0.4971 MB / 0.5285 GB, free: 6.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.3134, allocations: 53.84 kB / 0.5286 GB, free: 6.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.3145, allocations: 348.4 kB / 0.5289 GB, free: 6.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3145, allocations: 30.8 kB / 0.5289 GB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.534e-05/0.3146, allocations: 150.2 kB / 0.5291 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/0.3147, allocations: 83.69 kB / 0.5292 GB, free: 6.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3148, allocations: 41.73 kB / 0.5292 GB, free: 6.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.3149, allocations: 346.9 kB / 0.5295 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.3151, allocations: 94.36 kB / 0.5296 GB, free: 5.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.3154, allocations: 92.92 kB / 0.5297 GB, free: 5.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/0.3183, allocations: 0.6255 MB / 0.5303 GB, free: 5.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3183, allocations: 4 kB / 0.5303 GB, free: 5.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001226/0.3195, allocations: 416.4 kB / 0.5307 GB, free: 5.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3195, allocations: 5.875 kB / 0.5307 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3195, allocations: 0 / 0.5307 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005048/0.32, allocations: 103.5 kB / 0.5308 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.3203, allocations: 37.23 kB / 0.5309 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.3229, allocations: 1.944 MB / 0.5328 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/0.3235, allocations: 63.56 kB / 0.5328 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.3235, allocations: 4.656 kB / 0.5328 GB, free: 3.93 MB / 382.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.0002818/0.3238, allocations: 163.5 kB / 0.533 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.3239, allocations: 22.83 kB / 0.533 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.324, allocations: 45.12 kB / 0.5331 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.324, allocations: 2.531 kB / 0.5331 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.324, allocations: 1.562 kB / 0.5331 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3241, allocations: 1.312 kB / 0.5331 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.3245, allocations: 245.5 kB / 0.5333 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3245, allocations: 0 / 0.5333 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.3249, allocations: 31.41 kB / 0.5333 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003335/0.3252, allocations: 68.7 kB / 0.5334 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.3253, allocations: 12.02 kB / 0.5334 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.327, allocations: 1.715 MB / 0.5351 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3271, allocations: 0 / 0.5351 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.3283, allocations: 0.5408 MB / 0.5356 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.3284, allocations: 36.89 kB / 0.5356 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.3284, allocations: 13.23 kB / 0.5356 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.329, allocations: 41.31 kB / 0.5357 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.3291, allocations: 17.47 kB / 0.5357 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.3292, allocations: 17.11 kB / 0.5357 GB, free: 1.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001024/0.3302, allocations: 275.1 kB / 0.536 GB, free: 1.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3302, allocations: 0 / 0.536 GB, free: 1.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007247/0.3309, allocations: 59.22 kB / 0.536 GB, free: 1.574 MB / 382.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.000129/0.331, allocations: 105.1 kB / 0.5361 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3321, allocations: 386.9 kB / 0.5365 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3321, allocations: 0 / 0.5365 GB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005875/0.3327, allocations: 259.9 kB / 0.5368 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.3333, allocations: 40.33 kB / 0.5368 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.3347, allocations: 0.6149 MB / 0.5374 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.3349, allocations: 164.8 kB / 0.5376 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.335, allocations: 20.09 kB / 0.5376 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.335, allocations: 0 / 0.5376 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of Templates: time 0.009337/0.3443, allocations: 3.961 MB / 0.5414 GB, free: 15.57 MB / 398.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_STATS -s=dassl -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: 7.8872279538773] Failed to read output from testmodel.py, exit status != 0: 0.3546242960728705 0.37633789300000003 0.068050911 Calling exit ...