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.001846/0.001846, allocations: 84.98 kB / 20.23 MB, free: 4.184 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.001983/0.001983, allocations: 165.3 kB / 23.55 MB, free: 0.8672 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.575/1.575, allocations: 177.1 MB / 203.9 MB, free: 5.242 MB / 186.7 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.1142/0.1142, allocations: 18.14 MB / 278.5 MB, free: 11.22 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 2.004e-06/2.004e-06, allocations: 0 / 356.5 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.241e-05, allocations: 6.312 kB / 356.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003284/0.003317, allocations: 1.784 MB / 358.3 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.004563, allocations: 0.596 MB / 358.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.004645, allocations: 4 kB / 358.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.004945, allocations: 47.69 kB / 358.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.00515, allocations: 59.58 kB / 359 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.005507, allocations: 131.7 kB / 359.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.005815, allocations: 211.4 kB / 359.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.005923, allocations: 29.66 kB / 359.4 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.006057, allocations: 83.8 kB / 359.4 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.006261, allocations: 107.7 kB / 359.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.006316, allocations: 12 kB / 359.6 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.712e-05/0.006354, allocations: 16 kB / 359.6 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.006463, allocations: 67.73 kB / 359.6 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.006543, allocations: 47.84 kB / 359.7 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.006816, allocations: 191.3 kB / 359.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.006818, allocations: 0 / 359.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006819, allocations: 0 / 359.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.006825, allocations: 0 / 359.9 MB, free: 4.855 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.001186/0.008011, allocations: 0.5697 MB / 360.4 MB, free: 4.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.008051, allocations: 8.922 kB / 360.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.008137, allocations: 32.8 kB / 360.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.008617, allocations: 220 kB / 360.7 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.008644, allocations: 8.609 kB / 360.7 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.008679, allocations: 12.38 kB / 360.7 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.008944, allocations: 120 kB / 360.8 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.008956, allocations: 192 / 360.8 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.008971, allocations: 4.312 kB / 360.8 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.00898, allocations: 7.938 kB / 360.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.00924, allocations: 84.64 kB / 360.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.01019, allocations: 492.2 kB / 361.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.01062, allocations: 148 kB / 361.6 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.01075, allocations: 55.61 kB / 361.6 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.01078, allocations: 4 kB / 361.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.01081, allocations: 37.39 kB / 361.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.01081, allocations: 0 / 361.7 MB, free: 2.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004874/0.0113, allocations: 184.8 kB / 361.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.01135, allocations: 55.41 kB / 361.9 MB, free: 2.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.01175, allocations: 285.8 kB / 362.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.01178, allocations: 29.7 kB / 362.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.01192, allocations: 186.7 kB / 362.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.012, allocations: 67.47 kB / 362.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.01208, allocations: 43.38 kB / 362.5 MB, free: 2.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003029/0.01238, allocations: 0.5196 MB / 363 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.01249, allocations: 35.92 kB / 363 MB, free: 1.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/0.01258, allocations: 31.98 kB / 363.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.01294, allocations: 154.2 kB / 363.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01294, allocations: 0 / 363.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003713/0.01331, allocations: 161.5 kB / 363.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.01333, allocations: 8.766 kB / 363.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.01334, allocations: 4 kB / 363.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.01336, allocations: 3.938 kB / 363.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.01357, allocations: 35.92 kB / 363.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01358, allocations: 0 / 363.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.01373, allocations: 23.94 kB / 363.5 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01375, allocations: 7.984 kB / 363.5 MB, free: 1.066 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.0002182/0.01397, allocations: 181.8 kB / 363.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.01404, allocations: 27.86 kB / 363.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.01447, allocations: 186.2 kB / 363.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.01448, allocations: 11.92 kB / 363.9 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.01448, allocations: 0 / 363.9 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01449, allocations: 3.938 kB / 363.9 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.01481, allocations: 216.5 kB / 364.1 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01481, allocations: 0 / 364.1 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.01506, allocations: 35.92 kB / 364.1 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.01506, allocations: 4 kB / 364.1 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.01509, allocations: 7.984 kB / 364.1 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01509, allocations: 0 / 364.1 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.01509, allocations: 3.938 kB / 364.1 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.01567, allocations: 366.1 kB / 364.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.01572, allocations: 23.78 kB / 364.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.01575, allocations: 8 kB / 364.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.01594, allocations: 11.98 kB / 364.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.016, allocations: 23.91 kB / 364.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.01601, allocations: 4 kB / 364.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002948/0.01631, allocations: 216.2 kB / 364.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01631, allocations: 0 / 364.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000259/0.01656, allocations: 35.95 kB / 364.8 MB, free: 15.66 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 0.0001313/0.0167, allocations: 95.25 kB / 364.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.01702, allocations: 126.1 kB / 365 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01702, allocations: 4 kB / 365 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.01717, allocations: 74.41 kB / 365.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.01753, allocations: 43.69 kB / 365.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.0185, allocations: 442.2 kB / 365.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.01865, allocations: 136.2 kB / 365.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.01878, allocations: 37.45 kB / 365.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.01887, allocations: 20.48 kB / 365.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01887, allocations: 0 / 365.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Templates: time 0.00578/0.02465, allocations: 2.017 MB / 367.8 MB, free: 12.65 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: 4.6391312619671226]