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.001281/0.001281, allocations: 110.2 kB / 16.46 MB, free: 6.035 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.00132/0.00132, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.375/1.375, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.09706/0.09706, allocations: 22.69 MB / 325.4 MB, free: 3.527 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.002151/0.002151, allocations: 67.89 kB / 457.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1296, allocations: 58.01 MB / 0.5031 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003565/0.1332, allocations: 1.95 MB / 0.505 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1346, allocations: 0.6741 MB / 0.5057 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1348, allocations: 4 kB / 0.5057 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.1352, allocations: 75.55 kB / 0.5057 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.1355, allocations: 95.45 kB / 0.5058 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.1358, allocations: 151.8 kB / 0.506 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.1364, allocations: 435.2 kB / 0.5064 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.1366, allocations: 45.12 kB / 0.5064 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.1368, allocations: 171.5 kB / 0.5066 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.1371, allocations: 219.2 kB / 0.5068 GB, free: 3.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.1372, allocations: 20 kB / 0.5068 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.983e-05/0.1372, allocations: 24 kB / 0.5068 GB, free: 3.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.1374, allocations: 99.66 kB / 0.5069 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1375, allocations: 123.2 kB / 0.5071 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1378, allocations: 270.8 kB / 0.5073 GB, free: 3.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1378, allocations: 3.938 kB / 0.5073 GB, free: 3.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1378, allocations: 0 / 0.5073 GB, free: 3.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1378, allocations: 0 / 0.5073 GB, free: 3.277 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.001974/0.1398, allocations: 0.7476 MB / 0.508 GB, free: 2.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1398, allocations: 12.03 kB / 0.5081 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.27e-05/0.1399, allocations: 50.67 kB / 0.5081 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.14, allocations: 36.7 kB / 0.5081 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009943/0.141, allocations: 420.2 kB / 0.5085 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.141, allocations: 8.375 kB / 0.5086 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.141, allocations: 24.33 kB / 0.5086 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.1414, allocations: 182.3 kB / 0.5088 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1414, allocations: 0 / 0.5088 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.1414, allocations: 4 kB / 0.5088 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1414, allocations: 4 kB / 0.5088 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.1418, allocations: 179.9 kB / 0.5089 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.143, allocations: 0.6408 MB / 0.5096 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.1436, allocations: 246.4 kB / 0.5098 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.1438, allocations: 97.19 kB / 0.5099 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.1438, allocations: 7.938 kB / 0.5099 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.1438, allocations: 34.55 kB / 0.5099 GB, free: 448 kB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.203e-06/0.1438, allocations: 3.938 kB / 0.5099 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006721/0.1445, allocations: 340.1 kB / 0.5103 GB, free: 100 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1446, allocations: 63.34 kB / 0.5103 GB, free: 24 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2414/0.3859, allocations: 417.1 kB / 0.5107 GB, free: 16.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/0.386, allocations: 30.97 kB / 0.5107 GB, free: 16.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.3861, allocations: 158 kB / 0.5109 GB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.512e-05/0.3862, allocations: 86.67 kB / 0.511 GB, free: 15.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.3863, allocations: 44.06 kB / 0.511 GB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.3863, allocations: 342.2 kB / 0.5113 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.3865, allocations: 85.45 kB / 0.5114 GB, free: 15.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.3867, allocations: 87.47 kB / 0.5115 GB, free: 15.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.3889, allocations: 0.6315 MB / 0.5121 GB, free: 15.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3889, allocations: 1.031 kB / 0.5121 GB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004686/0.3894, allocations: 313.1 kB / 0.5124 GB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3894, allocations: 6.812 kB / 0.5124 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3894, allocations: 0 / 0.5124 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3894, allocations: 3.75 kB / 0.5124 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.3897, allocations: 48.98 kB / 0.5125 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3897, allocations: 1.062 kB / 0.5125 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.3901, allocations: 68.8 kB / 0.5125 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3901, allocations: 5.094 kB / 0.5126 GB, free: 15.51 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.0001809/0.3903, allocations: 173.4 kB / 0.5127 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.3903, allocations: 26.66 kB / 0.5127 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00051/0.3908, allocations: 308.5 kB / 0.513 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3908, allocations: 2.688 kB / 0.513 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3908, allocations: 5.906 kB / 0.513 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3908, allocations: 0 / 0.513 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.3912, allocations: 348.8 kB / 0.5134 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3912, allocations: 2.844 kB / 0.5134 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.3915, allocations: 40.34 kB / 0.5134 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3915, allocations: 4.719 kB / 0.5134 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.3915, allocations: 10.75 kB / 0.5134 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3915, allocations: 1.312 kB / 0.5134 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3915, allocations: 3.938 kB / 0.5134 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.3922, allocations: 0.4917 MB / 0.5139 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.3923, allocations: 116.7 kB / 0.514 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.3923, allocations: 3.375 kB / 0.514 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.3927, allocations: 56 kB / 0.5141 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.3927, allocations: 15.34 kB / 0.5141 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3927, allocations: 11.73 kB / 0.5141 GB, free: 14.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006306/0.3934, allocations: 330.5 kB / 0.5144 GB, free: 14.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3934, allocations: 0 / 0.5144 GB, free: 14.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000265/0.3936, allocations: 49.69 kB / 0.5145 GB, free: 14.78 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.0007773/0.3944, allocations: 1.034 MB / 0.5155 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.3948, allocations: 228.6 kB / 0.5157 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3948, allocations: 0 / 0.5157 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.395, allocations: 119.6 kB / 0.5158 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3954, allocations: 66.33 kB / 0.5159 GB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.4004, allocations: 3.288 MB / 0.5191 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4007, allocations: 0.7888 MB / 0.5199 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.4009, allocations: 63.17 kB / 0.5199 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.4011, allocations: 97.14 kB / 0.52 GB, free: 11.64 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4011, allocations: 0 / 0.52 GB, free: 11.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.4314, allocations: 6.024 MB / 0.5259 GB, free: 11.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.347, allocations: 10.22 kB / 0.5259 GB, free: 11.01 MB / 382.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 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: 10.836857710033655] Failed to read output from testmodel.py, exit status != 0: 8.415203496813774 8.424819039 8.284706233 Calling exit ...