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.001403/0.001403, allocations: 108.3 kB / 19.73 MB, free: 1.898 MB / 14.72 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.001675/0.001675, allocations: 212.6 kB / 23.01 MB, free: 4.992 MB / 14.72 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1113/0.1113, allocations: 24.03 MB / 337.2 MB, free: 11.34 MB / 270.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.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=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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 71.89 kB / 474.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4452, allocations: 59.57 MB / 0.5214 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.003/0.4482, allocations: 1.784 MB / 0.5231 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.4495, allocations: 0.6091 MB / 0.5237 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.4496, allocations: 7.188 kB / 0.5237 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.4499, allocations: 59.53 kB / 0.5238 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.4502, allocations: 70.36 kB / 0.5238 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.4506, allocations: 139.2 kB / 0.524 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.4511, allocations: 375.2 kB / 0.5243 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.4513, allocations: 34.45 kB / 0.5244 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.4515, allocations: 147.7 kB / 0.5245 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.4518, allocations: 171.6 kB / 0.5247 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.4519, allocations: 19.59 kB / 0.5247 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.946e-05/0.4519, allocations: 21.34 kB / 0.5247 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.4521, allocations: 95.77 kB / 0.5248 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.4522, allocations: 81.34 kB / 0.5249 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.4525, allocations: 247.3 kB / 0.5251 GB, free: 8.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4525, allocations: 1.062 kB / 0.5251 GB, free: 8.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4525, allocations: 3.938 kB / 0.5251 GB, free: 8.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4525, allocations: 0 / 0.5251 GB, free: 8.25 MB / 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.00173/0.4543, allocations: 0.6091 MB / 0.5257 GB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.4543, allocations: 9.703 kB / 0.5257 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.4544, allocations: 30.69 kB / 0.5258 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009277/0.4553, allocations: 305.6 kB / 0.526 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.4553, allocations: 9.688 kB / 0.5261 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.4554, allocations: 18.81 kB / 0.5261 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.4558, allocations: 178.8 kB / 0.5262 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.4558, allocations: 1.156 kB / 0.5262 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.4558, allocations: 5.062 kB / 0.5263 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.4558, allocations: 4.25 kB / 0.5263 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.4562, allocations: 173.7 kB / 0.5264 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.4572, allocations: 0.5386 MB / 0.5269 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.4576, allocations: 217.3 kB / 0.5272 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.4579, allocations: 115.1 kB / 0.5273 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.458, allocations: 7.906 kB / 0.5273 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.458, allocations: 33.09 kB / 0.5273 GB, free: 7.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.794e-06/0.458, allocations: 0 / 0.5273 GB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001857/0.4599, allocations: 0.5018 MB / 0.5278 GB, free: 6.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.4599, allocations: 54.69 kB / 0.5278 GB, free: 6.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009629/0.4609, allocations: 347.8 kB / 0.5282 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4609, allocations: 26.61 kB / 0.5282 GB, free: 6.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.461, allocations: 146.7 kB / 0.5283 GB, free: 6.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.4611, allocations: 87.97 kB / 0.5284 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.4612, allocations: 41.05 kB / 0.5285 GB, free: 6.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4614, allocations: 343.2 kB / 0.5288 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.4616, allocations: 94.08 kB / 0.5289 GB, free: 6.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.4618, allocations: 92.7 kB / 0.529 GB, free: 6.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.4639, allocations: 0.6238 MB / 0.5296 GB, free: 5.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4639, allocations: 1.062 kB / 0.5296 GB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008337/0.4648, allocations: 424.1 kB / 0.53 GB, free: 5.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4648, allocations: 4.969 kB / 0.53 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4648, allocations: 4.703 kB / 0.53 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003683/0.4652, allocations: 99.8 kB / 0.5301 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.4653, allocations: 33.05 kB / 0.5301 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.4674, allocations: 1.947 MB / 0.532 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.4678, allocations: 55.75 kB / 0.5321 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.4678, allocations: 8.844 kB / 0.5321 GB, free: 4.027 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.000264/0.4681, allocations: 163.5 kB / 0.5322 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.4681, allocations: 22.86 kB / 0.5323 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.108e-05/0.4682, allocations: 45.2 kB / 0.5323 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4682, allocations: 6.469 kB / 0.5323 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.4682, allocations: 1.469 kB / 0.5323 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4682, allocations: 3.141 kB / 0.5323 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.4686, allocations: 243.1 kB / 0.5325 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4686, allocations: 3.938 kB / 0.5326 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.4688, allocations: 30.56 kB / 0.5326 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.469, allocations: 69.66 kB / 0.5326 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.4691, allocations: 13.12 kB / 0.5327 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.4704, allocations: 1.723 MB / 0.5343 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4704, allocations: 0 / 0.5343 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.4713, allocations: 0.5416 MB / 0.5349 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.4714, allocations: 32.78 kB / 0.5349 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.4714, allocations: 9.391 kB / 0.5349 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.4718, allocations: 49.19 kB / 0.535 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.4718, allocations: 20.61 kB / 0.535 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.4719, allocations: 3.625 kB / 0.535 GB, free: 1.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006923/0.4725, allocations: 276.5 kB / 0.5352 GB, free: 1.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4725, allocations: 0 / 0.5352 GB, free: 1.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004382/0.473, allocations: 54.75 kB / 0.5353 GB, free: 1.668 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.0001414/0.4731, allocations: 105.2 kB / 0.5354 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007866/0.4739, allocations: 386.1 kB / 0.5358 GB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4739, allocations: 5.031 kB / 0.5358 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.4743, allocations: 256.6 kB / 0.536 GB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.4748, allocations: 37.97 kB / 0.5361 GB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.4758, allocations: 0.5698 MB / 0.5366 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.476, allocations: 169 kB / 0.5368 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.4762, allocations: 56.55 kB / 0.5368 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.4763, allocations: 19.27 kB / 0.5368 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4763, allocations: 7.938 kB / 0.5369 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of Templates: time 0.009101/0.4854, allocations: 3.458 MB / 0.5402 GB, free: 15.98 MB / 398.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.483442351222038] Failed to read output from testmodel.py, exit status != 0: 0.49651592783629894 0.524309177 0.06644918500000001 Calling exit ...