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.0007731/0.0007731, allocations: 75.7 kB / 20.8 MB, free: 3.711 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.0008764/0.0008764, allocations: 166 kB / 24.09 MB, free: 424 kB / 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.9373/0.9373, allocations: 177.1 MB / 204.4 MB, free: 5.699 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.06274/0.06274, allocations: 18.13 MB / 279 MB, free: 11.48 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.813e-06/1.813e-06, allocations: 0 / 417.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.334e-05, allocations: 3.875 kB / 417.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.002654/0.002687, allocations: 1.767 MB / 419.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003732, allocations: 0.618 MB / 419.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.003854, allocations: 2.312 kB / 419.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.004234, allocations: 59.11 kB / 419.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.00443, allocations: 62.23 kB / 419.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.004886, allocations: 194.1 kB / 420.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.005182, allocations: 219.1 kB / 420.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.005339, allocations: 32.3 kB / 420.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.005535, allocations: 98.52 kB / 420.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.005775, allocations: 145.7 kB / 420.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.005831, allocations: 20.22 kB / 420.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.47e-05/0.005865, allocations: 20.47 kB / 420.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.005971, allocations: 99.06 kB / 420.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.006055, allocations: 65.48 kB / 420.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.006344, allocations: 242.3 kB / 421 MB, free: 9.871 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.006347, allocations: 0 / 421 MB, free: 9.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.006349, allocations: 1.672 kB / 421 MB, free: 9.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.006357, allocations: 0 / 421 MB, free: 9.871 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.00113/0.007487, allocations: 0.6128 MB / 421.6 MB, free: 9.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.007531, allocations: 9.797 kB / 421.6 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.007597, allocations: 27.38 kB / 421.6 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.008157, allocations: 308.7 kB / 421.9 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.008179, allocations: 14.25 kB / 421.9 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.008219, allocations: 21.95 kB / 422 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.008509, allocations: 179.2 kB / 422.1 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.008525, allocations: 10.17 kB / 422.1 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.008542, allocations: 5.344 kB / 422.2 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.00855, allocations: 7.938 kB / 422.2 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.008806, allocations: 167 kB / 422.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008007/0.009607, allocations: 0.5464 MB / 422.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.009906, allocations: 211 kB / 423.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.01004, allocations: 111.3 kB / 423.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.01007, allocations: 4.797 kB / 423.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.01009, allocations: 32 kB / 423.2 MB, free: 8.637 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.01009, allocations: 0 / 423.2 MB, free: 8.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.000966/0.01106, allocations: 0.505 MB / 423.7 MB, free: 8.469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.01108, allocations: 54.98 kB / 423.8 MB, free: 8.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.01153, allocations: 343.4 kB / 424.1 MB, free: 8.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.01155, allocations: 27.72 kB / 424.1 MB, free: 8.227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.01161, allocations: 150.9 kB / 424.3 MB, free: 8.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.01167, allocations: 78.67 kB / 424.4 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.01172, allocations: 40.81 kB / 424.4 MB, free: 8.004 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.01178, allocations: 342.9 kB / 424.7 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.0119, allocations: 90.97 kB / 424.8 MB, free: 7.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.01202, allocations: 96.11 kB / 424.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.01325, allocations: 0.631 MB / 425.6 MB, free: 7.461 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01325, allocations: 0 / 425.6 MB, free: 7.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005683/0.01382, allocations: 424.8 kB / 426 MB, free: 7.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.01384, allocations: 5.188 kB / 426 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.01385, allocations: 0.5625 kB / 426 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.0141, allocations: 110 kB / 426.1 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.01421, allocations: 38.23 kB / 426.1 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.01554, allocations: 1.938 MB / 428.1 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.01572, allocations: 55.2 kB / 428.1 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.01573, allocations: 4.125 kB / 428.1 MB, free: 5.648 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.0001488/0.01588, allocations: 176.8 kB / 428.3 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.01592, allocations: 31.14 kB / 428.3 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.01596, allocations: 40.81 kB / 428.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01596, allocations: 2.469 kB / 428.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.01597, allocations: 1.812 kB / 428.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01598, allocations: 4.594 kB / 428.4 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.01619, allocations: 240.9 kB / 428.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.0162, allocations: 0.7031 kB / 428.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.01631, allocations: 28.36 kB / 428.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.01645, allocations: 71.2 kB / 428.7 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.01647, allocations: 8.844 kB / 428.7 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008867/0.01736, allocations: 1.719 MB / 430.4 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01736, allocations: 0 / 430.4 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.01793, allocations: 0.539 MB / 431 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.01797, allocations: 39.8 kB / 431 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01799, allocations: 8.094 kB / 431 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.01817, allocations: 47.12 kB / 431.1 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.01824, allocations: 19.53 kB / 431.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01825, allocations: 4.578 kB / 431.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003467/0.0186, allocations: 276.3 kB / 431.4 MB, free: 3.293 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0186, allocations: 0 / 431.4 MB, free: 3.293 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002983/0.0189, allocations: 54 kB / 431.4 MB, free: 3.285 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 0.0001044/0.019, allocations: 111.1 kB / 431.5 MB, free: 3.188 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005631/0.01957, allocations: 384.3 kB / 431.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01957, allocations: 1.188 kB / 431.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.01979, allocations: 258.5 kB / 432.1 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.02007, allocations: 35.08 kB / 432.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.02079, allocations: 0.5569 MB / 432.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.02093, allocations: 164.6 kB / 432.9 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.02104, allocations: 55.36 kB / 432.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.02109, allocations: 20.19 kB / 433 MB, free: 2.406 MB / 330.7 MB Notification: Performance of SimCode: time 6.02e-07/0.02109, allocations: 1.156 kB / 433 MB, free: 2.406 MB / 330.7 MB Notification: Performance of Templates: time 0.005466/0.02655, allocations: 3.308 MB / 436.3 MB, free: 1.324 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.06986147724092] Failed to read output from testmodel.py, exit status != 0: 0.033793412148952484 0.042870606000000006 0.034752313 Calling exit ...