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.0008772/0.0008772, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008751/0.0008751, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.9097/0.9097, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.06135/0.06135, allocations: 18.12 MB / 278.1 MB, free: 11.54 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0.5156 kB / 415 MB, free: 12.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.294e-05, allocations: 2.281 kB / 415.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002623/0.002646, allocations: 0.9554 MB / 416 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.004401, allocations: 1.215 MB / 417.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.004512, allocations: 6.031 kB / 417.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.004857, allocations: 42.89 kB / 417.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.005057, allocations: 46.8 kB / 417.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.005394, allocations: 114 kB / 417.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.005661, allocations: 144.5 kB / 417.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.005781, allocations: 16 kB / 417.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.005926, allocations: 65.31 kB / 417.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.006142, allocations: 85.72 kB / 417.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.183e-05/0.006204, allocations: 11.22 kB / 417.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.391e-05/0.006238, allocations: 11.06 kB / 417.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.332e-05/0.006331, allocations: 50.72 kB / 417.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.006388, allocations: 40.12 kB / 417.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.00661, allocations: 138.8 kB / 418 MB, free: 10.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.006614, allocations: 0 / 418 MB, free: 10.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.006615, allocations: 0 / 418 MB, free: 10.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.00662, allocations: 0 / 418 MB, free: 10.96 MB / 330.7 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.001023/0.007643, allocations: 454 kB / 418.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.007688, allocations: 10.55 kB / 418.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.007729, allocations: 44.62 kB / 418.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.007777, allocations: 19.81 kB / 418.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.008249, allocations: 235 kB / 418.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.008268, allocations: 4.062 kB / 418.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.008297, allocations: 11.38 kB / 418.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.00852, allocations: 111.7 kB / 418.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.008536, allocations: 0.9375 kB / 418.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.008552, allocations: 9.938 kB / 418.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.008558, allocations: 1.25 kB / 418.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.00879, allocations: 103.6 kB / 419 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.009466, allocations: 407.9 kB / 419.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.00987, allocations: 150.7 kB / 419.5 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.009988, allocations: 60.08 kB / 419.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.01, allocations: 1.438 kB / 419.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.01002, allocations: 35.66 kB / 419.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.933e-06/0.01002, allocations: 5.438 kB / 419.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009358/0.01096, allocations: 321.2 kB / 419.9 MB, free: 9.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.01099, allocations: 57.5 kB / 420 MB, free: 9.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.01137, allocations: 246 kB / 420.2 MB, free: 9.574 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.01139, allocations: 27.27 kB / 420.2 MB, free: 9.543 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.01144, allocations: 114.9 kB / 420.4 MB, free: 9.438 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.01148, allocations: 44.02 kB / 420.4 MB, free: 9.402 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.01154, allocations: 28.33 kB / 420.4 MB, free: 9.379 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.01158, allocations: 333 kB / 420.7 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.492e-05/0.01168, allocations: 46.91 kB / 420.8 MB, free: 9.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.01177, allocations: 51.72 kB / 420.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008965/0.01266, allocations: 337.9 kB / 421.2 MB, free: 8.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01267, allocations: 1.062 kB / 421.2 MB, free: 8.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004337/0.0131, allocations: 238.9 kB / 421.4 MB, free: 8.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.01312, allocations: 5.438 kB / 421.4 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.01313, allocations: 2.125 kB / 421.4 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.01333, allocations: 52.62 kB / 421.5 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/0.01341, allocations: 21.11 kB / 421.5 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.0145, allocations: 1.491 MB / 423 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.01463, allocations: 35.8 kB / 423 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.01464, allocations: 3.188 kB / 423 MB, free: 7.445 MB / 330.7 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.0001326/0.01478, allocations: 140.2 kB / 423.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.01481, allocations: 15.27 kB / 423.2 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.01485, allocations: 28.48 kB / 423.2 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01486, allocations: 5.281 kB / 423.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.01486, allocations: 5.531 kB / 423.2 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.01487, allocations: 5.203 kB / 423.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.0151, allocations: 201.5 kB / 423.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.0151, allocations: 0.7031 kB / 423.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.01521, allocations: 18.92 kB / 423.4 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.01534, allocations: 50.47 kB / 423.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01535, allocations: 3.172 kB / 423.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007329/0.01609, allocations: 1.491 MB / 425 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01609, allocations: 1.125 kB / 425 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.01656, allocations: 381 kB / 425.3 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.01659, allocations: 20.19 kB / 425.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.0166, allocations: 1.938 kB / 425.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.01673, allocations: 30.56 kB / 425.4 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.0168, allocations: 14.3 kB / 425.4 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.01681, allocations: 2.406 kB / 425.4 MB, free: 5.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002781/0.01709, allocations: 195.4 kB / 425.6 MB, free: 5.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01709, allocations: 0 / 425.6 MB, free: 5.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.01734, allocations: 38.61 kB / 425.6 MB, free: 5.363 MB / 330.7 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.0006176/0.01796, allocations: 0.9087 MB / 426.6 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004403/0.0184, allocations: 255.3 kB / 426.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.0184, allocations: 0 / 426.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.01858, allocations: 199.7 kB / 427 MB, free: 4.316 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.01884, allocations: 21.25 kB / 427 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.02127, allocations: 2.255 MB / 429.3 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.02143, allocations: 125.3 kB / 429.4 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.326e-05/0.02152, allocations: 31.8 kB / 429.4 MB, free: 2.711 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.02161, allocations: 46.53 kB / 429.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02161, allocations: 4 kB / 429.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.04776, allocations: 4.57 MB / 434 MB, free: 1.301 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.296/7.344, allocations: 8.656 kB / 434.1 MB, free: 1.297 MB / 330.7 MB " [Timeout remaining time 653] (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: 9.371479656547308] Failed to read output from testmodel.py, exit status != 0: 7.4300287803635 7.440665942 7.432197802 Calling exit ...