Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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.001721/0.001722, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001994/0.001994, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.523/1.523, 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.101/0.101, allocations: 22.34 MB / 319.6 MB, free: 6.781 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_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002693, allocations: 67.89 kB / 445.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1421, allocations: 54.94 MB / 0.4885 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.003391/0.1456, allocations: 2.015 MB / 0.4904 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.147, allocations: 0.6819 MB / 0.4911 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1472, allocations: 8 kB / 0.4911 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004231/0.1477, allocations: 67.48 kB / 0.4912 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.148, allocations: 107.4 kB / 0.4913 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.1483, allocations: 159.8 kB / 0.4914 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.1489, allocations: 455.5 kB / 0.4919 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1491, allocations: 78.03 kB / 0.4919 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.1494, allocations: 183.4 kB / 0.4921 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.1497, allocations: 207.2 kB / 0.4923 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.1498, allocations: 27.94 kB / 0.4923 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.1499, allocations: 24 kB / 0.4924 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.15, allocations: 95.72 kB / 0.4925 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1502, allocations: 131.2 kB / 0.4926 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.1505, allocations: 290.6 kB / 0.4929 GB, free: 13.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1505, allocations: 0 / 0.4929 GB, free: 13.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1505, allocations: 0 / 0.4929 GB, free: 13.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.1505, allocations: 0 / 0.4929 GB, free: 13.13 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001938/0.1525, allocations: 0.775 MB / 0.4936 GB, free: 12.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1525, allocations: 8.031 kB / 0.4936 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.879e-05/0.1526, allocations: 58.73 kB / 0.4937 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.1527, allocations: 36.7 kB / 0.4937 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1537, allocations: 428.1 kB / 0.4941 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.1538, allocations: 16.7 kB / 0.4941 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.1538, allocations: 20.33 kB / 0.4942 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.1542, allocations: 204.2 kB / 0.4944 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1542, allocations: 4 kB / 0.4944 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.1543, allocations: 7.938 kB / 0.4944 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.1543, allocations: 4 kB / 0.4944 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.1547, allocations: 196.1 kB / 0.4946 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.156, allocations: 0.7032 MB / 0.4952 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.1568, allocations: 310.3 kB / 0.4955 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.157, allocations: 124.8 kB / 0.4957 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.1571, allocations: 7.938 kB / 0.4957 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.1571, allocations: 34.56 kB / 0.4957 GB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.1571, allocations: 0 / 0.4957 GB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007416/0.1578, allocations: 367.2 kB / 0.496 GB, free: 9.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1579, allocations: 59.41 kB / 0.4961 GB, free: 9.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009272/0.1588, allocations: 416.3 kB / 0.4965 GB, free: 9.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1589, allocations: 37.7 kB / 0.4965 GB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.159, allocations: 160.5 kB / 0.4967 GB, free: 8.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/0.1591, allocations: 103.2 kB / 0.4968 GB, free: 8.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.1592, allocations: 41.7 kB / 0.4968 GB, free: 8.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1594, allocations: 338.8 kB / 0.4972 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.1596, allocations: 91.94 kB / 0.4972 GB, free: 8.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.1598, allocations: 99.58 kB / 0.4973 GB, free: 8.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.1622, allocations: 0.6609 MB / 0.498 GB, free: 7.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1623, allocations: 0 / 0.498 GB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000582/0.1628, allocations: 345.2 kB / 0.4983 GB, free: 7.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1629, allocations: 4 kB / 0.4983 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1629, allocations: 0 / 0.4983 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1629, allocations: 4 kB / 0.4983 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.1632, allocations: 47.97 kB / 0.4984 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1632, allocations: 0 / 0.4984 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.1636, allocations: 67.81 kB / 0.4984 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.1637, allocations: 8 kB / 0.4984 GB, free: 7.188 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 CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] CA2.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 (31): * Single equations (assignments): 31 * 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.0002559/0.1639, allocations: 167.6 kB / 0.4986 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.164, allocations: 39.64 kB / 0.4986 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.1647, allocations: 335.9 kB / 0.499 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1647, allocations: 4 kB / 0.499 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1647, allocations: 3.938 kB / 0.499 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1647, allocations: 0 / 0.499 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.1652, allocations: 369.3 kB / 0.4993 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.1652, allocations: 7.922 kB / 0.4993 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.1656, allocations: 47.92 kB / 0.4994 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1656, allocations: 4 kB / 0.4994 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.1656, allocations: 7.984 kB / 0.4994 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1656, allocations: 4 kB / 0.4994 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1656, allocations: 4 kB / 0.4994 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.1664, allocations: 0.5197 MB / 0.4999 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1666, allocations: 112.8 kB / 0.5 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.1666, allocations: 11.98 kB / 0.5 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.1671, allocations: 55.92 kB / 0.5001 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.1671, allocations: 15.98 kB / 0.5001 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1672, allocations: 4 kB / 0.5001 GB, free: 5.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008122/0.168, allocations: 330.9 kB / 0.5004 GB, free: 5.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.168, allocations: 0 / 0.5004 GB, free: 5.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.1683, allocations: 63.83 kB / 0.5005 GB, free: 5.016 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,CA2.x_scaled[1],CA1.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 (26): * Single equations (assignments): 26 * 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.00115/0.1695, allocations: 1.064 MB / 0.5015 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005018/0.17, allocations: 251.7 kB / 0.5017 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.17, allocations: 4 kB / 0.5017 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.1702, allocations: 132.2 kB / 0.5019 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.1707, allocations: 61.12 kB / 0.5019 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.1766, allocations: 3.382 MB / 0.5052 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2077/0.3843, allocations: 0.7937 MB / 0.506 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.3846, allocations: 60.67 kB / 0.5061 GB, free: 20.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3848, allocations: 105.7 kB / 0.5062 GB, free: 20.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.352e-06/0.3848, allocations: 0 / 0.5062 GB, free: 20.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0418/0.4266, allocations: 6.12 MB / 0.5121 GB, free: 20 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.553, allocations: 5.406 kB / 0.5121 GB, free: 20 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops_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_cascadeLoops.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.39595613302663] Failed to read output from testmodel.py, exit status != 0: 8.624955604900606 8.639491468 8.485167034 Calling exit ...