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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 104.9 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 190.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.1048/0.1048, allocations: 22.7 MB / 325.4 MB, free: 3.535 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 67.89 kB / 457.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1203, allocations: 58.01 MB / 0.5036 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.003649/0.124, allocations: 1.821 MB / 0.5054 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1254, allocations: 0.6312 MB / 0.506 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1256, allocations: 0 / 0.506 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.126, allocations: 51.64 kB / 0.506 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1262, allocations: 71.59 kB / 0.5061 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.1266, allocations: 123.8 kB / 0.5062 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.127, allocations: 315.4 kB / 0.5065 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1272, allocations: 37.84 kB / 0.5066 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.1274, allocations: 131.6 kB / 0.5067 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.1277, allocations: 183.4 kB / 0.5069 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-05/0.1277, allocations: 20 kB / 0.5069 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/0.1278, allocations: 20 kB / 0.5069 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1279, allocations: 99.66 kB / 0.507 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.1281, allocations: 99.38 kB / 0.5071 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.1284, allocations: 246.9 kB / 0.5073 GB, free: 3.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1284, allocations: 0 / 0.5073 GB, free: 3.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1284, allocations: 0 / 0.5073 GB, free: 3.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1284, allocations: 3.938 kB / 0.5073 GB, free: 3.297 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.001956/0.1303, allocations: 0.6892 MB / 0.508 GB, free: 2.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1304, allocations: 8.031 kB / 0.508 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.1305, allocations: 24.8 kB / 0.508 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009829/0.1315, allocations: 366.8 kB / 0.5084 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1315, allocations: 12.38 kB / 0.5084 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.1315, allocations: 12.38 kB / 0.5084 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.1319, allocations: 190.6 kB / 0.5086 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1319, allocations: 0 / 0.5086 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1319, allocations: 4 kB / 0.5086 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-06/0.1319, allocations: 4 kB / 0.5086 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.1323, allocations: 179.8 kB / 0.5088 GB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.1335, allocations: 0.6447 MB / 0.5094 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.1339, allocations: 210.5 kB / 0.5096 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.1341, allocations: 112.8 kB / 0.5097 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.1341, allocations: 384 / 0.5097 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.1342, allocations: 42.5 kB / 0.5097 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 9.52e-07/0.1342, allocations: 0 / 0.5097 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001612/0.1358, allocations: 0.5771 MB / 0.5103 GB, free: 52 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2924/0.4282, allocations: 53.66 kB / 0.5104 GB, free: 16.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.4294, allocations: 351.4 kB / 0.5107 GB, free: 16.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/0.4294, allocations: 30.39 kB / 0.5107 GB, free: 16.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.4295, allocations: 139.1 kB / 0.5108 GB, free: 16.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.4296, allocations: 78.39 kB / 0.5109 GB, free: 16.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4297, allocations: 46.92 kB / 0.511 GB, free: 16.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4298, allocations: 336.5 kB / 0.5113 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.4301, allocations: 93.38 kB / 0.5114 GB, free: 15.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.4302, allocations: 93.67 kB / 0.5115 GB, free: 15.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.4324, allocations: 0.6315 MB / 0.5121 GB, free: 15.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4324, allocations: 1.938 kB / 0.5121 GB, free: 15.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008763/0.4333, allocations: 419.5 kB / 0.5125 GB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4333, allocations: 8.188 kB / 0.5125 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4333, allocations: 0 / 0.5125 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.4336, allocations: 107.2 kB / 0.5126 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.4338, allocations: 33.38 kB / 0.5126 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.4357, allocations: 2.086 MB / 0.5147 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.4361, allocations: 57.62 kB / 0.5147 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.4361, allocations: 5.625 kB / 0.5147 GB, free: 14.17 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.0001959/0.4363, allocations: 161.5 kB / 0.5149 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.4363, allocations: 22.39 kB / 0.5149 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.4364, allocations: 39.2 kB / 0.5149 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4364, allocations: 5.469 kB / 0.5149 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4364, allocations: 1.156 kB / 0.5149 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4364, allocations: 4.906 kB / 0.5149 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.4368, allocations: 345.4 kB / 0.5153 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4368, allocations: 0 / 0.5153 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.437, allocations: 32.17 kB / 0.5153 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.4372, allocations: 68.8 kB / 0.5154 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.4372, allocations: 6.969 kB / 0.5154 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.4384, allocations: 1.856 MB / 0.5172 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4384, allocations: 2.734 kB / 0.5172 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008691/0.4393, allocations: 0.5447 MB / 0.5177 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.4393, allocations: 110.4 kB / 0.5178 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.4394, allocations: 9.031 kB / 0.5178 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.4398, allocations: 50.86 kB / 0.5179 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.4399, allocations: 18.77 kB / 0.5179 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.4399, allocations: 7.25 kB / 0.5179 GB, free: 12.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006858/0.4406, allocations: 271.9 kB / 0.5182 GB, free: 11.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4406, allocations: 0 / 0.5182 GB, free: 11.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.441, allocations: 58.05 kB / 0.5182 GB, free: 11.92 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.000141/0.4411, allocations: 107.4 kB / 0.5183 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007991/0.4419, allocations: 379.3 kB / 0.5187 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4419, allocations: 5.219 kB / 0.5187 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.4423, allocations: 253.9 kB / 0.5189 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.4427, allocations: 35.89 kB / 0.519 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.4438, allocations: 0.5838 MB / 0.5195 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.4441, allocations: 0.7775 MB / 0.5203 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.4443, allocations: 54.56 kB / 0.5204 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.4443, allocations: 20.12 kB / 0.5204 GB, free: 10.44 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4443, allocations: 0 / 0.5204 GB, free: 10.44 MB / 382.1 MB Notification: Performance of Templates: time 0.00925/0.4536, allocations: 3.174 MB / 0.5235 GB, free: 10.26 MB / 382.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: 5.188750431872904] Failed to read output from testmodel.py, exit status != 0: 0.4622606788761914 0.473611715 0.34247197599999996 Calling exit ...