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.001377/0.001377, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001592/0.001592, allocations: 213.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 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.1099/0.1099, allocations: 24.11 MB / 337.3 MB, free: 11.46 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 75.83 kB / 474.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.426, allocations: 59.59 MB / 0.5216 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003034/0.429, allocations: 1.828 MB / 0.5234 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.4302, allocations: 0.6289 MB / 0.524 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.991e-05/0.4303, allocations: 6.406 kB / 0.524 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.4306, allocations: 40 kB / 0.5241 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.4308, allocations: 58.88 kB / 0.5241 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.431, allocations: 107.7 kB / 0.5242 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004625/0.4315, allocations: 309.5 kB / 0.5245 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.4316, allocations: 38.8 kB / 0.5246 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.4318, allocations: 115.2 kB / 0.5247 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.432, allocations: 130.3 kB / 0.5248 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.4321, allocations: 14.69 kB / 0.5248 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.349e-05/0.4321, allocations: 15.31 kB / 0.5248 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.4322, allocations: 65.72 kB / 0.5249 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.014e-05/0.4323, allocations: 79.42 kB / 0.525 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.4325, allocations: 188.5 kB / 0.5251 GB, free: 8.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4325, allocations: 3.078 kB / 0.5251 GB, free: 8.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4325, allocations: 4 kB / 0.5251 GB, free: 8.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4325, allocations: 0 / 0.5251 GB, free: 8.242 MB / 382.1 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.001192/0.4337, allocations: 0.5007 MB / 0.5256 GB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4338, allocations: 10.73 kB / 0.5256 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.494e-05/0.4338, allocations: 23.23 kB / 0.5257 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.4345, allocations: 259.3 kB / 0.5259 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4345, allocations: 12.83 kB / 0.5259 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.4345, allocations: 13.23 kB / 0.5259 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.4348, allocations: 155.1 kB / 0.5261 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4348, allocations: 1.094 kB / 0.5261 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.4348, allocations: 1.25 kB / 0.5261 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4348, allocations: 2.156 kB / 0.5261 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.4351, allocations: 131.7 kB / 0.5262 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.436, allocations: 0.5099 MB / 0.5267 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.4365, allocations: 196.6 kB / 0.5269 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.4366, allocations: 84.59 kB / 0.527 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.4366, allocations: 2.938 kB / 0.527 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.4366, allocations: 36.77 kB / 0.527 GB, free: 7.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.4366, allocations: 0 / 0.527 GB, free: 7.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004908/0.4371, allocations: 261 kB / 0.5273 GB, free: 6.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.4372, allocations: 53.53 kB / 0.5273 GB, free: 6.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.4377, allocations: 267.7 kB / 0.5276 GB, free: 6.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.4377, allocations: 30.41 kB / 0.5276 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.4377, allocations: 134.4 kB / 0.5277 GB, free: 6.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.4378, allocations: 60.19 kB / 0.5278 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.4379, allocations: 34.61 kB / 0.5278 GB, free: 6.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.261e-05/0.4379, allocations: 334.6 kB / 0.5281 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.4381, allocations: 58.89 kB / 0.5282 GB, free: 6.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.4382, allocations: 67.89 kB / 0.5283 GB, free: 6.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.4399, allocations: 475.7 kB / 0.5287 GB, free: 6.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.4399, allocations: 4 kB / 0.5287 GB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003771/0.4403, allocations: 234 kB / 0.5289 GB, free: 5.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4403, allocations: 9.281 kB / 0.529 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4403, allocations: 0.9688 kB / 0.529 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4403, allocations: 1.703 kB / 0.529 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.4405, allocations: 39.12 kB / 0.529 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4405, allocations: 1.344 kB / 0.529 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.4408, allocations: 35.52 kB / 0.529 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.4408, allocations: 4.766 kB / 0.529 GB, free: 5.93 MB / 382.1 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.0001953/0.441, allocations: 163.3 kB / 0.5292 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.441, allocations: 21.09 kB / 0.5292 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.4415, allocations: 235.9 kB / 0.5294 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4415, allocations: 2.156 kB / 0.5294 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4415, allocations: 1.094 kB / 0.5294 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4415, allocations: 1.312 kB / 0.5294 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.4418, allocations: 272.1 kB / 0.5297 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4418, allocations: 0 / 0.5297 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.4421, allocations: 35.64 kB / 0.5297 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4421, allocations: 1.25 kB / 0.5297 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.4421, allocations: 11.5 kB / 0.5297 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4421, allocations: 1.219 kB / 0.5297 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4421, allocations: 0.7031 kB / 0.5297 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.4427, allocations: 407 kB / 0.5301 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.4427, allocations: 21.36 kB / 0.5302 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.4427, allocations: 11.25 kB / 0.5302 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.443, allocations: 34.81 kB / 0.5302 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.4431, allocations: 13.72 kB / 0.5302 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4431, allocations: 4.734 kB / 0.5302 GB, free: 5.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.4435, allocations: 210 kB / 0.5304 GB, free: 5.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4435, allocations: 0 / 0.5304 GB, free: 5.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.4437, allocations: 36.33 kB / 0.5305 GB, free: 5.07 MB / 382.1 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.507e-05/0.4438, allocations: 111.7 kB / 0.5306 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.4442, allocations: 167.3 kB / 0.5307 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4442, allocations: 0 / 0.5307 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.4443, allocations: 86.56 kB / 0.5308 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.4447, allocations: 45.61 kB / 0.5308 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.4457, allocations: 0.5138 MB / 0.5313 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.4459, allocations: 0.7484 MB / 0.5321 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.446, allocations: 20.98 kB / 0.5321 GB, free: 3.855 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.446, allocations: 0 / 0.5321 GB, free: 3.855 MB / 382.1 MB Notification: Performance of Templates: time 0.005495/0.4515, allocations: 2.588 MB / 0.5346 GB, free: 3.633 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.803080850047991] Failed to read output from testmodel.py, exit status != 0: 0.46063136914744973 0.47315267499999997 0.03735635699999994 Calling exit ...