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.0007943/0.0007943, allocations: 76.52 kB / 19.95 MB, free: 4.602 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.0008076/0.0008076, allocations: 169.2 kB / 23.23 MB, free: 1.324 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.8984/0.8984, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.06203/0.06203, allocations: 18.13 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.354e-06/2.354e-06, allocations: 0 / 415.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.441e-05, allocations: 2.984 kB / 415.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002443/0.002468, allocations: 0.9453 MB / 416 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.004094, allocations: 1.218 MB / 417.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/0.004192, allocations: 6.688 kB / 417.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.004542, allocations: 47.16 kB / 417.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.004701, allocations: 41.55 kB / 417.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.004946, allocations: 113.9 kB / 417.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.005153, allocations: 135.9 kB / 417.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.005265, allocations: 25.3 kB / 417.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.764e-05/0.005363, allocations: 64.19 kB / 417.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.005513, allocations: 89.22 kB / 417.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.005553, allocations: 11 kB / 417.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.189e-05/0.005575, allocations: 11 kB / 417.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.005652, allocations: 50.81 kB / 417.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.005695, allocations: 40.06 kB / 417.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.00586, allocations: 134.1 kB / 418 MB, free: 10.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.005864, allocations: 1.344 kB / 418 MB, free: 10.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005864, allocations: 0 / 418 MB, free: 10.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.00587, 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.0007513/0.006621, allocations: 458.1 kB / 418.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.006662, allocations: 9.891 kB / 418.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.006695, allocations: 43.56 kB / 418.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.006731, allocations: 16.34 kB / 418.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.007071, allocations: 232 kB / 418.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.007084, allocations: 4.891 kB / 418.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.007108, allocations: 14.05 kB / 418.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.00728, allocations: 115.6 kB / 418.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.007292, allocations: 5.562 kB / 418.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.007302, allocations: 4.125 kB / 418.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.007308, allocations: 2.188 kB / 418.9 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.007472, allocations: 102.3 kB / 419 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.007988, allocations: 404.2 kB / 419.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.008295, allocations: 152.2 kB / 419.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.008389, allocations: 67.56 kB / 419.6 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.008403, allocations: 2.031 kB / 419.6 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.008417, allocations: 33.67 kB / 419.6 MB, free: 9.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.008418, allocations: 0 / 419.6 MB, free: 9.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007514/0.009169, allocations: 322 kB / 419.9 MB, free: 9.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.009198, allocations: 57.88 kB / 420 MB, free: 9.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003292/0.009527, allocations: 246.1 kB / 420.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.009538, allocations: 29.7 kB / 420.2 MB, free: 9.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.009594, allocations: 116 kB / 420.4 MB, free: 9.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.009641, allocations: 43.89 kB / 420.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.009689, allocations: 28.89 kB / 420.4 MB, free: 9.371 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.009744, allocations: 331.7 kB / 420.7 MB, free: 9.047 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.241e-05/0.009827, allocations: 47.66 kB / 420.8 MB, free: 9.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.009911, allocations: 56.45 kB / 420.9 MB, free: 9.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/0.01064, allocations: 340.2 kB / 421.2 MB, free: 8.926 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01064, allocations: 1.703 kB / 421.2 MB, free: 8.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003134/0.01095, allocations: 232.2 kB / 421.4 MB, free: 8.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.01097, allocations: 11.27 kB / 421.4 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01097, allocations: 0 / 421.4 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.01112, allocations: 52.52 kB / 421.5 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.01118, allocations: 17.05 kB / 421.5 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008976/0.01208, allocations: 1.495 MB / 423 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.01221, allocations: 38.88 kB / 423 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.01222, allocations: 4.578 kB / 423 MB, free: 7.43 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.0001381/0.01235, allocations: 138.8 kB / 423.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.01239, allocations: 14.25 kB / 423.2 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.01243, allocations: 24.86 kB / 423.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01243, allocations: 1.125 kB / 423.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.01244, allocations: 1.125 kB / 423.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.01244, allocations: 4.688 kB / 423.2 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.01262, allocations: 202.2 kB / 423.4 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.01263, allocations: 5 kB / 423.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.0127, allocations: 14.72 kB / 423.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.01281, allocations: 58.97 kB / 423.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01283, allocations: 2.969 kB / 423.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007016/0.01353, allocations: 1.487 MB / 425 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01353, allocations: 2.016 kB / 425 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.01393, allocations: 388.6 kB / 425.4 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.01395, allocations: 19.73 kB / 425.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.01396, allocations: 4.016 kB / 425.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.01409, allocations: 25.34 kB / 425.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.01414, allocations: 13.64 kB / 425.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.01414, allocations: 2.438 kB / 425.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002301/0.01437, allocations: 200.2 kB / 425.6 MB, free: 5.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01437, allocations: 0 / 425.6 MB, free: 5.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.01459, allocations: 33.98 kB / 425.6 MB, free: 5.352 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.0005411/0.01514, allocations: 0.9046 MB / 426.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004129/0.01555, allocations: 259.5 kB / 426.8 MB, free: 4.449 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01555, allocations: 1.062 kB / 426.8 MB, free: 4.449 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.01571, allocations: 192 kB / 427 MB, free: 4.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.01594, allocations: 25.78 kB / 427 MB, free: 4.301 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.01824, allocations: 2.266 MB / 429.3 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.01836, allocations: 122.1 kB / 429.4 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.374e-05/0.01843, allocations: 30.58 kB / 429.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.0185, allocations: 43.08 kB / 429.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0185, allocations: 0 / 429.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.03826, allocations: 4.572 MB / 434 MB, free: 1.305 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.042, allocations: 12.72 kB / 434.1 MB, free: 1.293 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Tuning_brushup_MSL_loop_base_fmu --startTime=0 --stopTime=60 --stepSize=0.12 --timeout=50 --tolerance=1e-06 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: 8.958644337952137] Failed to read output from testmodel.py, exit status != 0: 7.124287648126483 7.133966025 7.126381306 Calling exit ...