Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.001808/0.001808, allocations: 104 kB / 16.45 MB, free: 6.449 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.001559/0.001559, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.1075/0.1075, allocations: 24.11 MB / 333 MB, free: 12.63 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.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",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.002107/0.002107, allocations: 63.89 kB / 467.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3803, allocations: 59.58 MB / 0.5151 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002635/0.383, allocations: 1.812 MB / 0.5168 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00099/0.384, allocations: 0.6163 MB / 0.5174 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.295e-05/0.3841, allocations: 6.25 kB / 0.5174 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.3843, allocations: 48.08 kB / 0.5175 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.3845, allocations: 57.3 kB / 0.5175 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.3847, allocations: 91.67 kB / 0.5176 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.385, allocations: 268.2 kB / 0.5179 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3851, allocations: 38.88 kB / 0.5179 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3853, allocations: 102.1 kB / 0.518 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3854, allocations: 132.9 kB / 0.5181 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.3855, allocations: 13.34 kB / 0.5182 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.884e-05/0.3855, allocations: 14.66 kB / 0.5182 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.3856, allocations: 65.86 kB / 0.5182 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.3857, allocations: 86.45 kB / 0.5183 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3859, allocations: 189.4 kB / 0.5185 GB, free: 7.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3859, allocations: 0 / 0.5185 GB, free: 7.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3859, allocations: 1.094 kB / 0.5185 GB, free: 7.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.3859, allocations: 0 / 0.5185 GB, free: 7.574 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001151/0.3871, allocations: 0.5719 MB / 0.5191 GB, free: 7.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3871, allocations: 10.5 kB / 0.5191 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.3871, allocations: 49.84 kB / 0.5191 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.3872, allocations: 24.02 kB / 0.5191 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.3877, allocations: 322.7 kB / 0.5194 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3878, allocations: 8.891 kB / 0.5195 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3878, allocations: 12.83 kB / 0.5195 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.3881, allocations: 158.6 kB / 0.5196 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3881, allocations: 1.219 kB / 0.5196 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.3881, allocations: 1.281 kB / 0.5196 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.3881, allocations: 6.438 kB / 0.5196 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.3884, allocations: 131.7 kB / 0.5198 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.3892, allocations: 0.5385 MB / 0.5203 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.3896, allocations: 193.8 kB / 0.5205 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3897, allocations: 88.22 kB / 0.5205 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.3897, allocations: 6.359 kB / 0.5206 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.3898, allocations: 32.67 kB / 0.5206 GB, free: 6.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.3898, allocations: 0 / 0.5206 GB, free: 6.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005267/0.3903, allocations: 265.1 kB / 0.5208 GB, free: 6.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.3903, allocations: 57.36 kB / 0.5209 GB, free: 5.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.3908, allocations: 260.7 kB / 0.5211 GB, free: 5.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3908, allocations: 30.36 kB / 0.5212 GB, free: 5.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.3909, allocations: 131.2 kB / 0.5213 GB, free: 5.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.3909, allocations: 59.11 kB / 0.5213 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.391, allocations: 38.47 kB / 0.5214 GB, free: 5.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.391, allocations: 335.1 kB / 0.5217 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3912, allocations: 62.27 kB / 0.5218 GB, free: 5.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3913, allocations: 65.77 kB / 0.5218 GB, free: 5.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.3929, allocations: 471.2 kB / 0.5223 GB, free: 5.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3929, allocations: 1.156 kB / 0.5223 GB, free: 5.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003634/0.3933, allocations: 231.4 kB / 0.5225 GB, free: 5.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3933, allocations: 9 kB / 0.5225 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3933, allocations: 1.312 kB / 0.5225 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3933, allocations: 1.375 kB / 0.5225 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.3935, allocations: 39.5 kB / 0.5225 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3935, allocations: 1.562 kB / 0.5225 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.3937, allocations: 42.28 kB / 0.5226 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.3938, allocations: 4.812 kB / 0.5226 GB, free: 5.016 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 (21): * Single equations (assignments): 21 * 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.0001871/0.394, allocations: 155.7 kB / 0.5227 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.394, allocations: 19.48 kB / 0.5228 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.3944, allocations: 240 kB / 0.523 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3944, allocations: 2.25 kB / 0.523 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3944, allocations: 1.188 kB / 0.523 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3944, allocations: 0 / 0.523 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.3947, allocations: 294.8 kB / 0.5233 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3947, allocations: 5.312 kB / 0.5233 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.395, allocations: 42.77 kB / 0.5233 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.395, allocations: 1.062 kB / 0.5233 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.395, allocations: 2.031 kB / 0.5233 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.395, allocations: 1.25 kB / 0.5233 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.395, allocations: 0 / 0.5233 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.3955, allocations: 409.5 kB / 0.5237 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.3955, allocations: 100.6 kB / 0.5238 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.3956, allocations: 13 kB / 0.5238 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.3958, allocations: 24.67 kB / 0.5238 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.3959, allocations: 13.03 kB / 0.5239 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3959, allocations: 7.406 kB / 0.5239 GB, free: 4.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004016/0.3963, allocations: 215.1 kB / 0.5241 GB, free: 4.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3963, allocations: 0 / 0.5241 GB, free: 4.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.3966, allocations: 36.83 kB / 0.5241 GB, free: 4.039 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 (18): * Single equations (assignments): 18 * 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.0006399/0.3972, allocations: 0.9273 MB / 0.525 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3976, allocations: 171.4 kB / 0.5252 GB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3976, allocations: 0.625 kB / 0.5252 GB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.3977, allocations: 89.2 kB / 0.5253 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3981, allocations: 36.5 kB / 0.5253 GB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.4015, allocations: 2.49 MB / 0.5277 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.4017, allocations: 0.7558 MB / 0.5285 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.4018, allocations: 44.62 kB / 0.5285 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.4019, allocations: 64.44 kB / 0.5286 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4019, allocations: 1.219 kB / 0.5286 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.4308, allocations: 4.225 MB / 0.5327 GB, free: 268 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.633, allocations: 1.375 kB / 0.5327 GB, free: 268 kB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.DaisyChain_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_DaisyChain.fmu > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.488005970837548] Failed to read output from testmodel.py, exit status != 0: 8.705861209193245 8.733835046 8.342670711 Calling exit ...