Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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.001716/0.001716, allocations: 104.3 kB / 19.72 MB, free: 1.914 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.002313/0.002313, allocations: 214.3 kB / 23.01 MB, free: 4.988 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.587/1.587, 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.1095/0.1095, allocations: 24.04 MB / 337.2 MB, free: 11.34 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_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") [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.002235/0.002235, allocations: 71.89 kB / 474.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3993, allocations: 59.58 MB / 0.5214 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.004099/0.4034, allocations: 1.764 MB / 0.5231 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.4048, allocations: 0.5733 MB / 0.5237 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.4049, allocations: 3.062 kB / 0.5237 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.4053, allocations: 44.59 kB / 0.5237 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.4055, allocations: 66.61 kB / 0.5238 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.4058, allocations: 93.14 kB / 0.5239 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005856/0.4064, allocations: 301.7 kB / 0.5242 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.4066, allocations: 33.97 kB / 0.5242 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.4069, allocations: 109.6 kB / 0.5243 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.4072, allocations: 120.5 kB / 0.5244 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.4072, allocations: 14.5 kB / 0.5244 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/0.4073, allocations: 14.31 kB / 0.5244 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.4074, allocations: 61.72 kB / 0.5245 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.4076, allocations: 74.17 kB / 0.5246 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.4079, allocations: 171.4 kB / 0.5247 GB, free: 8.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4079, allocations: 1.781 kB / 0.5247 GB, free: 8.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4079, allocations: 0 / 0.5247 GB, free: 8.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.4079, allocations: 1.219 kB / 0.5247 GB, free: 8.398 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001676/0.4096, allocations: 0.5062 MB / 0.5252 GB, free: 8.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.4096, allocations: 11.17 kB / 0.5252 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.4097, allocations: 18.88 kB / 0.5252 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/0.4105, allocations: 255.2 kB / 0.5255 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.4106, allocations: 9.188 kB / 0.5255 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.4106, allocations: 15.3 kB / 0.5255 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.411, allocations: 135.3 kB / 0.5256 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.411, allocations: 0 / 0.5256 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.411, allocations: 6.125 kB / 0.5257 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.4111, allocations: 2.156 kB / 0.5257 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.4114, allocations: 115.9 kB / 0.5258 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.4126, allocations: 437.7 kB / 0.5262 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.4133, allocations: 174.5 kB / 0.5263 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.4135, allocations: 73.44 kB / 0.5264 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.4135, allocations: 6.062 kB / 0.5264 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.4135, allocations: 37.25 kB / 0.5265 GB, free: 7.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.4135, allocations: 0 / 0.5265 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007364/0.4143, allocations: 241.5 kB / 0.5267 GB, free: 7.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.4143, allocations: 54.03 kB / 0.5267 GB, free: 7.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006925/0.415, allocations: 276.2 kB / 0.527 GB, free: 7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.415, allocations: 26.86 kB / 0.527 GB, free: 6.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.4151, allocations: 124 kB / 0.5271 GB, free: 6.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.4151, allocations: 67.45 kB / 0.5272 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.4152, allocations: 41.52 kB / 0.5273 GB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.4153, allocations: 333.9 kB / 0.5276 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.4155, allocations: 54.33 kB / 0.5276 GB, free: 6.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.4157, allocations: 61.22 kB / 0.5277 GB, free: 6.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/0.4183, allocations: 466.3 kB / 0.5281 GB, free: 6.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4183, allocations: 0 / 0.5281 GB, free: 6.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000553/0.4189, allocations: 228.4 kB / 0.5283 GB, free: 6.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4189, allocations: 4.156 kB / 0.5283 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4189, allocations: 1.156 kB / 0.5283 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.4189, allocations: 1.188 kB / 0.5283 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.4192, allocations: 33.39 kB / 0.5284 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4192, allocations: 3.984 kB / 0.5284 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.4195, allocations: 39.47 kB / 0.5284 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.4196, allocations: 4.812 kB / 0.5284 GB, free: 6.18 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 (20): * Single equations (assignments): 20 * 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.0002268/0.4198, allocations: 166.4 kB / 0.5286 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.4199, allocations: 17.16 kB / 0.5286 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.4205, allocations: 219.8 kB / 0.5288 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.4205, allocations: 6.125 kB / 0.5288 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4205, allocations: 0 / 0.5288 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.4205, allocations: 5.203 kB / 0.5288 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.4209, allocations: 205.4 kB / 0.529 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4209, allocations: 0 / 0.529 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.4212, allocations: 35.36 kB / 0.5291 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4212, allocations: 1.062 kB / 0.5291 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.4213, allocations: 7.438 kB / 0.5291 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4213, allocations: 1.094 kB / 0.5291 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4213, allocations: 0.6094 kB / 0.5291 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007428/0.422, allocations: 394.5 kB / 0.5294 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.4221, allocations: 22.11 kB / 0.5295 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.4221, allocations: 6.953 kB / 0.5295 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.4224, allocations: 25.8 kB / 0.5295 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.4224, allocations: 17.69 kB / 0.5295 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.4224, allocations: 9.375 kB / 0.5295 GB, free: 5.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000428/0.4229, allocations: 212.4 kB / 0.5297 GB, free: 5.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4229, allocations: 1.125 kB / 0.5297 GB, free: 5.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.4231, allocations: 35.44 kB / 0.5298 GB, free: 5.375 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 (17): * Single equations (assignments): 17 * 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.508e-05/0.4232, allocations: 106.8 kB / 0.5299 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.4236, allocations: 154.4 kB / 0.53 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4236, allocations: 1.219 kB / 0.53 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.4238, allocations: 80.14 kB / 0.5301 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.4242, allocations: 41.17 kB / 0.5301 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/0.4251, allocations: 478.5 kB / 0.5306 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.4253, allocations: 135.4 kB / 0.5307 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.4254, allocations: 41.5 kB / 0.5307 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.4255, allocations: 23.47 kB / 0.5308 GB, free: 4.82 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4255, allocations: 0 / 0.5308 GB, free: 4.82 MB / 382.1 MB Notification: Performance of Templates: time 0.007031/0.4326, allocations: 2.237 MB / 0.533 GB, free: 4.559 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.361293315887451] Failed to read output from testmodel.py, exit status != 0: 0.44158623181283474 0.45395267300000003 0.042866793 Calling exit ...