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.001122/0.001122, allocations: 77.97 kB / 21.46 MB, free: 3.035 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.0009015/0.0009015, allocations: 160.4 kB / 24.85 MB, free: 9.242 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 0.93/0.93, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.08841/0.08841, allocations: 18.14 MB / 280 MB, free: 11.16 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 9.42e-07/9.42e-07, allocations: 0 / 358.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.075e-05, allocations: 2.312 kB / 358.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.00285/0.002871, allocations: 1.803 MB / 360.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.003781, allocations: 0.6038 MB / 361 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.003856, allocations: 0 / 361 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.004085, allocations: 47.64 kB / 361 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.004212, allocations: 63.62 kB / 361.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.004438, allocations: 135.6 kB / 361.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.004641, allocations: 199.5 kB / 361.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.004739, allocations: 37.62 kB / 361.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.83e-05/0.004827, allocations: 79.8 kB / 361.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.004963, allocations: 103.7 kB / 361.6 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.00499, allocations: 20 kB / 361.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.005013, allocations: 16 kB / 361.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.005079, allocations: 71.73 kB / 361.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.005125, allocations: 51.83 kB / 361.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.00527, allocations: 139.4 kB / 361.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005272, allocations: 0 / 361.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005273, allocations: 0 / 361.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005277, allocations: 0 / 361.9 MB, free: 4.145 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.0006204/0.005897, allocations: 0.5388 MB / 362.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.005932, allocations: 16.86 kB / 362.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.005983, allocations: 28.8 kB / 362.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.006227, allocations: 220.7 kB / 362.7 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.006242, allocations: 8.609 kB / 362.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.006266, allocations: 16.31 kB / 362.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.006394, allocations: 92.05 kB / 362.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.006404, allocations: 192 / 362.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.006414, allocations: 4.375 kB / 362.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.006421, allocations: 7.938 kB / 362.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.736e-05/0.006508, allocations: 45.83 kB / 362.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.006947, allocations: 420.4 kB / 363.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.007137, allocations: 126.8 kB / 363.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.007184, allocations: 35.67 kB / 363.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.007199, allocations: 4 kB / 363.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.007219, allocations: 41.38 kB / 363.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.00722, allocations: 0 / 363.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002148/0.007434, allocations: 136.5 kB / 363.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.007462, allocations: 51.41 kB / 363.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.007619, allocations: 249.8 kB / 363.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.007634, allocations: 29.64 kB / 363.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.007698, allocations: 182.9 kB / 364.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.007741, allocations: 63.47 kB / 364.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.007784, allocations: 39.34 kB / 364.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.007902, allocations: 0.5117 MB / 364.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.007933, allocations: 15.98 kB / 364.8 MB, free: 1.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.007963, allocations: 15.98 kB / 364.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.008082, allocations: 98.2 kB / 364.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.008083, allocations: 0 / 364.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001431/0.008226, allocations: 137.4 kB / 365 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.008235, allocations: 4 kB / 365 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.008239, allocations: 3.938 kB / 365 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.008246, allocations: 0 / 365 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.008358, allocations: 39.91 kB / 365 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.008361, allocations: 0 / 365 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.008422, allocations: 19.95 kB / 365.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.008431, allocations: 4 kB / 365.1 MB, free: 0.7852 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.0001301/0.008561, allocations: 181.7 kB / 365.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.008597, allocations: 27.86 kB / 365.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.008782, allocations: 151.4 kB / 365.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.008785, allocations: 0 / 365.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.008787, allocations: 3.938 kB / 365.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.00879, allocations: 0 / 365.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.008938, allocations: 165.1 kB / 365.6 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008939, allocations: 0 / 365.6 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.009053, allocations: 31.92 kB / 365.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.009055, allocations: 0 / 365.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.009071, allocations: 12 kB / 365.6 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.009073, allocations: 3.984 kB / 365.6 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009073, allocations: 0 / 365.6 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.009334, allocations: 322.2 kB / 365.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.009356, allocations: 15.84 kB / 366 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.009376, allocations: 8 kB / 366 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.009451, allocations: 11.92 kB / 366 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.009499, allocations: 11.98 kB / 366 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.009509, allocations: 0 / 366 MB, free: 15.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.109e-05/0.00959, allocations: 192.2 kB / 366.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00959, allocations: 0 / 366.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001658/0.009756, allocations: 39.89 kB / 366.2 MB, free: 15.57 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 7.259e-05/0.009828, allocations: 99.25 kB / 366.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.009956, allocations: 86.3 kB / 366.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.61e-07/0.009957, allocations: 0 / 366.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.669e-05/0.01001, allocations: 59.58 kB / 366.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.0002205/0.01023, allocations: 45.48 kB / 366.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.01078, allocations: 426.3 kB / 366.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.953e-05/0.01083, allocations: 91.97 kB / 367 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.01089, allocations: 25.47 kB / 367 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.01099, allocations: 98.12 kB / 367.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01099, allocations: 0 / 367.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Templates: time 0.003591/0.01458, allocations: 2.184 MB / 369.3 MB, free: 12.44 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.8335366169922054]