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.001355/0.001355, allocations: 87.58 kB / 20.45 MB, free: 4.125 MB / 18.57 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.001637/0.001637, allocations: 169 kB / 23.82 MB, free: 0.7539 MB / 18.57 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.031/1.031, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.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.06452/0.06452, allocations: 18.13 MB / 278.9 MB, free: 11.33 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 / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.026e-05, allocations: 10.25 kB / 357.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.00293/0.00296, allocations: 1.822 MB / 359.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.004061, allocations: 0.5998 MB / 359.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.004155, allocations: 4 kB / 359.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.004491, allocations: 43.64 kB / 359.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.004676, allocations: 63.62 kB / 359.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.004973, allocations: 131.7 kB / 360 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.005237, allocations: 203.5 kB / 360.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.005364, allocations: 45.56 kB / 360.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.005485, allocations: 79.78 kB / 360.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.005667, allocations: 107.7 kB / 360.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.00571, allocations: 16 kB / 360.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.475e-05/0.005735, allocations: 16 kB / 360.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.005822, allocations: 63.75 kB / 360.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.263e-05/0.005895, allocations: 55.81 kB / 360.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.006108, allocations: 135.4 kB / 360.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.006112, allocations: 8 kB / 360.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006113, allocations: 0 / 360.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.006119, allocations: 0 / 360.7 MB, free: 4.418 MB / 282.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.0008076/0.006926, allocations: 0.5545 MB / 361.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.006971, allocations: 12.92 kB / 361.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.007048, allocations: 32.8 kB / 361.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.007413, allocations: 240.6 kB / 361.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.007438, allocations: 8.609 kB / 361.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.007471, allocations: 12.38 kB / 361.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.00769, allocations: 100 kB / 361.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.007703, allocations: 192 / 361.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.007724, allocations: 4.375 kB / 361.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.00774, allocations: 7.938 kB / 361.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.007901, allocations: 60.64 kB / 361.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009282/0.008829, allocations: 464.3 kB / 362.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.009152, allocations: 134.9 kB / 362.3 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.009239, allocations: 39.67 kB / 362.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.009266, allocations: 7.984 kB / 362.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.009298, allocations: 41.33 kB / 362.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.009299, allocations: 0 / 362.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003844/0.009684, allocations: 149.2 kB / 362.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.009727, allocations: 55.41 kB / 362.6 MB, free: 2.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.009919, allocations: 245.9 kB / 362.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.00994, allocations: 33.7 kB / 362.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.01004, allocations: 179 kB / 363 MB, free: 1.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.01011, allocations: 59.48 kB / 363.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.01018, allocations: 43.36 kB / 363.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.01034, allocations: 0.5117 MB / 363.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.01038, allocations: 15.98 kB / 363.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.01043, allocations: 27.92 kB / 363.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.0106, allocations: 110.6 kB / 363.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.0106, allocations: 0 / 363.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001851/0.01079, allocations: 148.1 kB / 363.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01081, allocations: 7.938 kB / 363.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.01081, allocations: 4 kB / 363.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01083, allocations: 7.922 kB / 363.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01095, allocations: 35.92 kB / 364 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01096, allocations: 0 / 364 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.01103, allocations: 19.94 kB / 364 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.01104, allocations: 4 kB / 364 MB, free: 0.8867 MB / 282.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.0001341/0.01117, allocations: 189.7 kB / 364.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.0112, allocations: 23.86 kB / 364.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.01144, allocations: 166.2 kB / 364.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01144, allocations: 7.938 kB / 364.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01144, allocations: 0 / 364.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01145, allocations: 3.984 kB / 364.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.01161, allocations: 184.5 kB / 364.6 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01161, allocations: 7.984 kB / 364.6 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.01174, allocations: 35.92 kB / 364.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01174, allocations: 0 / 364.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.01176, allocations: 7.984 kB / 364.6 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01176, allocations: 4 kB / 364.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01176, allocations: 3.938 kB / 364.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.01207, allocations: 331.7 kB / 364.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.01209, allocations: 15.84 kB / 365 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.01211, allocations: 8 kB / 365 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.0122, allocations: 15.97 kB / 365 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.01224, allocations: 15.92 kB / 365 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.01225, allocations: 4 kB / 365 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.197e-05/0.01234, allocations: 192.3 kB / 365.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01234, allocations: 0 / 365.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001652/0.01251, allocations: 39.89 kB / 365.2 MB, free: 15.59 MB / 298.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 9.304e-05/0.0126, allocations: 99.19 kB / 365.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.0128, allocations: 95.48 kB / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0128, allocations: 0 / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.01287, allocations: 66.56 kB / 365.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.01315, allocations: 42.61 kB / 365.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.01378, allocations: 430.3 kB / 365.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.01383, allocations: 87.97 kB / 366 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.0139, allocations: 37.39 kB / 366.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/0.01397, allocations: 28.48 kB / 366.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01397, allocations: 0 / 366.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of Templates: time 0.003877/0.01784, allocations: 2.082 MB / 368.2 MB, free: 12.6 MB / 298.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.8792124311439693]