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.001906/0.001906, allocations: 104.3 kB / 19.72 MB, free: 1.926 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.003552/0.003552, allocations: 208.5 kB / 23.01 MB, free: 4.984 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1088/0.1088, allocations: 24.04 MB / 337.2 MB, free: 11.35 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.002732/0.002732, allocations: 67.89 kB / 474.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4042, allocations: 59.58 MB / 0.5214 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002801/0.407, allocations: 1.759 MB / 0.5231 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.4082, allocations: 0.5853 MB / 0.5237 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/0.4083, allocations: 5.375 kB / 0.5237 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.4086, allocations: 45.09 kB / 0.5237 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.4088, allocations: 54.23 kB / 0.5238 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.4091, allocations: 111.7 kB / 0.5239 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.4095, allocations: 298.7 kB / 0.5242 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.4096, allocations: 37.94 kB / 0.5242 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.4098, allocations: 114.4 kB / 0.5243 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.4101, allocations: 125.4 kB / 0.5244 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.4101, allocations: 13.53 kB / 0.5244 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.845e-05/0.4101, allocations: 15.53 kB / 0.5245 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.4102, allocations: 69.06 kB / 0.5245 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.99e-05/0.4103, allocations: 65.91 kB / 0.5246 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.4105, allocations: 187.4 kB / 0.5248 GB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4106, allocations: 1.156 kB / 0.5248 GB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4106, allocations: 0 / 0.5248 GB, free: 8.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4106, allocations: 0.5625 kB / 0.5248 GB, free: 8.434 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.001256/0.4118, allocations: 0.5062 MB / 0.5253 GB, free: 8.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4119, allocations: 9.984 kB / 0.5253 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.4119, allocations: 23.73 kB / 0.5253 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/0.4126, allocations: 262.9 kB / 0.5255 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.4126, allocations: 10.02 kB / 0.5256 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.4126, allocations: 12.81 kB / 0.5256 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.4129, allocations: 148.8 kB / 0.5257 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.4129, allocations: 0 / 0.5257 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.4129, allocations: 5.938 kB / 0.5257 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.4129, allocations: 7.312 kB / 0.5257 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.4133, allocations: 129.4 kB / 0.5258 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008673/0.4141, allocations: 463.6 kB / 0.5263 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.4146, allocations: 197.5 kB / 0.5265 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.4148, allocations: 80 kB / 0.5265 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.4148, allocations: 4.578 kB / 0.5266 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.4148, allocations: 31.62 kB / 0.5266 GB, free: 7.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.4148, allocations: 0 / 0.5266 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000534/0.4153, allocations: 261.9 kB / 0.5268 GB, free: 7.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.4154, allocations: 61.66 kB / 0.5269 GB, free: 7.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.4159, allocations: 259.1 kB / 0.5271 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.4159, allocations: 31.41 kB / 0.5272 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.416, allocations: 134.4 kB / 0.5273 GB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.416, allocations: 61.17 kB / 0.5274 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.4161, allocations: 42.34 kB / 0.5274 GB, free: 6.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.4162, allocations: 330.7 kB / 0.5277 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.4163, allocations: 59.45 kB / 0.5278 GB, free: 6.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.4164, allocations: 63.41 kB / 0.5278 GB, free: 6.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.4181, allocations: 474.6 kB / 0.5283 GB, free: 6.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4181, allocations: 7.938 kB / 0.5283 GB, free: 6.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000376/0.4184, allocations: 232.8 kB / 0.5285 GB, free: 6.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4184, allocations: 6.219 kB / 0.5285 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4184, allocations: 0 / 0.5285 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4185, allocations: 2.062 kB / 0.5285 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.4187, allocations: 35.23 kB / 0.5286 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4187, allocations: 0.9688 kB / 0.5286 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.4189, allocations: 35.88 kB / 0.5286 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.4189, allocations: 9.141 kB / 0.5286 GB, free: 6.164 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.0001609/0.4191, allocations: 152.7 kB / 0.5287 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.4191, allocations: 23.58 kB / 0.5288 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.4196, allocations: 237.9 kB / 0.529 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4196, allocations: 2.219 kB / 0.529 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4196, allocations: 3.984 kB / 0.529 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.4196, allocations: 0.7969 kB / 0.529 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.4199, allocations: 209.5 kB / 0.5292 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4199, allocations: 0 / 0.5292 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.4201, allocations: 41.19 kB / 0.5292 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4201, allocations: 9.031 kB / 0.5292 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.4201, allocations: 3.703 kB / 0.5292 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4202, allocations: 1.062 kB / 0.5292 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4202, allocations: 4 kB / 0.5293 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.4208, allocations: 405.5 kB / 0.5296 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.4209, allocations: 33.36 kB / 0.5297 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.4209, allocations: 6.75 kB / 0.5297 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.4212, allocations: 27.09 kB / 0.5297 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.4212, allocations: 14.31 kB / 0.5297 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4212, allocations: 8.031 kB / 0.5297 GB, free: 5.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004401/0.4217, allocations: 210.5 kB / 0.5299 GB, free: 5.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4217, allocations: 0 / 0.5299 GB, free: 5.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.422, allocations: 37.17 kB / 0.53 GB, free: 5.34 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.932e-05/0.4221, allocations: 102.9 kB / 0.5301 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00042/0.4225, allocations: 166.8 kB / 0.5302 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4225, allocations: 1.094 kB / 0.5302 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.4227, allocations: 88.83 kB / 0.5303 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.4231, allocations: 39.03 kB / 0.5303 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.4241, allocations: 491.1 kB / 0.5308 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.4243, allocations: 144.1 kB / 0.5309 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.4245, allocations: 43.58 kB / 0.531 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.4246, allocations: 19.02 kB / 0.531 GB, free: 4.781 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4246, allocations: 1.031 kB / 0.531 GB, free: 4.781 MB / 382.1 MB Notification: Performance of Templates: time 0.006802/0.4314, allocations: 2.126 MB / 0.5331 GB, free: 4.539 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: 5.296668268740177] Failed to read output from testmodel.py, exit status != 0: 0.44183381646871567 0.45825841900000003 0.042713044000000006 Calling exit ...