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.001825/0.001825, allocations: 96.36 kB / 20.46 MB, free: 1.367 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.002268/0.002268, allocations: 219.2 kB / 23.77 MB, free: 4.516 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 / 257.5 MB, free: 7.805 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 / 338 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.002183/0.002183, allocations: 71.88 kB / 475.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2877, allocations: 59.57 MB / 0.5221 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002504/0.2902, allocations: 1.763 MB / 0.5238 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009389/0.2911, allocations: 0.5765 MB / 0.5244 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.2912, allocations: 2.281 kB / 0.5244 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.2915, allocations: 43.77 kB / 0.5245 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.2916, allocations: 59.11 kB / 0.5245 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2919, allocations: 97.88 kB / 0.5246 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.2922, allocations: 298 kB / 0.5249 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2923, allocations: 34.11 kB / 0.5249 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.2925, allocations: 111.3 kB / 0.525 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.2927, allocations: 125.4 kB / 0.5251 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.2927, allocations: 18.75 kB / 0.5252 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.36e-05/0.2927, allocations: 13.88 kB / 0.5252 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.2928, allocations: 63.75 kB / 0.5252 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.2929, allocations: 66.73 kB / 0.5253 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.2931, allocations: 174.3 kB / 0.5255 GB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2931, allocations: 0 / 0.5255 GB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2931, allocations: 0.8438 kB / 0.5255 GB, free: 8.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2931, allocations: 1.219 kB / 0.5255 GB, free: 8.395 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.00111/0.2942, allocations: 0.5024 MB / 0.526 GB, free: 8.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2942, allocations: 13.52 kB / 0.526 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.2943, allocations: 20.08 kB / 0.526 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.2949, allocations: 255.3 kB / 0.5262 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.295, allocations: 8.062 kB / 0.5262 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.295, allocations: 16.27 kB / 0.5263 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.2953, allocations: 139.1 kB / 0.5264 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.2953, allocations: 0 / 0.5264 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.2953, allocations: 5.188 kB / 0.5264 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2953, allocations: 10.39 kB / 0.5264 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.2956, allocations: 115.7 kB / 0.5265 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.2965, allocations: 433.9 kB / 0.5269 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.297, allocations: 174.6 kB / 0.5271 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.2972, allocations: 77.11 kB / 0.5272 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.2972, allocations: 2.922 kB / 0.5272 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.2972, allocations: 32.66 kB / 0.5272 GB, free: 7.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.2972, allocations: 0 / 0.5272 GB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005617/0.2978, allocations: 240.1 kB / 0.5274 GB, free: 7.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.2978, allocations: 53.36 kB / 0.5275 GB, free: 7.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.2983, allocations: 282 kB / 0.5278 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2983, allocations: 30.8 kB / 0.5278 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.2984, allocations: 122.6 kB / 0.5279 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.2984, allocations: 59.55 kB / 0.528 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.2985, allocations: 35.8 kB / 0.528 GB, free: 6.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.2986, allocations: 335.8 kB / 0.5283 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.2987, allocations: 54.22 kB / 0.5284 GB, free: 6.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.2988, allocations: 62.19 kB / 0.5284 GB, free: 6.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.3006, allocations: 465.2 kB / 0.5289 GB, free: 6.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3006, allocations: 0 / 0.5289 GB, free: 6.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003374/0.3009, allocations: 223.7 kB / 0.5291 GB, free: 6.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3009, allocations: 11.27 kB / 0.5291 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3009, allocations: 1.312 kB / 0.5291 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3009, allocations: 0 / 0.5291 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.3011, allocations: 32.8 kB / 0.5291 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3011, allocations: 5.234 kB / 0.5291 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.3014, allocations: 42.86 kB / 0.5292 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.3014, allocations: 4.531 kB / 0.5292 GB, free: 6.172 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.0001671/0.3016, allocations: 155.6 kB / 0.5293 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.3016, allocations: 15.75 kB / 0.5293 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.302, allocations: 224.5 kB / 0.5295 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.302, allocations: 2.594 kB / 0.5295 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.302, allocations: 3.938 kB / 0.5296 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.302, allocations: 5.203 kB / 0.5296 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.3023, allocations: 205.4 kB / 0.5298 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3023, allocations: 0 / 0.5298 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.3025, allocations: 34.62 kB / 0.5298 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3025, allocations: 1.156 kB / 0.5298 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.3025, allocations: 7.734 kB / 0.5298 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3025, allocations: 5.219 kB / 0.5298 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3025, allocations: 0.75 kB / 0.5298 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.303, allocations: 385.9 kB / 0.5302 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.3031, allocations: 25.77 kB / 0.5302 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.3031, allocations: 7.016 kB / 0.5302 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.3034, allocations: 25.28 kB / 0.5302 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.3035, allocations: 14.94 kB / 0.5302 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.3035, allocations: 12.03 kB / 0.5302 GB, free: 5.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004195/0.3039, allocations: 213.7 kB / 0.5305 GB, free: 5.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3039, allocations: 0 / 0.5305 GB, free: 5.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3042, allocations: 35.28 kB / 0.5305 GB, free: 5.371 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 7.825e-05/0.3042, allocations: 104.1 kB / 0.5306 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.3046, allocations: 155.8 kB / 0.5307 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3046, allocations: 4 kB / 0.5307 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3047, allocations: 80.28 kB / 0.5308 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3051, allocations: 41.58 kB / 0.5309 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.306, allocations: 0.4995 MB / 0.5313 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.3061, allocations: 143.1 kB / 0.5315 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.3062, allocations: 19.97 kB / 0.5315 GB, free: 4.789 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3062, allocations: 1.438 kB / 0.5315 GB, free: 4.789 MB / 382.1 MB Notification: Performance of Templates: time 0.004917/0.3111, allocations: 2.629 MB / 0.5341 GB, free: 4.566 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: 7.623564199078828] Failed to read output from testmodel.py, exit status != 0: 0.3197157750837505 0.33204292 0.035859074000000005 Calling exit ...