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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 106.8 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.09893/0.09893, allocations: 22.34 MB / 319.6 MB, free: 6.777 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 67.89 kB / 445.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1198, allocations: 54.95 MB / 0.4885 GB, free: 1.645 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003489/0.1233, allocations: 1.931 MB / 0.4904 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1248, allocations: 0.6781 MB / 0.491 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.125, allocations: 7.938 kB / 0.491 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.1254, allocations: 67.55 kB / 0.4911 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.1258, allocations: 91.53 kB / 0.4912 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.1262, allocations: 159.8 kB / 0.4913 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000588/0.1268, allocations: 435.1 kB / 0.4918 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.127, allocations: 57.16 kB / 0.4918 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.1273, allocations: 167.5 kB / 0.492 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.1277, allocations: 195.2 kB / 0.4922 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.341e-05/0.1277, allocations: 20 kB / 0.4922 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.1278, allocations: 24 kB / 0.4922 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.1279, allocations: 99.69 kB / 0.4923 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1281, allocations: 119.3 kB / 0.4924 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1285, allocations: 274.7 kB / 0.4927 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1285, allocations: 4 kB / 0.4927 GB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1285, allocations: 0 / 0.4927 GB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1285, allocations: 3.938 kB / 0.4927 GB, free: 13.32 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.002085/0.1306, allocations: 0.7475 MB / 0.4934 GB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.1306, allocations: 8.031 kB / 0.4934 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.1307, allocations: 46.75 kB / 0.4935 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.227e-05/0.1308, allocations: 32.7 kB / 0.4935 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.1319, allocations: 424.2 kB / 0.4939 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1319, allocations: 8.375 kB / 0.4939 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.132, allocations: 20.33 kB / 0.4939 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.1324, allocations: 182.3 kB / 0.4941 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1324, allocations: 7.938 kB / 0.4941 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.1324, allocations: 4 kB / 0.4941 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1324, allocations: 4 kB / 0.4941 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.1328, allocations: 179.8 kB / 0.4943 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.1341, allocations: 0.6486 MB / 0.4949 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.1347, allocations: 250.4 kB / 0.4952 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.1349, allocations: 105.2 kB / 0.4953 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1349, allocations: 3.938 kB / 0.4953 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.135, allocations: 38.56 kB / 0.4953 GB, free: 10.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.135, allocations: 0 / 0.4953 GB, free: 10.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007405/0.1357, allocations: 348.2 kB / 0.4956 GB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1358, allocations: 51.41 kB / 0.4957 GB, free: 10.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000953/0.1367, allocations: 420.4 kB / 0.4961 GB, free: 9.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.1368, allocations: 29.7 kB / 0.4961 GB, free: 9.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1369, allocations: 156.4 kB / 0.4963 GB, free: 9.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.137, allocations: 87.27 kB / 0.4963 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.1371, allocations: 41.7 kB / 0.4964 GB, free: 9.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1373, allocations: 342.8 kB / 0.4967 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.1375, allocations: 92.12 kB / 0.4968 GB, free: 8.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.1377, allocations: 85.11 kB / 0.4969 GB, free: 8.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/0.1401, allocations: 0.6297 MB / 0.4975 GB, free: 8.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1401, allocations: 0 / 0.4975 GB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005248/0.1406, allocations: 314.5 kB / 0.4978 GB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1407, allocations: 8 kB / 0.4978 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1407, allocations: 3.938 kB / 0.4978 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1407, allocations: 0 / 0.4978 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.1409, allocations: 47.91 kB / 0.4979 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.141, allocations: 4 kB / 0.4979 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.1414, allocations: 67.81 kB / 0.4979 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.1414, allocations: 4 kB / 0.4979 GB, free: 7.719 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.0002428/0.1416, allocations: 167.7 kB / 0.4981 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.1417, allocations: 31.75 kB / 0.4981 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/0.1423, allocations: 309.2 kB / 0.4984 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.1423, allocations: 4 kB / 0.4984 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1424, allocations: 4 kB / 0.4984 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1424, allocations: 7.922 kB / 0.4984 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.1428, allocations: 349.4 kB / 0.4988 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1428, allocations: 0 / 0.4988 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.1431, allocations: 43.91 kB / 0.4988 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1431, allocations: 0 / 0.4988 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.1432, allocations: 11.94 kB / 0.4988 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1432, allocations: 0 / 0.4988 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1432, allocations: 0 / 0.4988 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.144, allocations: 0.4945 MB / 0.4993 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.1441, allocations: 112.9 kB / 0.4994 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.1441, allocations: 11.92 kB / 0.4994 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.1446, allocations: 51.92 kB / 0.4995 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.1446, allocations: 19.92 kB / 0.4995 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1446, allocations: 8 kB / 0.4995 GB, free: 6.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007965/0.1454, allocations: 326.9 kB / 0.4998 GB, free: 5.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1455, allocations: 0 / 0.4998 GB, free: 5.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.1458, allocations: 55.94 kB / 0.4999 GB, free: 5.652 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.001112/0.1469, allocations: 1.029 MB / 0.5009 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.1474, allocations: 242.1 kB / 0.5011 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1474, allocations: 0 / 0.5011 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.1476, allocations: 119.9 kB / 0.5012 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.1481, allocations: 66.72 kB / 0.5013 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/0.1539, allocations: 3.29 MB / 0.5045 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2487/0.4026, allocations: 0.7872 MB / 0.5052 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.403, allocations: 56.09 kB / 0.5053 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.4032, allocations: 97.38 kB / 0.5054 GB, free: 20.53 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4032, allocations: 0 / 0.5054 GB, free: 20.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.4358, allocations: 5.937 MB / 0.5112 GB, free: 20.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.574, allocations: 1.312 kB / 0.5112 GB, free: 20.03 MB / 382.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.219023231999017] Failed to read output from testmodel.py, exit status != 0: 8.645155622973107 8.664549903 8.532448639 Calling exit ...