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.001412/0.001412, allocations: 80.23 kB / 20.23 MB, free: 4.203 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.001618/0.001618, allocations: 157.7 kB / 23.53 MB, free: 0.8984 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.503/1.503, 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.1082/0.1082, allocations: 18.13 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 2.164e-06/2.164e-06, allocations: 0 / 357.3 MB, free: 7.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.668e-05/3.884e-05, allocations: 2.312 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.005781/0.00582, allocations: 1.776 MB / 359.1 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.008358, allocations: 0.6155 MB / 359.7 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.008515, allocations: 11.88 kB / 359.7 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006082/0.009124, allocations: 55.62 kB / 359.8 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.009551, allocations: 67.61 kB / 359.8 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.0106, allocations: 191.5 kB / 360 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000572/0.01118, allocations: 219.5 kB / 360.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.01139, allocations: 42.14 kB / 360.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.01165, allocations: 91.78 kB / 360.4 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.01212, allocations: 147.6 kB / 360.5 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.333e-05/0.0122, allocations: 20 kB / 360.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.01227, allocations: 20 kB / 360.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.01251, allocations: 95.7 kB / 360.6 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.01268, allocations: 63.77 kB / 360.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.01325, allocations: 243.2 kB / 360.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.01326, allocations: 0 / 360.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.01326, allocations: 0 / 360.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.01327, allocations: 0 / 360.9 MB, free: 3.742 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.003416/0.01668, allocations: 0.6217 MB / 361.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.01673, allocations: 8.922 kB / 361.6 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.0169, allocations: 40.8 kB / 361.6 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.01852, allocations: 308.6 kB / 361.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.01855, allocations: 8.375 kB / 361.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.471e-05/0.01864, allocations: 20.38 kB / 361.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.01928, allocations: 174.1 kB / 362.1 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.01931, allocations: 192 / 362.1 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.01935, allocations: 8.375 kB / 362.1 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.01936, allocations: 3.938 kB / 362.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.02003, allocations: 171.9 kB / 362.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.02214, allocations: 0.5468 MB / 362.8 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009538/0.02309, allocations: 214.3 kB / 363.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.02349, allocations: 116.8 kB / 363.2 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.948e-05/0.02354, allocations: 4 kB / 363.2 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.0236, allocations: 30.56 kB / 363.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.0236, allocations: 0 / 363.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.002813/0.02641, allocations: 0.5168 MB / 363.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.02649, allocations: 55.41 kB / 363.8 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.028, allocations: 345.8 kB / 364.1 MB, free: 448 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.02805, allocations: 29.7 kB / 364.1 MB, free: 412 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.02826, allocations: 148.5 kB / 364.3 MB, free: 260 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.02841, allocations: 75.34 kB / 364.4 MB, free: 184 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.02856, allocations: 41.7 kB / 364.4 MB, free: 136 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003337/0.02889, allocations: 342.8 kB / 364.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.02923, allocations: 92.17 kB / 364.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.02958, allocations: 96.34 kB / 364.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/0.03381, allocations: 0.6256 MB / 365.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.03381, allocations: 0 / 365.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001452/0.03527, allocations: 423.4 kB / 366 MB, free: 14.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.03529, allocations: 4 kB / 366 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.0353, allocations: 0 / 366 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007043/0.036, allocations: 124.7 kB / 366.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.03628, allocations: 31.92 kB / 366.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/0.03986, allocations: 1.958 MB / 368.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.04039, allocations: 59.91 kB / 368.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.04041, allocations: 8 kB / 368.1 MB, free: 12.27 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.0003119/0.04073, allocations: 163 kB / 368.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.04084, allocations: 35.81 kB / 368.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.04095, allocations: 34.27 kB / 368.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.04096, allocations: 4 kB / 368.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.04096, allocations: 0 / 368.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.04097, allocations: 3.938 kB / 368.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.04149, allocations: 241.2 kB / 368.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.04149, allocations: 0 / 368.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.04172, allocations: 27.98 kB / 368.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002884/0.04201, allocations: 76.78 kB / 368.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.04203, allocations: 15.88 kB / 368.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/0.04428, allocations: 1.723 MB / 370.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.04428, allocations: 0 / 370.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.04534, allocations: 0.5495 MB / 371 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.04541, allocations: 35.81 kB / 371 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.04546, allocations: 15.92 kB / 371 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.04585, allocations: 39.94 kB / 371.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.04594, allocations: 15.97 kB / 371.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.04596, allocations: 11.98 kB / 371.1 MB, free: 9.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007404/0.0467, allocations: 273.1 kB / 371.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0467, allocations: 0 / 371.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004277/0.04713, allocations: 56 kB / 371.4 MB, free: 8.805 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.0001792/0.0473, allocations: 103.2 kB / 371.5 MB, free: 8.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008355/0.04814, allocations: 390.2 kB / 371.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.04814, allocations: 0 / 371.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.04862, allocations: 258.4 kB / 372.2 MB, free: 8.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.04902, allocations: 32.48 kB / 372.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.05021, allocations: 0.567 MB / 372.8 MB, free: 7.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.05043, allocations: 161.1 kB / 372.9 MB, free: 7.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.05059, allocations: 57.91 kB / 373 MB, free: 7.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.05067, allocations: 20.5 kB / 373 MB, free: 7.152 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.05067, allocations: 0 / 373 MB, free: 7.152 MB / 298.7 MB Notification: Performance of Templates: time 0.008087/0.05876, allocations: 3.33 MB / 376.3 MB, free: 3.848 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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.68993346998468]