Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.001328/0.001328, allocations: 106.1 kB / 16.45 MB, free: 6.5 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.001378/0.001378, allocations: 190.9 kB / 19.4 MB, free: 3.68 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.515/1.515, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.1006/0.1006, allocations: 22.71 MB / 325.4 MB, free: 3.52 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_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 67.91 kB / 457.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1287, allocations: 58.02 MB / 0.5036 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003333/0.132, allocations: 1.813 MB / 0.5053 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1332, allocations: 0.5845 MB / 0.5059 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1333, allocations: 7.938 kB / 0.5059 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.1336, allocations: 43.64 kB / 0.506 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1338, allocations: 55.7 kB / 0.506 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1341, allocations: 103.8 kB / 0.5061 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.1344, allocations: 255.5 kB / 0.5064 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1346, allocations: 41.58 kB / 0.5064 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.1347, allocations: 107.6 kB / 0.5065 GB, free: 4.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.135, allocations: 123.6 kB / 0.5066 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.135, allocations: 19.94 kB / 0.5066 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.042e-05/0.135, allocations: 16 kB / 0.5067 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.743e-05/0.1351, allocations: 71.75 kB / 0.5067 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.1352, allocations: 91.44 kB / 0.5068 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1354, allocations: 167.3 kB / 0.507 GB, free: 3.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1354, allocations: 0 / 0.507 GB, free: 3.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1354, allocations: 0 / 0.507 GB, free: 3.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1355, allocations: 0 / 0.507 GB, free: 3.652 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001349/0.1368, allocations: 0.5844 MB / 0.5075 GB, free: 3.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1368, allocations: 8.031 kB / 0.5075 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.1369, allocations: 24.8 kB / 0.5076 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007283/0.1376, allocations: 319.6 kB / 0.5079 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.1377, allocations: 8.609 kB / 0.5079 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.1377, allocations: 12.38 kB / 0.5079 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.138, allocations: 155.1 kB / 0.508 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.138, allocations: 0 / 0.508 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.1381, allocations: 4 kB / 0.508 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1381, allocations: 8 kB / 0.5081 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.1384, allocations: 128.6 kB / 0.5082 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1394, allocations: 0.5364 MB / 0.5087 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.1399, allocations: 202.3 kB / 0.5089 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.1401, allocations: 81.09 kB / 0.509 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.1401, allocations: 3.938 kB / 0.509 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1402, allocations: 38.56 kB / 0.509 GB, free: 1.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.1402, allocations: 3.938 kB / 0.509 GB, free: 1.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000592/0.1408, allocations: 257.3 kB / 0.5093 GB, free: 1.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.1408, allocations: 59.41 kB / 0.5093 GB, free: 1.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.1414, allocations: 262.9 kB / 0.5096 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.1414, allocations: 29.7 kB / 0.5096 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.1415, allocations: 132 kB / 0.5097 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.1416, allocations: 63.42 kB / 0.5098 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.1416, allocations: 45.7 kB / 0.5098 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1418, allocations: 330.8 kB / 0.5101 GB, free: 188 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1419, allocations: 55.97 kB / 0.5102 GB, free: 132 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1421, allocations: 63.95 kB / 0.5103 GB, free: 68 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2486/0.3907, allocations: 460.9 kB / 0.5107 GB, free: 15.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3907, allocations: 1.25 kB / 0.5107 GB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000487/0.3911, allocations: 235.5 kB / 0.5109 GB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3912, allocations: 5.562 kB / 0.5109 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3912, allocations: 1.875 kB / 0.5109 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3912, allocations: 1.188 kB / 0.5109 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.3915, allocations: 45.03 kB / 0.511 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3915, allocations: 1.219 kB / 0.511 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.3918, allocations: 38.64 kB / 0.511 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.3918, allocations: 10.92 kB / 0.511 GB, free: 15.89 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.392, allocations: 145 kB / 0.5112 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.392, allocations: 18.5 kB / 0.5112 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006904/0.3927, allocations: 236.3 kB / 0.5114 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.3928, allocations: 7.344 kB / 0.5114 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.3928, allocations: 2.109 kB / 0.5114 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3928, allocations: 7.156 kB / 0.5114 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.3932, allocations: 285.6 kB / 0.5117 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3932, allocations: 0 / 0.5117 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.3934, allocations: 34.81 kB / 0.5117 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3935, allocations: 2 kB / 0.5117 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.3935, allocations: 5.141 kB / 0.5117 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3935, allocations: 5.594 kB / 0.5117 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3935, allocations: 0 / 0.5117 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.3941, allocations: 412.3 kB / 0.5121 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.3942, allocations: 99.61 kB / 0.5122 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.3942, allocations: 11.45 kB / 0.5122 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.3945, allocations: 33.23 kB / 0.5123 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.3946, allocations: 9.578 kB / 0.5123 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.3946, allocations: 3.625 kB / 0.5123 GB, free: 15.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004295/0.395, allocations: 210.4 kB / 0.5125 GB, free: 15.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.395, allocations: 0 / 0.5125 GB, free: 15.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.3953, allocations: 36.67 kB / 0.5125 GB, free: 15.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.763e-05/0.3954, allocations: 103.5 kB / 0.5126 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003468/0.3958, allocations: 176.3 kB / 0.5128 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3958, allocations: 0 / 0.5128 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.3959, allocations: 85.27 kB / 0.5129 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.3963, allocations: 37.38 kB / 0.5129 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.3972, allocations: 0.4943 MB / 0.5134 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3974, allocations: 0.7508 MB / 0.5141 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.3975, allocations: 49.59 kB / 0.5142 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.3976, allocations: 19.03 kB / 0.5142 GB, free: 14.2 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3976, allocations: 0 / 0.5142 GB, free: 14.2 MB / 382.1 MB Notification: Performance of Templates: time 0.005774/0.4034, allocations: 1.963 MB / 0.5161 GB, free: 14.11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.058218422811478] Failed to read output from testmodel.py, exit status != 0: 0.41222459310665727 0.424963788 0.286070881 Calling exit ...