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.001386/0.001386, allocations: 108.2 kB / 17.15 MB, free: 6.02 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.00156/0.00156, allocations: 204.5 kB / 20.11 MB, free: 3.066 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.537/1.537, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1093/0.1093, allocations: 24.03 MB / 333.6 MB, free: 1.566 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.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.002102/0.002102, allocations: 67.83 kB / 468.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1035, allocations: 59.54 MB / 0.516 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.002906/0.1064, allocations: 1.835 MB / 0.5178 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1075, allocations: 0.6546 MB / 0.5185 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.1076, allocations: 4 kB / 0.5185 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.1079, allocations: 51.62 kB / 0.5185 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1081, allocations: 67.67 kB / 0.5186 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.1084, allocations: 119.8 kB / 0.5187 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.1088, allocations: 315.4 kB / 0.519 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1089, allocations: 41.88 kB / 0.519 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.109, allocations: 139.5 kB / 0.5192 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1093, allocations: 175.3 kB / 0.5193 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.1093, allocations: 20 kB / 0.5194 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.409e-05/0.1094, allocations: 20 kB / 0.5194 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1095, allocations: 103.7 kB / 0.5195 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1096, allocations: 99.39 kB / 0.5196 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.1099, allocations: 242.9 kB / 0.5198 GB, free: 7.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1099, allocations: 0 / 0.5198 GB, free: 7.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1099, allocations: 0 / 0.5198 GB, free: 7.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1099, allocations: 0 / 0.5198 GB, free: 7.941 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.00165/0.1115, allocations: 0.6853 MB / 0.5205 GB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1116, allocations: 8.625 kB / 0.5205 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.1116, allocations: 32.75 kB / 0.5205 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008409/0.1125, allocations: 362.9 kB / 0.5209 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1125, allocations: 12.31 kB / 0.5209 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.1125, allocations: 24.2 kB / 0.5209 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.1129, allocations: 186.7 kB / 0.5211 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1129, allocations: 0 / 0.5211 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1129, allocations: 8 kB / 0.5211 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1129, allocations: 4 kB / 0.5211 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.1132, allocations: 171.9 kB / 0.5212 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.1143, allocations: 0.6525 MB / 0.5219 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.1147, allocations: 210.4 kB / 0.5221 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.1149, allocations: 112.8 kB / 0.5222 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.1149, allocations: 8.359 kB / 0.5222 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.115, allocations: 38.5 kB / 0.5222 GB, free: 5.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.115, allocations: 4 kB / 0.5222 GB, free: 5.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001528/0.1165, allocations: 0.5714 MB / 0.5228 GB, free: 4.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1165, allocations: 55.39 kB / 0.5229 GB, free: 4.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007917/0.1173, allocations: 348.8 kB / 0.5232 GB, free: 4.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.1174, allocations: 33.7 kB / 0.5232 GB, free: 4.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1175, allocations: 140.5 kB / 0.5234 GB, free: 4.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/0.1176, allocations: 83.27 kB / 0.5234 GB, free: 4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.1176, allocations: 41.7 kB / 0.5235 GB, free: 3.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1178, allocations: 338.8 kB / 0.5238 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.118, allocations: 92.17 kB / 0.5239 GB, free: 3.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.1181, allocations: 92.41 kB / 0.524 GB, free: 3.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.1201, allocations: 0.6245 MB / 0.5246 GB, free: 2.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1201, allocations: 4 kB / 0.5246 GB, free: 2.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008308/0.121, allocations: 423.1 kB / 0.525 GB, free: 2.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.121, allocations: 4 kB / 0.525 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.121, allocations: 0 / 0.525 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003482/0.1213, allocations: 104.8 kB / 0.5251 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1215, allocations: 39.92 kB / 0.5251 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.1238, allocations: 2.084 MB / 0.5272 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.1241, allocations: 52.02 kB / 0.5272 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.1242, allocations: 8 kB / 0.5272 GB, free: 15.95 MB / 398.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.0002155/0.1244, allocations: 171 kB / 0.5274 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.1244, allocations: 27.8 kB / 0.5274 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.122e-05/0.1245, allocations: 46.11 kB / 0.5275 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1245, allocations: 4 kB / 0.5275 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1245, allocations: 0 / 0.5275 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1245, allocations: 4 kB / 0.5275 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.1249, allocations: 333.3 kB / 0.5278 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1249, allocations: 7.875 kB / 0.5278 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.1251, allocations: 31.97 kB / 0.5278 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/0.1254, allocations: 68.86 kB / 0.5279 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.1254, allocations: 8 kB / 0.5279 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.1271, allocations: 1.857 MB / 0.5297 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1271, allocations: 3.984 kB / 0.5297 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009041/0.128, allocations: 0.5445 MB / 0.5302 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/0.1281, allocations: 105 kB / 0.5303 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.1281, allocations: 4.062 kB / 0.5303 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.1285, allocations: 48 kB / 0.5304 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.1286, allocations: 23.97 kB / 0.5304 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1286, allocations: 4 kB / 0.5304 GB, free: 12.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000687/0.1293, allocations: 276.3 kB / 0.5307 GB, free: 12.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1293, allocations: 0 / 0.5307 GB, free: 12.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004037/0.1297, allocations: 59.88 kB / 0.5307 GB, free: 12.11 MB / 398.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.0001177/0.1298, allocations: 103.2 kB / 0.5308 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008605/0.1307, allocations: 382.7 kB / 0.5312 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1307, allocations: 0 / 0.5312 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006409/0.1313, allocations: 262.5 kB / 0.5315 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1317, allocations: 44.72 kB / 0.5315 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1328, allocations: 0.5814 MB / 0.5321 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.1332, allocations: 0.7714 MB / 0.5328 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002003/0.1334, allocations: 65.84 kB / 0.5329 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.1335, allocations: 27.36 kB / 0.5329 GB, free: 9.812 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1335, allocations: 0 / 0.5329 GB, free: 9.812 MB / 398.1 MB Notification: Performance of Templates: time 0.007487/0.1409, allocations: 3.162 MB / 0.536 GB, free: 6.66 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: 4.856477931141853] Failed to read output from testmodel.py, exit status != 0: 0.14969979599118233 0.16482311900000002 0.051940612000000004 Calling exit ...