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.0008768/0.0008768, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.000941/0.000941, allocations: 177 kB / 24.27 MB, free: 284 kB / 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.013/1.013, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.06846/0.06846, allocations: 18.14 MB / 279.2 MB, free: 11.39 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 3.727e-06/3.727e-06, allocations: 4 kB / 357.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.502e-05, allocations: 5.266 kB / 357.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002963/0.002998, allocations: 1.807 MB / 359.1 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.004201, allocations: 0.6037 MB / 359.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.004309, allocations: 8 kB / 359.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.004575, allocations: 43.69 kB / 359.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.004723, allocations: 55.58 kB / 359.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.004986, allocations: 135.7 kB / 359.9 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.005191, allocations: 195.5 kB / 360.1 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.005287, allocations: 41.62 kB / 360.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.005389, allocations: 83.73 kB / 360.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.005528, allocations: 107.7 kB / 360.3 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.005558, allocations: 19.94 kB / 360.3 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.005579, allocations: 16 kB / 360.3 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.005643, allocations: 59.81 kB / 360.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.005696, allocations: 51.81 kB / 360.5 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.00586, allocations: 143.4 kB / 360.6 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005863, allocations: 3.984 kB / 360.6 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005863, allocations: 0 / 360.6 MB, free: 4.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005868, allocations: 0 / 360.6 MB, free: 4.812 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.0006387/0.006507, allocations: 0.5583 MB / 361.2 MB, free: 4.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.006546, allocations: 8.922 kB / 361.2 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.006607, allocations: 36.78 kB / 361.2 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.006883, allocations: 236.6 kB / 361.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.006899, allocations: 8.609 kB / 361.4 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.006922, allocations: 12.38 kB / 361.5 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.00708, allocations: 100.1 kB / 361.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.00709, allocations: 4.125 kB / 361.6 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.007103, allocations: 4.375 kB / 361.6 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.007113, allocations: 7.938 kB / 361.6 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.007234, allocations: 56.64 kB / 361.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.007762, allocations: 468.3 kB / 362.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.008011, allocations: 130.9 kB / 362.2 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.719e-05/0.008108, allocations: 47.66 kB / 362.3 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.008131, allocations: 0 / 362.3 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.008165, allocations: 45.33 kB / 362.3 MB, free: 2.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.008167, allocations: 0 / 362.3 MB, free: 2.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003274/0.008494, allocations: 148.5 kB / 362.4 MB, free: 2.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.008522, allocations: 51.41 kB / 362.5 MB, free: 2.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.008688, allocations: 253.9 kB / 362.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.008704, allocations: 25.7 kB / 362.8 MB, free: 2.473 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.008779, allocations: 179 kB / 362.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.008889, allocations: 67.47 kB / 363 MB, free: 2.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.009007, allocations: 43.3 kB / 363.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.00917, allocations: 0.5117 MB / 363.6 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.266e-05/0.009262, allocations: 19.98 kB / 363.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.009316, allocations: 30.36 kB / 363.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.009519, allocations: 110.2 kB / 363.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.009522, allocations: 0 / 363.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000248/0.00977, allocations: 137.5 kB / 363.9 MB, free: 1.355 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.00979, allocations: 11.98 kB / 363.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.009797, allocations: 0 / 363.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.009813, allocations: 3.938 kB / 363.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.009994, allocations: 35.92 kB / 363.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.01, allocations: 0 / 363.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-05/0.01009, allocations: 27.94 kB / 363.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.01011, allocations: 7.984 kB / 363.9 MB, free: 1.27 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.0002084/0.01032, allocations: 177.8 kB / 364.1 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.01036, allocations: 27.86 kB / 364.1 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.01066, allocations: 166.2 kB / 364.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.01067, allocations: 7.938 kB / 364.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.01067, allocations: 0 / 364.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01068, allocations: 3.984 kB / 364.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.01089, allocations: 196.5 kB / 364.5 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.0109, allocations: 0 / 364.5 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.01106, allocations: 35.92 kB / 364.5 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.01106, allocations: 4 kB / 364.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.01108, allocations: 7.984 kB / 364.6 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.01109, allocations: 0 / 364.6 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.01109, allocations: 3.938 kB / 364.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.01146, allocations: 327.7 kB / 364.9 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.0115, allocations: 19.84 kB / 364.9 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.01152, allocations: 4 kB / 364.9 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.01165, allocations: 19.97 kB / 364.9 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.0117, allocations: 15.92 kB / 364.9 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.0117, allocations: 4 kB / 364.9 MB, free: 208 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.01181, allocations: 188.3 kB / 365.1 MB, free: 20 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01181, allocations: 0 / 365.1 MB, free: 20 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.012, allocations: 43.94 kB / 365.2 MB, free: 15.97 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.0001097/0.01211, allocations: 103.1 kB / 365.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.0123, allocations: 95.44 kB / 365.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.0123, allocations: 4 kB / 365.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.01237, allocations: 59.59 kB / 365.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.01267, allocations: 38.78 kB / 365.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.01371, allocations: 422.3 kB / 365.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.297e-05/0.01377, allocations: 91.97 kB / 366 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.89e-05/0.01386, allocations: 37.52 kB / 366 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.01393, allocations: 24.48 kB / 366 MB, free: 15.05 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01393, allocations: 0 / 366 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Templates: time 0.004404/0.01833, allocations: 2.024 MB / 368 MB, free: 13.05 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.9470728640444577]