Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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.001331/0.001331, allocations: 107.3 kB / 16.46 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.001593/0.001593, 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 9.09 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.1295/0.1295, allocations: 24.11 MB / 333 MB, free: 12.61 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: "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",fmuType="me",version="2.0",platforms={"static"}) [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.002229/0.002229, allocations: 71.89 kB / 467.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3792, allocations: 59.56 MB / 0.5151 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003968/0.3831, allocations: 1.959 MB / 0.517 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3847, allocations: 0.7176 MB / 0.5177 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.3849, allocations: 4.625 kB / 0.5177 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.3853, allocations: 72.31 kB / 0.5177 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.3857, allocations: 100.6 kB / 0.5178 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.3861, allocations: 148.9 kB / 0.518 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006451/0.3867, allocations: 437.1 kB / 0.5184 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3869, allocations: 42.11 kB / 0.5184 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.3872, allocations: 179.9 kB / 0.5186 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.3876, allocations: 214.1 kB / 0.5188 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.3878, allocations: 21.47 kB / 0.5188 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-05/0.3878, allocations: 22.53 kB / 0.5189 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.388, allocations: 97.44 kB / 0.519 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.3882, allocations: 120.1 kB / 0.5191 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.3887, allocations: 269.9 kB / 0.5193 GB, free: 7.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3887, allocations: 1.062 kB / 0.5193 GB, free: 7.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3887, allocations: 0 / 0.5193 GB, free: 7.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.3887, allocations: 0 / 0.5193 GB, free: 7.125 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002162/0.3909, allocations: 0.7519 MB / 0.5201 GB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3909, allocations: 9.969 kB / 0.5201 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.909e-05/0.391, allocations: 51.33 kB / 0.5201 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.975e-05/0.3911, allocations: 31.84 kB / 0.5201 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3921, allocations: 430.1 kB / 0.5206 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3921, allocations: 10.45 kB / 0.5206 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.3921, allocations: 14.03 kB / 0.5206 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.3925, allocations: 184.8 kB / 0.5208 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3925, allocations: 1.25 kB / 0.5208 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.3926, allocations: 5.281 kB / 0.5208 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3926, allocations: 3.719 kB / 0.5208 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.393, allocations: 176.9 kB / 0.5209 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.3942, allocations: 0.6476 MB / 0.5216 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005502/0.3947, allocations: 249.2 kB / 0.5218 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3949, allocations: 101.5 kB / 0.5219 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.3949, allocations: 5.969 kB / 0.5219 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3949, allocations: 32.64 kB / 0.5219 GB, free: 5.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.3949, allocations: 5.062 kB / 0.5219 GB, free: 5.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007133/0.3957, allocations: 340.1 kB / 0.5223 GB, free: 5.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.3957, allocations: 53.59 kB / 0.5223 GB, free: 5.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009683/0.3967, allocations: 420.1 kB / 0.5227 GB, free: 5.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3967, allocations: 30.77 kB / 0.5228 GB, free: 5.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.3968, allocations: 163.1 kB / 0.5229 GB, free: 5.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/0.3968, allocations: 78.92 kB / 0.523 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.3969, allocations: 47.41 kB / 0.523 GB, free: 4.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.397, allocations: 340.2 kB / 0.5234 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3972, allocations: 91.16 kB / 0.5234 GB, free: 4.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.3973, allocations: 86.55 kB / 0.5235 GB, free: 4.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/0.3998, allocations: 0.6361 MB / 0.5241 GB, free: 4.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3998, allocations: 0 / 0.5241 GB, free: 4.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000542/0.4003, allocations: 310.8 kB / 0.5244 GB, free: 4.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4003, allocations: 5.906 kB / 0.5244 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4003, allocations: 8.641 kB / 0.5245 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4004, allocations: 1.375 kB / 0.5245 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.4006, allocations: 48.33 kB / 0.5245 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4006, allocations: 5.188 kB / 0.5245 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.401, allocations: 60 kB / 0.5246 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.4011, allocations: 7.359 kB / 0.5246 GB, free: 4.223 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 FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] FA2.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 (28): * Single equations (assignments): 28 * 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.0002256/0.4013, allocations: 164.3 kB / 0.5247 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.4014, allocations: 31.02 kB / 0.5248 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006095/0.402, allocations: 313.5 kB / 0.5251 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.402, allocations: 2.25 kB / 0.5251 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.402, allocations: 0 / 0.5251 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.402, allocations: 2.234 kB / 0.5251 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.4024, allocations: 352.2 kB / 0.5254 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4024, allocations: 6.109 kB / 0.5254 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.4027, allocations: 45.98 kB / 0.5254 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4027, allocations: 1.906 kB / 0.5254 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.4027, allocations: 17.31 kB / 0.5255 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4027, allocations: 1.219 kB / 0.5255 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4027, allocations: 0 / 0.5255 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000721/0.4034, allocations: 0.49 MB / 0.5259 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.4035, allocations: 112.8 kB / 0.526 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.4036, allocations: 11.31 kB / 0.5261 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.404, allocations: 55.56 kB / 0.5261 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.4041, allocations: 11.89 kB / 0.5261 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.4041, allocations: 9.125 kB / 0.5261 GB, free: 3.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008221/0.4049, allocations: 330.3 kB / 0.5264 GB, free: 3.129 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4049, allocations: 0 / 0.5264 GB, free: 3.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.4052, allocations: 48.52 kB / 0.5265 GB, free: 3.121 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,FA2.x_scaled[1],FA1.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 (23): * Single equations (assignments): 23 * 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.0008951/0.4061, allocations: 1.04 MB / 0.5275 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.4066, allocations: 229.2 kB / 0.5277 GB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4066, allocations: 0 / 0.5277 GB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.4068, allocations: 112.1 kB / 0.5278 GB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.4073, allocations: 54.95 kB / 0.5279 GB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00585/0.4132, allocations: 3.306 MB / 0.5311 GB, free: 348 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.4136, allocations: 0.7889 MB / 0.5319 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002127/0.4138, allocations: 61.47 kB / 0.5319 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.414, allocations: 100.4 kB / 0.532 GB, free: 15.55 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.414, allocations: 3.938 kB / 0.532 GB, free: 15.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03502/0.449, allocations: 6.007 MB / 0.5379 GB, free: 13.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.758, allocations: 5.703 kB / 0.5379 GB, free: 13.77 MB / 398.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.55009419308044] Failed to read output from testmodel.py, exit status != 0: 8.831547707086429 8.853403062 8.461385147 Calling exit ...