Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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.001744/0.001744, allocations: 106.2 kB / 16.4 MB, free: 6.504 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.001916/0.001916, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.461/1.461, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.1605/0.1605, allocations: 22.34 MB / 319.6 MB, free: 6.742 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_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002587/0.002587, allocations: 59.91 kB / 445.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1249, allocations: 54.95 MB / 0.4885 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003363/0.1283, allocations: 1.795 MB / 0.4902 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1298, allocations: 0.5844 MB / 0.4908 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.13, allocations: 3.938 kB / 0.4908 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.1304, allocations: 35.78 kB / 0.4908 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.1308, allocations: 63.62 kB / 0.4909 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1311, allocations: 87.86 kB / 0.491 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.1315, allocations: 255.5 kB / 0.4912 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.1317, allocations: 37.67 kB / 0.4913 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.1319, allocations: 107.6 kB / 0.4914 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1321, allocations: 119.5 kB / 0.4915 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.1322, allocations: 16 kB / 0.4915 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.949e-05/0.1322, allocations: 16 kB / 0.4915 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1324, allocations: 59.8 kB / 0.4916 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1325, allocations: 75.53 kB / 0.4916 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.1327, allocations: 179.2 kB / 0.4918 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1328, allocations: 0 / 0.4918 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1328, allocations: 0 / 0.4918 GB, free: 14.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1328, allocations: 0 / 0.4918 GB, free: 14.18 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001436/0.1342, allocations: 0.5802 MB / 0.4924 GB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1343, allocations: 8.031 kB / 0.4924 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.821e-05/0.1344, allocations: 46.75 kB / 0.4924 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.1344, allocations: 24.8 kB / 0.4924 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.1352, allocations: 312.5 kB / 0.4927 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1352, allocations: 8.375 kB / 0.4928 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.1352, allocations: 12.38 kB / 0.4928 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.1356, allocations: 133.7 kB / 0.4929 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1356, allocations: 0 / 0.4929 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.1356, allocations: 4 kB / 0.4929 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1356, allocations: 7.984 kB / 0.4929 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.1359, allocations: 119.9 kB / 0.493 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.137, allocations: 0.5197 MB / 0.4935 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.1375, allocations: 182.3 kB / 0.4937 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.1377, allocations: 79.48 kB / 0.4938 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.1377, allocations: 4 kB / 0.4938 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1377, allocations: 30.56 kB / 0.4938 GB, free: 11.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.1377, allocations: 4 kB / 0.4938 GB, free: 11.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.000597/0.1383, allocations: 241.7 kB / 0.494 GB, free: 11.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.1384, allocations: 59.34 kB / 0.4941 GB, free: 11.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.139, allocations: 271.1 kB / 0.4944 GB, free: 11.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.1391, allocations: 29.7 kB / 0.4944 GB, free: 11.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1392, allocations: 132.3 kB / 0.4945 GB, free: 11.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.1393, allocations: 59.48 kB / 0.4946 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.1393, allocations: 37.7 kB / 0.4946 GB, free: 11.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1395, allocations: 330.8 kB / 0.4949 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1397, allocations: 59.95 kB / 0.495 GB, free: 10.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1398, allocations: 55.97 kB / 0.495 GB, free: 10.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.1417, allocations: 465.6 kB / 0.4955 GB, free: 10.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1417, allocations: 0 / 0.4955 GB, free: 10.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004319/0.1422, allocations: 215 kB / 0.4957 GB, free: 9.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1422, allocations: 11.44 kB / 0.4957 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1422, allocations: 0 / 0.4957 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.1423, allocations: 0 / 0.4957 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.1425, allocations: 35.92 kB / 0.4957 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.1425, allocations: 7.922 kB / 0.4957 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.1428, allocations: 43.84 kB / 0.4958 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.1428, allocations: 4 kB / 0.4958 GB, free: 9.875 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 (20): * Single equations (assignments): 20 * 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.0002708/0.1431, allocations: 143.8 kB / 0.4959 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.1432, allocations: 23.84 kB / 0.4959 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.1437, allocations: 223 kB / 0.4962 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1438, allocations: 0 / 0.4962 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.1438, allocations: 3.938 kB / 0.4962 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1438, allocations: 0 / 0.4962 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.1442, allocations: 293.4 kB / 0.4964 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1442, allocations: 0 / 0.4964 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.1444, allocations: 35.92 kB / 0.4965 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.1444, allocations: 4 kB / 0.4965 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.1445, allocations: 11.94 kB / 0.4965 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.1445, allocations: 3.984 kB / 0.4965 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1445, allocations: 3.938 kB / 0.4965 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.1451, allocations: 387.1 kB / 0.4969 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1452, allocations: 96.95 kB / 0.497 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.1453, allocations: 4.062 kB / 0.497 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.1456, allocations: 35.89 kB / 0.497 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.1456, allocations: 11.98 kB / 0.497 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1457, allocations: 4 kB / 0.497 GB, free: 8.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004815/0.1461, allocations: 212.5 kB / 0.4972 GB, free: 8.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1462, allocations: 3.938 kB / 0.4972 GB, free: 8.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1464, allocations: 43.95 kB / 0.4973 GB, free: 8.266 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 (17): * Single equations (assignments): 17 * 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.0009733/0.1474, allocations: 0.9097 MB / 0.4981 GB, free: 7.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.1479, allocations: 163.9 kB / 0.4983 GB, free: 7.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1479, allocations: 8 kB / 0.4983 GB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.148, allocations: 75.91 kB / 0.4984 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.1485, allocations: 42.55 kB / 0.4984 GB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.1526, allocations: 2.469 MB / 0.5008 GB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1531, allocations: 0.7514 MB / 0.5016 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.1532, allocations: 41.52 kB / 0.5016 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.1534, allocations: 63.36 kB / 0.5017 GB, free: 3.621 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1534, allocations: 0 / 0.5017 GB, free: 3.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.231/0.3844, allocations: 4.222 MB / 0.5058 GB, free: 20.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.366, allocations: 8.297 kB / 0.5058 GB, free: 20.55 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard_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_standard.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.104523878078908] Failed to read output from testmodel.py, exit status != 0: 8.437533932970837 8.458886366 8.321954444 Calling exit ...