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.001122/0.001122, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001035/0.001035, allocations: 177 kB / 24.28 MB, free: 280 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.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.06703/0.06703, allocations: 18.15 MB / 279.2 MB, free: 11.38 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.525e-06/2.525e-06, allocations: 0 / 358 MB, free: 7.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.448e-05, allocations: 2.312 kB / 358 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.003055/0.00309, allocations: 1.822 MB / 359.9 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.004205, allocations: 0.6311 MB / 360.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.004313, allocations: 0 / 360.5 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.004648, allocations: 63.56 kB / 360.6 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.004844, allocations: 63.67 kB / 360.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.005283, allocations: 187.5 kB / 360.8 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.005547, allocations: 223.4 kB / 361 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.005678, allocations: 38.16 kB / 361.1 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.005803, allocations: 99.7 kB / 361.2 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.006017, allocations: 147.6 kB / 361.3 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.006062, allocations: 20 kB / 361.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.232e-05/0.006094, allocations: 20 kB / 361.3 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.00621, allocations: 95.7 kB / 361.4 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.006294, allocations: 67.75 kB / 361.5 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.006523, allocations: 179.3 kB / 361.7 MB, free: 3.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006525, allocations: 3.938 kB / 361.7 MB, free: 3.734 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006526, allocations: 0 / 361.7 MB, free: 3.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.006531, allocations: 0 / 361.7 MB, free: 3.734 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.001044/0.007576, allocations: 0.6437 MB / 362.3 MB, free: 3.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.007616, allocations: 12.92 kB / 362.3 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.555e-05/0.007702, allocations: 36.8 kB / 362.4 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.008161, allocations: 272.1 kB / 362.6 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.00819, allocations: 8.375 kB / 362.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.008228, allocations: 16.36 kB / 362.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.008465, allocations: 106.2 kB / 362.8 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.008479, allocations: 4.188 kB / 362.8 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.008499, allocations: 8.375 kB / 362.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.008511, allocations: 7.938 kB / 362.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.008709, allocations: 75.84 kB / 362.9 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009115/0.00962, allocations: 0.5266 MB / 363.4 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.009865, allocations: 123 kB / 363.5 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.009974, allocations: 47.67 kB / 363.6 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.01, allocations: 4 kB / 363.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.01003, allocations: 33.39 kB / 363.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.764e-06/0.01003, allocations: 0 / 363.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.001075/0.0111, allocations: 335.6 kB / 363.9 MB, free: 1.352 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.01114, allocations: 63.33 kB / 364 MB, free: 1.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.01141, allocations: 296.3 kB / 364.3 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.01143, allocations: 29.7 kB / 364.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.01154, allocations: 195.2 kB / 364.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.01161, allocations: 83.33 kB / 364.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.01169, allocations: 47.36 kB / 364.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.01186, allocations: 0.5157 MB / 365.1 MB, free: 80 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-05/0.01195, allocations: 24.22 kB / 365.2 MB, free: 56 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.093e-05/0.01203, allocations: 28.45 kB / 365.2 MB, free: 28 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.01236, allocations: 147 kB / 365.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01236, allocations: 0 / 365.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005488/0.01291, allocations: 238.4 kB / 365.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01293, allocations: 7.938 kB / 365.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01293, allocations: 3.938 kB / 365.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/0.01328, allocations: 83.59 kB / 365.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.01342, allocations: 27.98 kB / 365.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.01531, allocations: 2.275 MB / 368 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.01546, allocations: 35.86 kB / 368 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.01548, allocations: 7.938 kB / 368 MB, free: 13.09 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.0001801/0.01566, allocations: 185.8 kB / 368.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.01573, allocations: 35.81 kB / 368.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.01579, allocations: 38.27 kB / 368.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01579, allocations: 4 kB / 368.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.0158, allocations: 0 / 368.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.0158, allocations: 0 / 368.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.01609, allocations: 220.5 kB / 368.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01609, allocations: 0 / 368.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.01626, allocations: 35.91 kB / 368.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.01645, allocations: 51.64 kB / 368.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.01648, allocations: 8 kB / 368.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.01788, allocations: 2.13 MB / 370.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01788, allocations: 4.031 kB / 370.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.01849, allocations: 399.2 kB / 371.1 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.01854, allocations: 39.75 kB / 371.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.01857, allocations: 7.984 kB / 371.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.01875, allocations: 19.97 kB / 371.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.01882, allocations: 23.95 kB / 371.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.01884, allocations: 15.98 kB / 371.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001866/0.01903, allocations: 209.1 kB / 371.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01903, allocations: 0 / 371.4 MB, free: 9.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004221/0.01945, allocations: 56 kB / 371.5 MB, free: 9.422 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.0001077/0.01956, allocations: 103.2 kB / 371.6 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005403/0.0201, allocations: 321.7 kB / 371.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0201, allocations: 0 / 371.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.0204, allocations: 276.1 kB / 372.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.02079, allocations: 35.59 kB / 372.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000855/0.02164, allocations: 0.4906 MB / 372.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.739e-05/0.02173, allocations: 104.3 kB / 372.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.02184, allocations: 46.03 kB / 372.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.02198, allocations: 20.5 kB / 372.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of SimCode: time 1.794e-06/0.02198, allocations: 0 / 372.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of Templates: time 0.005706/0.02769, allocations: 3.339 MB / 376.2 MB, free: 4.637 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: 3.1101731848903]