Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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.001804/0.001804, allocations: 109.2 kB / 16.45 MB, free: 6.508 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.00228/0.00228, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.1184/0.1184, allocations: 24.12 MB / 333 MB, free: 12.59 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.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") [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.001938/0.001938, allocations: 63.89 kB / 468.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4817, allocations: 59.57 MB / 0.5155 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.005123/0.4869, allocations: 2.02 MB / 0.5175 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.4888, allocations: 0.7234 MB / 0.5182 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.489, allocations: 12.28 kB / 0.5182 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005295/0.4895, allocations: 74.11 kB / 0.5183 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.4898, allocations: 105.1 kB / 0.5184 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.4902, allocations: 155.6 kB / 0.5185 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007265/0.491, allocations: 462.1 kB / 0.519 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.4912, allocations: 53.69 kB / 0.519 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.4915, allocations: 188.8 kB / 0.5192 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.4921, allocations: 218.5 kB / 0.5194 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/0.4921, allocations: 23.59 kB / 0.5194 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.4922, allocations: 25.19 kB / 0.5195 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.4924, allocations: 115.3 kB / 0.5196 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.4926, allocations: 128.8 kB / 0.5197 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.4932, allocations: 293 kB / 0.52 GB, free: 7.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.938e-06/0.4932, allocations: 0.8906 kB / 0.52 GB, free: 7.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4932, allocations: 5.938 kB / 0.52 GB, free: 7.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.4932, allocations: 0 / 0.52 GB, free: 7.309 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002385/0.4956, allocations: 0.7686 MB / 0.5207 GB, free: 6.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.054e-05/0.4957, allocations: 10.75 kB / 0.5208 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.4958, allocations: 37.86 kB / 0.5208 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.497, allocations: 441.2 kB / 0.5212 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.4971, allocations: 10.98 kB / 0.5212 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.4971, allocations: 15.28 kB / 0.5212 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.4977, allocations: 200.9 kB / 0.5214 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.4977, allocations: 0 / 0.5214 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.4977, allocations: 10.28 kB / 0.5214 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.4978, allocations: 3.594 kB / 0.5214 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.4982, allocations: 212.1 kB / 0.5216 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.4997, allocations: 0.6906 MB / 0.5223 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009026/0.5006, allocations: 300.5 kB / 0.5226 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.5009, allocations: 116.3 kB / 0.5227 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.957e-05/0.501, allocations: 7.469 kB / 0.5227 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.501, allocations: 40.12 kB / 0.5228 GB, free: 5.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.501, allocations: 4 kB / 0.5228 GB, free: 5.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001147/0.5022, allocations: 364.9 kB / 0.5231 GB, free: 5.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.5022, allocations: 55.47 kB / 0.5232 GB, free: 5.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.5035, allocations: 420.6 kB / 0.5236 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.5036, allocations: 31.2 kB / 0.5236 GB, free: 5.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.5037, allocations: 165.1 kB / 0.5238 GB, free: 5.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.5038, allocations: 96.7 kB / 0.5238 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.5039, allocations: 48.88 kB / 0.5239 GB, free: 5.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.504, allocations: 344.7 kB / 0.5242 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.5042, allocations: 95.47 kB / 0.5243 GB, free: 4.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.5044, allocations: 104.5 kB / 0.5244 GB, free: 4.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.5071, allocations: 0.6568 MB / 0.525 GB, free: 4.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5071, allocations: 1.156 kB / 0.5251 GB, free: 4.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007437/0.5079, allocations: 333 kB / 0.5254 GB, free: 4.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.5079, allocations: 5.812 kB / 0.5254 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.5079, allocations: 0 / 0.5254 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.428e-05/0.5079, allocations: 5.031 kB / 0.5254 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.5083, allocations: 51.72 kB / 0.5254 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.5083, allocations: 2.391 kB / 0.5254 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.5088, allocations: 68.59 kB / 0.5255 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.5088, allocations: 9.438 kB / 0.5255 GB, free: 4.32 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 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 CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] CA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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 (31): * Single equations (assignments): 31 * 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.000351/0.5092, allocations: 177 kB / 0.5257 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.5092, allocations: 34.38 kB / 0.5257 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006891/0.5099, allocations: 326.4 kB / 0.526 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5099, allocations: 2.469 kB / 0.526 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5099, allocations: 1.094 kB / 0.526 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.51, allocations: 5.969 kB / 0.526 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.5104, allocations: 367.2 kB / 0.5264 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5104, allocations: 2.109 kB / 0.5264 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.5108, allocations: 47.44 kB / 0.5264 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5108, allocations: 1.656 kB / 0.5264 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.5108, allocations: 8.312 kB / 0.5264 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.5108, allocations: 2.188 kB / 0.5264 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5108, allocations: 3.938 kB / 0.5264 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.5117, allocations: 0.5219 MB / 0.5269 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.5118, allocations: 119.7 kB / 0.5271 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.5118, allocations: 12.92 kB / 0.5271 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.5123, allocations: 50.03 kB / 0.5271 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.5123, allocations: 14.61 kB / 0.5271 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.5124, allocations: 5.531 kB / 0.5271 GB, free: 3.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008769/0.5132, allocations: 335 kB / 0.5275 GB, free: 3.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5132, allocations: 0 / 0.5275 GB, free: 3.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.5136, allocations: 52.33 kB / 0.5275 GB, free: 3.184 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,CA2.x_scaled[1],CA1.x_scaled[1]) * 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 (26): * Single equations (assignments): 26 * 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.0001463/0.5137, allocations: 112.8 kB / 0.5276 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006331/0.5143, allocations: 253.9 kB / 0.5279 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5144, allocations: 0 / 0.5279 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.5146, allocations: 123 kB / 0.528 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.5152, allocations: 65.53 kB / 0.528 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.5167, allocations: 0.6912 MB / 0.5287 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.517, allocations: 0.8004 MB / 0.5295 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.5173, allocations: 61.23 kB / 0.5296 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.5174, allocations: 26.3 kB / 0.5296 GB, free: 1.836 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5174, allocations: 3.938 kB / 0.5296 GB, free: 1.832 MB / 382.1 MB Notification: Performance of Templates: time 0.0097/0.5271, allocations: 3.062 MB / 0.5326 GB, free: 1.594 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.275008422089741] Failed to read output from testmodel.py, exit status != 0: 0.5360252929385751 0.55204571 0.055599424 Calling exit ...