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.0009074/0.0009074, allocations: 73.98 kB / 20.67 MB, free: 3.828 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.001185/0.001185, allocations: 177.3 kB / 24.08 MB, free: 432 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 1.048/1.048, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.06595/0.06595, allocations: 18.15 MB / 279.2 MB, free: 11.18 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 2.404e-06/2.404e-06, allocations: 0 / 358.6 MB, free: 7.758 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.54e-05, allocations: 6.312 kB / 358.6 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.003332/0.003368, allocations: 1.822 MB / 360.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004588, allocations: 0.6311 MB / 361 MB, free: 5.277 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.004706, allocations: 4 kB / 361 MB, free: 5.273 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.005019, allocations: 55.56 kB / 361.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.005213, allocations: 71.61 kB / 361.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.005684, allocations: 187.5 kB / 361.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.005895, allocations: 223.4 kB / 361.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.005993, allocations: 30.19 kB / 361.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.006095, allocations: 103.6 kB / 361.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.006244, allocations: 143.7 kB / 361.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.006278, allocations: 20 kB / 361.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.488e-05/0.006303, allocations: 20 kB / 361.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.006383, allocations: 91.72 kB / 362 MB, free: 4.344 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.006437, allocations: 67.75 kB / 362 MB, free: 4.277 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.006595, allocations: 175.3 kB / 362.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.006597, allocations: 0 / 362.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006597, allocations: 4 kB / 362.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.006603, allocations: 4 kB / 362.2 MB, free: 4.098 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.0007547/0.007358, allocations: 0.6085 MB / 362.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.007391, allocations: 8.922 kB / 362.8 MB, free: 3.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.007445, allocations: 36.8 kB / 362.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.007717, allocations: 244.2 kB / 363.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.007735, allocations: 12.38 kB / 363.1 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.00776, allocations: 16.31 kB / 363.1 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.007899, allocations: 102.2 kB / 363.2 MB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.00791, allocations: 4.141 kB / 363.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.007922, allocations: 12.31 kB / 363.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.007929, allocations: 3.938 kB / 363.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.008015, allocations: 55.92 kB / 363.3 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.008555, allocations: 475.9 kB / 363.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.008709, allocations: 110.9 kB / 363.9 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.008765, allocations: 43.66 kB / 363.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.008792, allocations: 4 kB / 363.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.008816, allocations: 37.39 kB / 364 MB, free: 2.223 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.008818, allocations: 0 / 364 MB, free: 2.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006195/0.009437, allocations: 300 kB / 364.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.009469, allocations: 55.41 kB / 364.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.009653, allocations: 284.2 kB / 364.6 MB, free: 1.562 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.00967, allocations: 33.7 kB / 364.6 MB, free: 1.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.009749, allocations: 199.1 kB / 364.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.009804, allocations: 75.33 kB / 364.9 MB, free: 1.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.009858, allocations: 55.34 kB / 364.9 MB, free: 1.188 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.009988, allocations: 0.5157 MB / 365.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/0.01002, allocations: 24.16 kB / 365.5 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.01006, allocations: 24.44 kB / 365.5 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.0102, allocations: 111.1 kB / 365.6 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01021, allocations: 0 / 365.6 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002838/0.01049, allocations: 218.5 kB / 365.8 MB, free: 288 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.0105, allocations: 11.98 kB / 365.8 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01051, allocations: 4 kB / 365.8 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.01069, allocations: 63.61 kB / 365.9 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.01077, allocations: 27.98 kB / 365.9 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.01204, allocations: 2.226 MB / 368.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.212e-05/0.01212, allocations: 15.89 kB / 368.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.01213, allocations: 8 kB / 368.2 MB, free: 13.8 MB / 346.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.0001428/0.01227, allocations: 181.8 kB / 368.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.01231, allocations: 35.81 kB / 368.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.01235, allocations: 38.22 kB / 368.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.01235, allocations: 0 / 368.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01235, allocations: 0 / 368.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01236, allocations: 11.98 kB / 368.4 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.01255, allocations: 185 kB / 368.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01255, allocations: 0 / 368.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.01265, allocations: 31.92 kB / 368.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.01277, allocations: 43.7 kB / 368.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.01279, allocations: 8 kB / 368.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009562/0.01374, allocations: 2.084 MB / 370.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01374, allocations: 0 / 370.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.0141, allocations: 386.2 kB / 371.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.01413, allocations: 31.78 kB / 371.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.01414, allocations: 7.984 kB / 371.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.862e-05/0.01423, allocations: 16.03 kB / 371.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.01428, allocations: 15.95 kB / 371.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.01429, allocations: 8 kB / 371.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.0144, allocations: 197.1 kB / 371.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0144, allocations: 0 / 371.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.01464, allocations: 52 kB / 371.5 MB, free: 10.32 MB / 346.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.189e-05/0.01473, allocations: 111.2 kB / 371.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.01505, allocations: 301.2 kB / 371.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01505, allocations: 0 / 371.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.01523, allocations: 253.4 kB / 372.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.01547, allocations: 46 kB / 372.2 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.01604, allocations: 0.4906 MB / 372.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.288e-05/0.0161, allocations: 104.3 kB / 372.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.01616, allocations: 21.89 kB / 372.8 MB, free: 8.906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.01625, allocations: 94.19 kB / 372.9 MB, free: 8.812 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01625, allocations: 0 / 372.9 MB, free: 8.812 MB / 346.7 MB Notification: Performance of Templates: time 0.005407/0.02166, allocations: 3.506 MB / 376.4 MB, free: 5.348 MB / 346.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=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0424525630660355]