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.00177/0.00177, allocations: 102.3 kB / 19.7 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.002008/0.002008, allocations: 218.1 kB / 23.01 MB, free: 5.125 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.1059/0.1059, allocations: 24.13 MB / 337.3 MB, free: 11.43 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.002039/0.002039, allocations: 71.91 kB / 474.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 59.6 MB / 0.5216 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002884/0.3115, allocations: 1.832 MB / 0.5234 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3126, allocations: 0.6172 MB / 0.524 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/0.3126, allocations: 1.344 kB / 0.524 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.313, allocations: 44.91 kB / 0.5241 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.3131, allocations: 62.48 kB / 0.5241 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.3134, allocations: 102 kB / 0.5242 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.3138, allocations: 297.3 kB / 0.5245 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3139, allocations: 42.89 kB / 0.5246 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.3141, allocations: 111.9 kB / 0.5247 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.3143, allocations: 125.8 kB / 0.5248 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.3143, allocations: 14.97 kB / 0.5248 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.882e-05/0.3143, allocations: 15.22 kB / 0.5248 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.3144, allocations: 64.31 kB / 0.5249 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.3145, allocations: 87.39 kB / 0.525 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.3147, allocations: 168 kB / 0.5251 GB, free: 8.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3147, allocations: 1.75 kB / 0.5251 GB, free: 8.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3147, allocations: 0 / 0.5251 GB, free: 8.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3147, allocations: 0 / 0.5251 GB, free: 8.234 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.001224/0.3159, allocations: 0.5083 MB / 0.5256 GB, free: 7.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.316, allocations: 11.22 kB / 0.5256 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.316, allocations: 18.97 kB / 0.5256 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/0.3166, allocations: 251.5 kB / 0.5259 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3166, allocations: 12.31 kB / 0.5259 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.3167, allocations: 15 kB / 0.5259 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3169, allocations: 131.3 kB / 0.526 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3169, allocations: 0 / 0.526 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.317, allocations: 5.781 kB / 0.526 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.317, allocations: 7.219 kB / 0.526 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.3172, allocations: 120.1 kB / 0.5262 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/0.3181, allocations: 493.6 kB / 0.5266 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.3185, allocations: 180.1 kB / 0.5268 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.3186, allocations: 76.53 kB / 0.5269 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.3187, allocations: 3.734 kB / 0.5269 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.3187, allocations: 35.62 kB / 0.5269 GB, free: 7.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.3187, allocations: 0 / 0.5269 GB, free: 7.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005174/0.3192, allocations: 239 kB / 0.5271 GB, free: 6.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.3192, allocations: 57.11 kB / 0.5272 GB, free: 6.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.3197, allocations: 277.2 kB / 0.5275 GB, free: 6.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3197, allocations: 30.48 kB / 0.5275 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.3198, allocations: 124.3 kB / 0.5276 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.3198, allocations: 62.52 kB / 0.5277 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.3199, allocations: 37.34 kB / 0.5277 GB, free: 6.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.3199, allocations: 329.2 kB / 0.528 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.32, allocations: 64.59 kB / 0.5281 GB, free: 6.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3201, allocations: 55.59 kB / 0.5281 GB, free: 6.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.322, allocations: 466.5 kB / 0.5286 GB, free: 6.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.322, allocations: 1.125 kB / 0.5286 GB, free: 6.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003416/0.3223, allocations: 219 kB / 0.5288 GB, free: 5.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3223, allocations: 5.594 kB / 0.5288 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3223, allocations: 0 / 0.5288 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3224, allocations: 1.75 kB / 0.5288 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3226, allocations: 37.64 kB / 0.5288 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.3226, allocations: 9.078 kB / 0.5288 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.3228, allocations: 43.52 kB / 0.5289 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3228, allocations: 4.312 kB / 0.5289 GB, free: 5.965 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.0001608/0.323, allocations: 149.7 kB / 0.529 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.323, allocations: 20.83 kB / 0.529 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004381/0.3235, allocations: 223 kB / 0.5293 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3235, allocations: 3.328 kB / 0.5293 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3235, allocations: 3.938 kB / 0.5293 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3235, allocations: 1.844 kB / 0.5293 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3238, allocations: 257 kB / 0.5295 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.3238, allocations: 1.938 kB / 0.5295 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.324, allocations: 34.53 kB / 0.5295 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.324, allocations: 0.6094 kB / 0.5295 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.324, allocations: 7.844 kB / 0.5296 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.324, allocations: 1.984 kB / 0.5296 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.324, allocations: 7.938 kB / 0.5296 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.3245, allocations: 379.4 kB / 0.5299 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.3246, allocations: 29.3 kB / 0.5299 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.3246, allocations: 7.688 kB / 0.53 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.3249, allocations: 28.94 kB / 0.53 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.3249, allocations: 16.98 kB / 0.53 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3249, allocations: 4.109 kB / 0.53 GB, free: 5.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004142/0.3253, allocations: 210.3 kB / 0.5302 GB, free: 5.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3253, allocations: 1.25 kB / 0.5302 GB, free: 5.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.3256, allocations: 35.47 kB / 0.5302 GB, free: 5.129 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.794e-05/0.3257, allocations: 111.9 kB / 0.5303 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.326, allocations: 155.3 kB / 0.5305 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.326, allocations: 1.031 kB / 0.5305 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3262, allocations: 80.12 kB / 0.5306 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3266, allocations: 41.39 kB / 0.5306 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009085/0.3275, allocations: 0.502 MB / 0.5311 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.3277, allocations: 0.746 MB / 0.5318 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.3278, allocations: 19.91 kB / 0.5319 GB, free: 3.922 MB / 382.1 MB Notification: Performance of SimCode: time 5.2e-07/0.3278, allocations: 0 / 0.5319 GB, free: 3.922 MB / 382.1 MB Notification: Performance of Templates: time 0.005151/0.3329, allocations: 2.576 MB / 0.5344 GB, free: 3.695 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.786582090891898] Failed to read output from testmodel.py, exit status != 0: 0.34343088301829994 0.36982191400000003 0.049731208000000006 Calling exit ...