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.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.001362/0.001362, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001528/0.001528, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.591/1.591, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1013/0.1013, allocations: 22.93 MB / 332.5 MB, free: 2.641 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.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.Typical_actuation_schemes.SplitRange_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 63.94 kB / 466.7 MB, free: 32.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1159, allocations: 59.27 MB / 0.5137 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003485/0.1194, allocations: 1.954 MB / 0.5156 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1208, allocations: 0.713 MB / 0.5163 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.121, allocations: 7.938 kB / 0.5163 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.1214, allocations: 67.55 kB / 0.5164 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.1217, allocations: 103.5 kB / 0.5165 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.122, allocations: 155.7 kB / 0.5166 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.1226, allocations: 431.2 kB / 0.517 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1227, allocations: 49.06 kB / 0.5171 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.1231, allocations: 171.5 kB / 0.5172 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.1234, allocations: 215.2 kB / 0.5174 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.021e-05/0.1235, allocations: 24 kB / 0.5175 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-05/0.1235, allocations: 20 kB / 0.5175 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1237, allocations: 107.6 kB / 0.5176 GB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1239, allocations: 111.3 kB / 0.5177 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.1242, allocations: 278.7 kB / 0.5179 GB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1243, allocations: 0 / 0.5179 GB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1243, allocations: 4 kB / 0.5179 GB, free: 9.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1243, allocations: 0 / 0.5179 GB, free: 9.613 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.002057/0.1263, allocations: 0.7475 MB / 0.5187 GB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1264, allocations: 8.625 kB / 0.5187 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.861e-05/0.1264, allocations: 8.188 kB / 0.5187 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.1265, allocations: 42.75 kB / 0.5187 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.1265, allocations: 36.73 kB / 0.5188 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.1276, allocations: 428.1 kB / 0.5192 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.1276, allocations: 12.38 kB / 0.5192 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.1276, allocations: 16.12 kB / 0.5192 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.128, allocations: 182.3 kB / 0.5194 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.128, allocations: 0 / 0.5194 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.128, allocations: 4 kB / 0.5194 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.128, allocations: 4 kB / 0.5194 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.1284, allocations: 179.9 kB / 0.5196 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.1297, allocations: 0.6408 MB / 0.5202 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.1302, allocations: 250.4 kB / 0.5204 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.1304, allocations: 93.19 kB / 0.5205 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.1305, allocations: 7.938 kB / 0.5205 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1305, allocations: 34.56 kB / 0.5206 GB, free: 6.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.462e-06/0.1305, allocations: 0 / 0.5206 GB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007439/0.1312, allocations: 342.9 kB / 0.5209 GB, free: 6.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1313, allocations: 63.41 kB / 0.5209 GB, free: 6.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009755/0.1323, allocations: 416.4 kB / 0.5213 GB, free: 5.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1323, allocations: 29.7 kB / 0.5214 GB, free: 5.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1324, allocations: 164.4 kB / 0.5215 GB, free: 5.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.215e-05/0.1325, allocations: 79.27 kB / 0.5216 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.1326, allocations: 49.7 kB / 0.5216 GB, free: 5.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1328, allocations: 346.7 kB / 0.522 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.133, allocations: 80.19 kB / 0.5221 GB, free: 5.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1331, allocations: 88.41 kB / 0.5221 GB, free: 5.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.1357, allocations: 0.6325 MB / 0.5228 GB, free: 4.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1357, allocations: 4 kB / 0.5228 GB, free: 4.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005848/0.1363, allocations: 310.5 kB / 0.5231 GB, free: 4.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1363, allocations: 7.938 kB / 0.5231 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1363, allocations: 0 / 0.5231 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1363, allocations: 7.938 kB / 0.5231 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.1366, allocations: 47.97 kB / 0.5231 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1366, allocations: 3.938 kB / 0.5231 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/0.137, allocations: 67.81 kB / 0.5232 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.137, allocations: 4 kB / 0.5232 GB, free: 4.016 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.0002659/0.1373, allocations: 159.8 kB / 0.5233 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.1374, allocations: 31.75 kB / 0.5234 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00064/0.138, allocations: 319 kB / 0.5237 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.138, allocations: 4 kB / 0.5237 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.138, allocations: 4 kB / 0.5237 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.138, allocations: 3.984 kB / 0.5237 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.1385, allocations: 345.3 kB / 0.524 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1385, allocations: 4 kB / 0.524 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.1388, allocations: 51.91 kB / 0.5241 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.1388, allocations: 3.938 kB / 0.5241 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.1388, allocations: 8 kB / 0.5241 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1388, allocations: 0 / 0.5241 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1388, allocations: 3.984 kB / 0.5241 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007831/0.1396, allocations: 495 kB / 0.5246 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1397, allocations: 112.9 kB / 0.5247 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.1398, allocations: 15.92 kB / 0.5247 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.1402, allocations: 55.92 kB / 0.5247 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.1403, allocations: 11.98 kB / 0.5247 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1403, allocations: 8 kB / 0.5248 GB, free: 2.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008346/0.1411, allocations: 330.9 kB / 0.5251 GB, free: 1.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1411, allocations: 0 / 0.5251 GB, free: 1.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1414, allocations: 47.95 kB / 0.5251 GB, free: 1.949 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.001157/0.1426, allocations: 1.042 MB / 0.5261 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.143, allocations: 219.7 kB / 0.5263 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.143, allocations: 3.938 kB / 0.5263 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.1433, allocations: 115.8 kB / 0.5265 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.1437, allocations: 63.83 kB / 0.5265 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.1498, allocations: 3.293 MB / 0.5297 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.1503, allocations: 0.7912 MB / 0.5305 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.1505, allocations: 70.11 kB / 0.5306 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.1507, allocations: 91.41 kB / 0.5307 GB, free: 12.14 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1507, allocations: 0 / 0.5307 GB, free: 12.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.1767, allocations: 6.047 MB / 0.5366 GB, free: 6.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.691/8.867, allocations: 13.53 kB / 0.5366 GB, free: 6.211 MB / 398.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 & /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: 11.75817453500349] Failed to read output from testmodel.py, exit status != 0: 9.003419599030167 9.031906 8.902264377 Calling exit ...