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.002053/0.002053, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.002031/0.002031, allocations: 165.7 kB / 23.55 MB, free: 0.875 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 1.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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.1457/0.1457, allocations: 18.15 MB / 278.5 MB, free: 11.34 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.924e-06/1.924e-06, allocations: 0 / 357.3 MB, free: 7.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.511e-05/3.703e-05, allocations: 5.688 kB / 357.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.005363/0.0054, allocations: 1.796 MB / 359.1 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.007632, allocations: 0.6233 MB / 359.7 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.007746, allocations: 11.94 kB / 359.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.008235, allocations: 59.61 kB / 359.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.008637, allocations: 67.56 kB / 359.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.009622, allocations: 191.5 kB / 360.1 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.01014, allocations: 223.4 kB / 360.3 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.0103, allocations: 30.17 kB / 360.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.01056, allocations: 103.8 kB / 360.4 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.01099, allocations: 143.6 kB / 360.5 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.412e-05/0.01107, allocations: 20 kB / 360.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.01113, allocations: 20 kB / 360.6 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.01135, allocations: 91.72 kB / 360.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.01152, allocations: 67.75 kB / 360.7 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.01203, allocations: 243.2 kB / 361 MB, free: 3.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01203, allocations: 0 / 361 MB, free: 3.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01203, allocations: 0 / 361 MB, free: 3.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.01204, allocations: 0 / 361 MB, free: 3.711 MB / 282.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.002217/0.01426, allocations: 0.6628 MB / 361.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.01431, allocations: 12.92 kB / 361.7 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.01445, allocations: 40.73 kB / 361.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.01547, allocations: 247.5 kB / 361.9 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/0.01551, allocations: 12.38 kB / 361.9 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.01557, allocations: 16.38 kB / 362 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.01602, allocations: 122.2 kB / 362.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.01604, allocations: 4.188 kB / 362.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.01607, allocations: 8.375 kB / 362.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01608, allocations: 7.938 kB / 362.1 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.01656, allocations: 95.92 kB / 362.2 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.01854, allocations: 0.5656 MB / 362.8 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.01907, allocations: 139 kB / 362.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.01933, allocations: 63.67 kB / 363 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-05/0.01939, allocations: 7.984 kB / 363 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/0.01945, allocations: 41.33 kB / 363 MB, free: 1.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/0.01945, allocations: 0 / 363 MB, free: 1.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.002414/0.02186, allocations: 371.6 kB / 363.4 MB, free: 1.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.02192, allocations: 59.41 kB / 363.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/0.0229, allocations: 344.3 kB / 363.8 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.02294, allocations: 29.7 kB / 363.8 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.02319, allocations: 203.2 kB / 364 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.02336, allocations: 87.31 kB / 364.1 MB, free: 440 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.02352, allocations: 55.36 kB / 364.1 MB, free: 376 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004671/0.02399, allocations: 0.5235 MB / 364.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.0242, allocations: 40.22 kB / 364.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.02441, allocations: 40.39 kB / 364.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.02515, allocations: 187 kB / 364.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.02515, allocations: 0 / 364.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001324/0.02648, allocations: 278.4 kB / 365.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.0265, allocations: 8 kB / 365.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.02651, allocations: 0 / 365.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006997/0.02721, allocations: 79.61 kB / 365.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.02751, allocations: 35.92 kB / 365.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004218/0.03173, allocations: 2.411 MB / 367.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.03214, allocations: 35.92 kB / 367.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.03218, allocations: 11.94 kB / 367.8 MB, free: 12.59 MB / 298.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.0003586/0.03254, allocations: 197.7 kB / 368 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.03267, allocations: 31.81 kB / 368 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.03283, allocations: 38.27 kB / 368 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.03284, allocations: 4 kB / 368 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.03284, allocations: 0 / 368 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.03285, allocations: 0 / 368 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.03347, allocations: 240.5 kB / 368.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.03347, allocations: 0 / 368.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.03386, allocations: 27.98 kB / 368.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.03428, allocations: 71.56 kB / 368.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.03432, allocations: 0 / 368.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/0.03785, allocations: 2.235 MB / 370.6 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.03785, allocations: 4.031 kB / 370.6 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.03937, allocations: 459.1 kB / 371 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.03948, allocations: 31.75 kB / 371.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.03955, allocations: 11.98 kB / 371.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.04, allocations: 23.97 kB / 371.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.04011, allocations: 19.91 kB / 371.1 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.04014, allocations: 4 kB / 371.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007875/0.04092, allocations: 253.1 kB / 371.4 MB, free: 8.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.04092, allocations: 0 / 371.4 MB, free: 8.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007193/0.04164, allocations: 52 kB / 371.4 MB, free: 8.711 MB / 298.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.0002044/0.04185, allocations: 95.25 kB / 371.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.04301, allocations: 365.7 kB / 371.9 MB, free: 8.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.04301, allocations: 0 / 371.9 MB, free: 8.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000794/0.0438, allocations: 280.2 kB / 372.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.04444, allocations: 31.61 kB / 372.2 MB, free: 7.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.04617, allocations: 0.5137 MB / 372.7 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.04647, allocations: 169.1 kB / 372.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00022/0.04669, allocations: 41.94 kB / 372.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.04682, allocations: 24.5 kB / 372.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04682, allocations: 0 / 372.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of Templates: time 0.01327/0.06008, allocations: 3.325 MB / 376.3 MB, free: 3.812 MB / 298.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: 4.809073872049339]