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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 189.9 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 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.1/0.1, allocations: 22.7 MB / 329 MB, free: 2.355 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 79.86 kB / 463.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1451, allocations: 58.05 MB / 0.5089 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.003232/0.1483, allocations: 1.843 MB / 0.5107 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1496, allocations: 0.6234 MB / 0.5113 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.1497, allocations: 7.938 kB / 0.5114 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.1501, allocations: 55.62 kB / 0.5114 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1503, allocations: 67.67 kB / 0.5115 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.1507, allocations: 147.7 kB / 0.5116 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005454/0.1512, allocations: 379.3 kB / 0.512 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.1513, allocations: 38.17 kB / 0.512 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.1516, allocations: 147.5 kB / 0.5121 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.1519, allocations: 175.4 kB / 0.5123 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.909e-05/0.1519, allocations: 20 kB / 0.5123 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.3e-05/0.152, allocations: 20 kB / 0.5124 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.1521, allocations: 99.72 kB / 0.5124 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.1523, allocations: 103.3 kB / 0.5125 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.1526, allocations: 242.9 kB / 0.5128 GB, free: 480 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1526, allocations: 0 / 0.5128 GB, free: 480 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1526, allocations: 0 / 0.5128 GB, free: 480 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1526, allocations: 0 / 0.5128 GB, free: 480 kB / 382.1 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.2709/0.4235, allocations: 0.6022 MB / 0.5134 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.4236, allocations: 10.75 kB / 0.5134 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.836e-05/0.4237, allocations: 30.8 kB / 0.5134 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000955/0.4246, allocations: 310.1 kB / 0.5137 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.4246, allocations: 10.62 kB / 0.5137 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.4247, allocations: 13.47 kB / 0.5137 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.4251, allocations: 179.2 kB / 0.5139 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.4251, allocations: 1.656 kB / 0.5139 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4251, allocations: 9.875 kB / 0.5139 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4251, allocations: 3.5 kB / 0.5139 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.4255, allocations: 170.5 kB / 0.5141 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.4266, allocations: 0.6242 MB / 0.5147 GB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.427, allocations: 212 kB / 0.5149 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.4272, allocations: 112.8 kB / 0.515 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.4272, allocations: 2.969 kB / 0.515 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4272, allocations: 35.75 kB / 0.515 GB, free: 14.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.4272, allocations: 0 / 0.515 GB, free: 14.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001538/0.4288, allocations: 0.5089 MB / 0.5155 GB, free: 14.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.4288, allocations: 55.25 kB / 0.5156 GB, free: 14.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.4296, allocations: 346.5 kB / 0.5159 GB, free: 14.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.4296, allocations: 29.33 kB / 0.5159 GB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.4297, allocations: 147.3 kB / 0.5161 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.4298, allocations: 89.72 kB / 0.5162 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.4299, allocations: 39.5 kB / 0.5162 GB, free: 14.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.43, allocations: 341 kB / 0.5165 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.4301, allocations: 89.81 kB / 0.5166 GB, free: 14.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.4303, allocations: 93.89 kB / 0.5167 GB, free: 14.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/0.4322, allocations: 0.6201 MB / 0.5173 GB, free: 14.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4323, allocations: 4 kB / 0.5173 GB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008162/0.4331, allocations: 422.1 kB / 0.5177 GB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.4331, allocations: 5.719 kB / 0.5177 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4331, allocations: 0 / 0.5177 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003773/0.4335, allocations: 106.5 kB / 0.5178 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.4336, allocations: 31.06 kB / 0.5179 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.4356, allocations: 1.987 MB / 0.5198 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.436, allocations: 54.58 kB / 0.5198 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.436, allocations: 13 kB / 0.5199 GB, free: 12.58 MB / 382.1 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.0002049/0.4362, allocations: 150.2 kB / 0.52 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.4363, allocations: 27.39 kB / 0.52 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.396e-05/0.4364, allocations: 47 kB / 0.5201 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4364, allocations: 2.562 kB / 0.5201 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4364, allocations: 0.875 kB / 0.5201 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4364, allocations: 5.203 kB / 0.5201 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.4368, allocations: 308.4 kB / 0.5204 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4368, allocations: 0 / 0.5204 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.437, allocations: 31.5 kB / 0.5204 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.4372, allocations: 76.38 kB / 0.5205 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.4372, allocations: 7.797 kB / 0.5205 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.4387, allocations: 1.753 MB / 0.5222 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4387, allocations: 3.828 kB / 0.5222 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.4397, allocations: 0.5438 MB / 0.5227 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.4398, allocations: 28.64 kB / 0.5228 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.4398, allocations: 13.41 kB / 0.5228 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.4403, allocations: 41.52 kB / 0.5228 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.4404, allocations: 19.67 kB / 0.5228 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.4404, allocations: 4.719 kB / 0.5228 GB, free: 10.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007129/0.4411, allocations: 276 kB / 0.5231 GB, free: 10.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4411, allocations: 0 / 0.5231 GB, free: 10.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000439/0.4415, allocations: 61.77 kB / 0.5232 GB, free: 10.18 MB / 382.1 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.0001194/0.4416, allocations: 108.3 kB / 0.5233 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007879/0.4424, allocations: 378 kB / 0.5236 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4424, allocations: 0 / 0.5236 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.4428, allocations: 257 kB / 0.5239 GB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.4432, allocations: 39.61 kB / 0.5239 GB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.4443, allocations: 0.5891 MB / 0.5245 GB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.4446, allocations: 0.77 MB / 0.5252 GB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.4448, allocations: 55.91 kB / 0.5253 GB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.4448, allocations: 19.38 kB / 0.5253 GB, free: 8.691 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4448, allocations: 0 / 0.5253 GB, free: 8.691 MB / 382.1 MB Notification: Performance of Templates: time 0.009331/0.4542, allocations: 3.29 MB / 0.5285 GB, free: 8.504 MB / 382.1 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_STATS -s=dassl -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: 5.416506676003337] Failed to read output from testmodel.py, exit status != 0: 0.46357064321637154 0.47764658099999996 0.32210755900000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe82b7497b0>