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.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.001015/0.001015, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002401, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001048/0.001048, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002404, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9439/0.9439, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09257/1.036, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] 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.07124/0.07124, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01036/0.0816, allocations: 6.785 MB / 269.1 MB, free: 6.23 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_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 1.813e-06/1.813e-06, allocations: 0 / 270.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.313e-05, allocations: 6.25 kB / 270.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003381/0.003405, allocations: 1.854 MB / 272.4 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.004489, allocations: 0.6154 MB / 273 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.833e-05/0.004587, allocations: 7.938 kB / 273 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.004818, allocations: 35.7 kB / 273 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.004987, allocations: 63.62 kB / 273.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.005318, allocations: 135.7 kB / 273.2 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.005619, allocations: 195.5 kB / 273.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.005741, allocations: 38.28 kB / 273.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.005976, allocations: 132.5 kB / 273.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.006188, allocations: 99.73 kB / 273.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.006233, allocations: 16 kB / 273.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.176e-05/0.006265, allocations: 16 kB / 273.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.006354, allocations: 59.78 kB / 273.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.006413, allocations: 35.88 kB / 273.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.006619, allocations: 127.4 kB / 273.9 MB, free: 1.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.006632, allocations: 3.984 kB / 273.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006634, allocations: 0 / 273.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.006645, allocations: 0 / 273.9 MB, free: 1.332 MB / 266.7 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.0007816/0.007427, allocations: 455.7 kB / 274.4 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.007464, allocations: 12.03 kB / 274.4 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/0.007525, allocations: 20.92 kB / 274.4 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.007835, allocations: 202 kB / 274.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.007857, allocations: 16.59 kB / 274.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.007892, allocations: 12.38 kB / 274.6 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.008083, allocations: 106.6 kB / 274.7 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.008095, allocations: 3.953 kB / 274.7 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.008113, allocations: 4 kB / 274.7 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.00812, allocations: 4 kB / 274.7 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.008232, allocations: 37.14 kB / 274.8 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.008774, allocations: 317.9 kB / 275.1 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.131/0.1397, allocations: 159.9 kB / 275.2 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.1398, allocations: 30.03 kB / 275.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1399, allocations: 2.844 kB / 275.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1399, allocations: 33.62 kB / 275.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.374e-06/0.1399, allocations: 0 / 275.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002332/0.1401, allocations: 106.7 kB / 275.4 MB, free: 3.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.1401, allocations: 58.3 kB / 275.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1403, allocations: 189.8 kB / 275.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1403, allocations: 29.52 kB / 275.7 MB, free: 2.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.1403, allocations: 110.8 kB / 275.8 MB, free: 2.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.1403, allocations: 68.23 kB / 275.9 MB, free: 2.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.1404, allocations: 34.34 kB / 275.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.1404, allocations: 340.1 kB / 276.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.1405, allocations: 21.97 kB / 276.2 MB, free: 2.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.1405, allocations: 13.52 kB / 276.3 MB, free: 2.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1407, allocations: 92.67 kB / 276.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1407, allocations: 0 / 276.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000134/0.1408, allocations: 106.5 kB / 276.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1408, allocations: 4.531 kB / 276.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1408, allocations: 3.641 kB / 276.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1408, allocations: 0 / 276.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.141, allocations: 40.33 kB / 276.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.141, allocations: 3.25 kB / 276.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.1411, allocations: 13.62 kB / 276.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.1411, allocations: 7.078 kB / 276.5 MB, free: 2.484 MB / 266.7 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.0001408/0.1412, allocations: 137.2 kB / 276.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.1412, allocations: 18.72 kB / 276.7 MB, free: 2.359 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.1414, allocations: 133.5 kB / 276.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1414, allocations: 2.719 kB / 276.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1414, allocations: 2.484 kB / 276.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1414, allocations: 2.828 kB / 276.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1416, allocations: 132.5 kB / 276.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1416, allocations: 2.188 kB / 276.9 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.1418, allocations: 36.77 kB / 277 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.1418, allocations: 22.02 kB / 277 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1418, allocations: 3.234 kB / 277 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1418, allocations: 6.656 kB / 277 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1418, allocations: 1.375 kB / 277 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1418, allocations: 0.5625 kB / 277 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.1421, allocations: 295.3 kB / 277.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1421, allocations: 10.91 kB / 277.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.1422, allocations: 5.047 kB / 277.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.1422, allocations: 15.25 kB / 277.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1422, allocations: 3.531 kB / 277.3 MB, free: 2.051 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.569e-05/0.1423, allocations: 61.17 kB / 277.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1423, allocations: 0 / 277.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.1424, allocations: 33.66 kB / 277.4 MB, free: 2.043 MB / 266.7 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 8.826e-05/0.1425, allocations: 85.33 kB / 277.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.1427, allocations: 74.86 kB / 277.6 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.1427, allocations: 4.016 kB / 277.6 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.1427, allocations: 60.36 kB / 277.7 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.143, allocations: 174.1 kB / 277.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007541/0.1438, allocations: 421.2 kB / 278.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.36e-05/0.1438, allocations: 89.95 kB / 278.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.016e-05/0.1439, allocations: 23.02 kB / 278.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.144, allocations: 81.75 kB / 278.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.144, allocations: 0.5312 kB / 278.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of Templates: time 0.005091/0.1491, allocations: 2.357 MB / 280.8 MB, free: 1.383 MB / 266.7 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=240 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.638662681914866]