Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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.001844/0.001844, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002415/0.002415, allocations: 209.9 kB / 23.01 MB, free: 4.992 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1102/0.1102, allocations: 24.05 MB / 337.2 MB, free: 11.33 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.Tuning_brushup.MSL_loop_base,fileNamePrefix="AES_AES_Coursework_Tuning_brushup_MSL_loop_base",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Tuning_brushup.MSL_loop_base,fileNamePrefix="AES_AES_Coursework_Tuning_brushup_MSL_loop_base",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.002228/0.002228, allocations: 63.91 kB / 473.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3686, allocations: 59.58 MB / 0.5209 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002241/0.3708, allocations: 0.9521 MB / 0.5218 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3723, allocations: 1.213 MB / 0.523 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.189e-05/0.3724, allocations: 2.469 kB / 0.523 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.3727, allocations: 39.58 kB / 0.5231 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.3729, allocations: 46.94 kB / 0.5231 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3731, allocations: 88.78 kB / 0.5232 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.3734, allocations: 238.4 kB / 0.5234 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3736, allocations: 24.5 kB / 0.5234 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.3737, allocations: 91.09 kB / 0.5235 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.3739, allocations: 102.1 kB / 0.5236 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.374, allocations: 10.53 kB / 0.5236 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.944e-05/0.374, allocations: 11.25 kB / 0.5236 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.3741, allocations: 54.06 kB / 0.5237 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.3742, allocations: 48.7 kB / 0.5237 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.3744, allocations: 138.8 kB / 0.5239 GB, free: 8.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3744, allocations: 0 / 0.5239 GB, free: 8.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3744, allocations: 0 / 0.5239 GB, free: 8.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3744, allocations: 0 / 0.5239 GB, free: 8.332 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001099/0.3755, allocations: 465.6 kB / 0.5243 GB, free: 8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3756, allocations: 10.02 kB / 0.5243 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.3756, allocations: 38.06 kB / 0.5244 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.3756, allocations: 20.3 kB / 0.5244 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.3761, allocations: 226.1 kB / 0.5246 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3762, allocations: 8.5 kB / 0.5246 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.3762, allocations: 8.984 kB / 0.5246 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.3764, allocations: 116.2 kB / 0.5247 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3764, allocations: 1.125 kB / 0.5247 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3764, allocations: 5.125 kB / 0.5247 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3764, allocations: 5.188 kB / 0.5247 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.3767, allocations: 100.5 kB / 0.5248 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.3773, allocations: 407.7 kB / 0.5252 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.3777, allocations: 149.7 kB / 0.5254 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3778, allocations: 63.66 kB / 0.5254 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3778, allocations: 5.266 kB / 0.5254 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.3779, allocations: 42.12 kB / 0.5255 GB, free: 7.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3779, allocations: 4 kB / 0.5255 GB, free: 7.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001014/0.3789, allocations: 313.8 kB / 0.5258 GB, free: 7.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.3789, allocations: 60.5 kB / 0.5258 GB, free: 7.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.3794, allocations: 254 kB / 0.5261 GB, free: 6.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3794, allocations: 25.7 kB / 0.5261 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.3794, allocations: 115.6 kB / 0.5262 GB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.3795, allocations: 47.8 kB / 0.5263 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.3795, allocations: 29.81 kB / 0.5263 GB, free: 6.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.3796, allocations: 325.1 kB / 0.5266 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3797, allocations: 54.8 kB / 0.5266 GB, free: 6.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.845e-05/0.3798, allocations: 52.45 kB / 0.5267 GB, free: 6.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.3808, allocations: 334.5 kB / 0.527 GB, free: 6.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3808, allocations: 0 / 0.527 GB, free: 6.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004507/0.3813, allocations: 233.3 kB / 0.5272 GB, free: 6.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3813, allocations: 10.42 kB / 0.5272 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3813, allocations: 0 / 0.5272 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.3815, allocations: 56.78 kB / 0.5273 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.3816, allocations: 16.38 kB / 0.5273 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.3827, allocations: 1.492 MB / 0.5288 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.3829, allocations: 43.52 kB / 0.5288 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.383, allocations: 2.219 kB / 0.5288 GB, free: 4.793 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.3831, allocations: 143.5 kB / 0.529 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.3831, allocations: 13.94 kB / 0.529 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.3832, allocations: 27.12 kB / 0.529 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3832, allocations: 6 kB / 0.529 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.3832, allocations: 0.9062 kB / 0.529 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3832, allocations: 1.734 kB / 0.529 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3834, allocations: 198 kB / 0.5292 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3834, allocations: 1.094 kB / 0.5292 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3835, allocations: 13.92 kB / 0.5292 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001553/0.3837, allocations: 56.19 kB / 0.5293 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3837, allocations: 10.41 kB / 0.5293 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.3847, allocations: 1.483 MB / 0.5307 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3847, allocations: 0.7031 kB / 0.5307 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.3853, allocations: 383.7 kB / 0.5311 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.3853, allocations: 20.33 kB / 0.5311 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.3854, allocations: 6.938 kB / 0.5311 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3856, allocations: 33.88 kB / 0.5311 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.3857, allocations: 10.22 kB / 0.5311 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.3857, allocations: 6.25 kB / 0.5312 GB, free: 2.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004183/0.3861, allocations: 192.2 kB / 0.5313 GB, free: 2.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3861, allocations: 1.188 kB / 0.5313 GB, free: 2.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.3864, allocations: 29.59 kB / 0.5314 GB, free: 2.715 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007505/0.3871, allocations: 0.9231 MB / 0.5323 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005079/0.3876, allocations: 250.3 kB / 0.5325 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3876, allocations: 5.125 kB / 0.5325 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.3879, allocations: 203.9 kB / 0.5327 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3882, allocations: 24.86 kB / 0.5327 GB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.3916, allocations: 2.259 MB / 0.5349 GB, free: 136 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.3918, allocations: 118.1 kB / 0.535 GB, free: 52 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.3919, allocations: 26.39 kB / 0.5351 GB, free: 52 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.392, allocations: 45.45 kB / 0.5351 GB, free: 16 kB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.392, allocations: 0 / 0.5351 GB, free: 16 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/0.4282, allocations: 4.422 MB / 0.5394 GB, free: 14.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.09, allocations: 2.531 kB / 0.5394 GB, free: 14.97 MB / 398.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.Tuning_brushup.MSL_loop_base_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 AES_AES_Coursework_Tuning_brushup_MSL_loop_base.fmu > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.9775528809987] Failed to read output from testmodel.py, exit status != 0: 12.202380548231304 12.229447428 11.849929702 Calling exit ...