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.001455/0.001455, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001859/0.001859, allocations: 156 kB / 23.01 MB, free: 4.605 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.543/1.543, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.09724/0.09724, allocations: 17.81 MB / 277.6 MB, free: 15.33 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.002708/0.002708, allocations: 67.89 kB / 414.6 MB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1517, allocations: 59.55 MB / 474.2 MB, free: 8.824 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.003799/0.1555, allocations: 1.788 MB / 476 MB, free: 7.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1569, allocations: 0.6118 MB / 476.6 MB, free: 6.406 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.1571, allocations: 4 kB / 476.6 MB, free: 6.402 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.1575, allocations: 55.58 kB / 476.7 MB, free: 6.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.1578, allocations: 79.59 kB / 476.7 MB, free: 6.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.1583, allocations: 135.7 kB / 476.9 MB, free: 6.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006721/0.1589, allocations: 367.3 kB / 477.2 MB, free: 5.777 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.1591, allocations: 42.17 kB / 477.3 MB, free: 5.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.1594, allocations: 143.5 kB / 477.4 MB, free: 5.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003825/0.1598, allocations: 171.4 kB / 477.6 MB, free: 5.422 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.82e-05/0.1599, allocations: 20 kB / 477.6 MB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.654e-05/0.1599, allocations: 24 kB / 477.6 MB, free: 5.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1601, allocations: 95.66 kB / 477.7 MB, free: 5.281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.1603, allocations: 83.52 kB / 477.8 MB, free: 5.199 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.1607, allocations: 246.9 kB / 478 MB, free: 4.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1607, allocations: 0 / 478 MB, free: 4.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1607, allocations: 0 / 478 MB, free: 4.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1607, allocations: 0 / 478 MB, free: 4.957 MB / 446.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.001964/0.1626, allocations: 0.61 MB / 478.6 MB, free: 4.316 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1627, allocations: 8.922 kB / 478.6 MB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.1628, allocations: 32.73 kB / 478.7 MB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009494/0.1637, allocations: 309.3 kB / 479 MB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.1637, allocations: 20.36 kB / 479 MB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.1638, allocations: 12.38 kB / 479 MB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.1641, allocations: 181.9 kB / 479.2 MB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1642, allocations: 0 / 479.2 MB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1642, allocations: 4 kB / 479.2 MB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.1642, allocations: 4 kB / 479.2 MB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.1645, allocations: 167.8 kB / 479.4 MB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.1657, allocations: 0.5468 MB / 479.9 MB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.1661, allocations: 214.5 kB / 480.1 MB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.1663, allocations: 108.8 kB / 480.2 MB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.1663, allocations: 11.88 kB / 480.2 MB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1664, allocations: 30.94 kB / 480.3 MB, free: 2.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.1664, allocations: 0 / 480.3 MB, free: 2.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001558/0.1679, allocations: 0.5096 MB / 480.8 MB, free: 2.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.168, allocations: 59.34 kB / 480.8 MB, free: 2.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/0.1688, allocations: 345.8 kB / 481.2 MB, free: 1.676 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1688, allocations: 25.7 kB / 481.2 MB, free: 1.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1689, allocations: 144.5 kB / 481.3 MB, free: 1.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.649e-05/0.169, allocations: 83.31 kB / 481.4 MB, free: 1.418 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.1691, allocations: 41.7 kB / 481.5 MB, free: 1.371 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1692, allocations: 342.8 kB / 481.8 MB, free: 1.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.1694, allocations: 92.17 kB / 481.9 MB, free: 0.9375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.1696, allocations: 88.41 kB / 482 MB, free: 0.8516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.1716, allocations: 0.6337 MB / 482.6 MB, free: 224 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1716, allocations: 0 / 482.6 MB, free: 224 kB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.3176/0.4891, allocations: 421.3 kB / 483 MB, free: 52.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.4892, allocations: 3.969 kB / 483 MB, free: 52.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4892, allocations: 2.344 kB / 483 MB, free: 52.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.4895, allocations: 105.9 kB / 483.1 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4897, allocations: 33.39 kB / 483.2 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.4915, allocations: 1.938 MB / 485.1 MB, free: 50.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.4919, allocations: 55.59 kB / 485.2 MB, free: 50.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.4919, allocations: 10.34 kB / 485.2 MB, free: 50.75 MB / 446.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.0001959/0.4921, allocations: 160.4 kB / 485.3 MB, free: 50.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.4921, allocations: 28.22 kB / 485.3 MB, free: 50.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.4922, allocations: 45.56 kB / 485.4 MB, free: 50.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4922, allocations: 0 / 485.4 MB, free: 50.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4922, allocations: 3.25 kB / 485.4 MB, free: 50.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4922, allocations: 0 / 485.4 MB, free: 50.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.4925, allocations: 240.3 kB / 485.6 MB, free: 50.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.4925, allocations: 3.938 kB / 485.6 MB, free: 50.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.4927, allocations: 36.16 kB / 485.7 MB, free: 50.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/0.4929, allocations: 67.22 kB / 485.7 MB, free: 50.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.4929, allocations: 11.86 kB / 485.7 MB, free: 50.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.494, allocations: 1.721 MB / 487.5 MB, free: 49.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.494, allocations: 0 / 487.5 MB, free: 49.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/0.4948, allocations: 0.5394 MB / 488 MB, free: 49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.4948, allocations: 32.72 kB / 488 MB, free: 48.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.4948, allocations: 6.906 kB / 488 MB, free: 48.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.4952, allocations: 48.67 kB / 488.1 MB, free: 48.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.4953, allocations: 19.28 kB / 488.1 MB, free: 48.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.4953, allocations: 4.125 kB / 488.1 MB, free: 48.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005879/0.4959, allocations: 281.5 kB / 488.4 MB, free: 48.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4959, allocations: 0 / 488.4 MB, free: 48.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000382/0.4963, allocations: 52.58 kB / 488.4 MB, free: 48.91 MB / 446.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 8.789e-05/0.4963, allocations: 116.5 kB / 488.6 MB, free: 48.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006136/0.497, allocations: 388.6 kB / 488.9 MB, free: 48.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.497, allocations: 0 / 488.9 MB, free: 48.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.4973, allocations: 252.6 kB / 489.2 MB, free: 48.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.4976, allocations: 40.42 kB / 489.2 MB, free: 48.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.4984, allocations: 0.582 MB / 489.8 MB, free: 48.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.4986, allocations: 162.8 kB / 490 MB, free: 48.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.4987, allocations: 55.27 kB / 490 MB, free: 48.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.4987, allocations: 26.34 kB / 490 MB, free: 48.16 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4987, allocations: 0 / 490 MB, free: 48.16 MB / 446.1 MB Notification: Performance of Templates: time 0.006377/0.5051, allocations: 3.301 MB / 493.3 MB, free: 47.89 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Smith_predictor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.268532154965214] Failed to read output from testmodel.py, exit status != 0: 0.5145909200655296 0.523419136 0.360445902 Calling exit ...