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.001183/0.001183, allocations: 84.44 kB / 20.71 MB, free: 3.848 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.001313/0.001313, allocations: 165.2 kB / 23.98 MB, free: 0.5742 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.8731/0.8731, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.05938/0.05938, allocations: 18.11 MB / 278.8 MB, free: 11.53 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.553e-06/1.553e-06, allocations: 0 / 417.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.634e-05, allocations: 7.062 kB / 417.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.002019/0.002045, allocations: 1.788 MB / 418.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008231/0.002869, allocations: 0.6058 MB / 419.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.002947, allocations: 7.094 kB / 419.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.003237, allocations: 54.53 kB / 419.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.003383, allocations: 74.59 kB / 419.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.003743, allocations: 184.5 kB / 419.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.003966, allocations: 218.5 kB / 420 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.004081, allocations: 37.56 kB / 420.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.0042, allocations: 102 kB / 420.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.004406, allocations: 138.7 kB / 420.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.004455, allocations: 19.75 kB / 420.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-05/0.004484, allocations: 20.62 kB / 420.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.004588, allocations: 106.3 kB / 420.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.00465, allocations: 62.36 kB / 420.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.004902, allocations: 249 kB / 420.7 MB, free: 9.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.004907, allocations: 1.828 kB / 420.7 MB, free: 9.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.004909, allocations: 0 / 420.7 MB, free: 9.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.004914, allocations: 0 / 420.7 MB, free: 9.988 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.001056/0.00597, allocations: 0.6127 MB / 421.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.00601, allocations: 11.66 kB / 421.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.006064, allocations: 24.83 kB / 421.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.006531, allocations: 298 kB / 421.7 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.006548, allocations: 14.5 kB / 421.7 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.006579, allocations: 17.77 kB / 421.7 MB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.006824, allocations: 175.2 kB / 421.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.006837, allocations: 5.141 kB / 421.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.006853, allocations: 6.188 kB / 421.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006859, allocations: 7.031 kB / 421.9 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.007083, allocations: 175.3 kB / 422.1 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.007764, allocations: 0.5448 MB / 422.6 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.008024, allocations: 208.2 kB / 422.8 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.008152, allocations: 110.4 kB / 422.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.008181, allocations: 3.516 kB / 422.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.008199, allocations: 33.62 kB / 423 MB, free: 8.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.0082, allocations: 0 / 423 MB, free: 8.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009731/0.009174, allocations: 0.5071 MB / 423.5 MB, free: 8.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.009201, allocations: 53.78 kB / 423.5 MB, free: 8.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.009633, allocations: 353.9 kB / 423.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.009647, allocations: 27.2 kB / 423.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.0097, allocations: 147 kB / 424 MB, free: 8.219 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.009752, allocations: 82.31 kB / 424.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.009804, allocations: 45.36 kB / 424.2 MB, free: 8.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.009844, allocations: 342.6 kB / 424.5 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.009951, allocations: 94.34 kB / 424.6 MB, free: 7.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.01005, allocations: 90.94 kB / 424.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.01113, allocations: 0.6301 MB / 425.3 MB, free: 7.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01113, allocations: 0 / 425.3 MB, free: 7.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000502/0.01163, allocations: 421.5 kB / 425.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.01165, allocations: 8.562 kB / 425.7 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01166, allocations: 0.7812 kB / 425.7 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.01191, allocations: 109.7 kB / 425.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.01202, allocations: 32.91 kB / 425.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.01323, allocations: 1.942 MB / 427.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.0134, allocations: 54.83 kB / 427.9 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.01341, allocations: 4.938 kB / 427.9 MB, free: 5.77 MB / 330.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.0001414/0.01355, allocations: 165.4 kB / 428 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.01358, allocations: 27.5 kB / 428.1 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.01362, allocations: 37.19 kB / 428.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01363, allocations: 2.5 kB / 428.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.01363, allocations: 1.438 kB / 428.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01364, allocations: 5.344 kB / 428.1 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.01384, allocations: 247.6 kB / 428.4 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01385, allocations: 5.281 kB / 428.4 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.01396, allocations: 36.66 kB / 428.4 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.01409, allocations: 72.08 kB / 428.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.0141, allocations: 7.688 kB / 428.5 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007954/0.0149, allocations: 1.714 MB / 430.2 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.0149, allocations: 4.062 kB / 430.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.01544, allocations: 0.535 MB / 430.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.01547, allocations: 33.03 kB / 430.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01549, allocations: 8.547 kB / 430.8 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.01567, allocations: 45.36 kB / 430.8 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.01571, allocations: 22.19 kB / 430.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.01572, allocations: 3.469 kB / 430.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003229/0.01605, allocations: 272.7 kB / 431.1 MB, free: 3.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01605, allocations: 5.25 kB / 431.1 MB, free: 3.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.01632, allocations: 53.34 kB / 431.2 MB, free: 3.414 MB / 330.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 9.015e-05/0.01641, allocations: 122.3 kB / 431.3 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.01687, allocations: 385.2 kB / 431.7 MB, free: 3.109 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01687, allocations: 0 / 431.7 MB, free: 3.109 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.01708, allocations: 255.5 kB / 431.9 MB, free: 2.953 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.01734, allocations: 39.95 kB / 431.9 MB, free: 2.934 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.01802, allocations: 0.588 MB / 432.5 MB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.01813, allocations: 169.4 kB / 432.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.01819, allocations: 24.02 kB / 432.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01819, allocations: 0 / 432.7 MB, free: 2.488 MB / 330.7 MB Notification: Performance of Templates: time 0.004222/0.02241, allocations: 4.049 MB / 436.8 MB, free: 1.016 MB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.827906243503094] Failed to read output from testmodel.py, exit status != 0: 0.02802598662674427 0.038105147 0.031648939 Calling exit ...