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.001299/0.001299, allocations: 104.7 kB / 16.45 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.001245/0.001245, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.439/1.439, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.1006/0.1006, allocations: 22.68 MB / 325.4 MB, free: 7.926 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.001832/0.001832, allocations: 83 kB / 457.2 MB, free: 41.35 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1115, allocations: 58.02 MB / 0.5031 GB, free: 8.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002396/0.1139, allocations: 2.02 MB / 0.5051 GB, free: 6.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.1148, allocations: 0.6819 MB / 0.5057 GB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1149, allocations: 7.938 kB / 0.5058 GB, free: 5.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.1152, allocations: 75.53 kB / 0.5058 GB, free: 5.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1155, allocations: 103.5 kB / 0.5059 GB, free: 5.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1157, allocations: 155.8 kB / 0.5061 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.116, allocations: 459.5 kB / 0.5065 GB, free: 4.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1162, allocations: 54.05 kB / 0.5066 GB, free: 4.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1163, allocations: 187.4 kB / 0.5067 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.1165, allocations: 227.2 kB / 0.507 GB, free: 4.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.1166, allocations: 24 kB / 0.507 GB, free: 4.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.197e-05/0.1166, allocations: 24 kB / 0.507 GB, free: 4.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.1167, allocations: 103.6 kB / 0.5071 GB, free: 4.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.088e-05/0.1168, allocations: 135.1 kB / 0.5072 GB, free: 4.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.117, allocations: 290.6 kB / 0.5075 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.117, allocations: 0 / 0.5075 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.117, allocations: 0 / 0.5075 GB, free: 3.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.117, allocations: 0 / 0.5075 GB, free: 3.723 MB / 366.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.001577/0.1186, allocations: 0.7751 MB / 0.5083 GB, free: 2.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1186, allocations: 8.031 kB / 0.5083 GB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.1187, allocations: 58.73 kB / 0.5083 GB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.1187, allocations: 40.64 kB / 0.5084 GB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.1195, allocations: 424.1 kB / 0.5088 GB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1196, allocations: 16.7 kB / 0.5088 GB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.1196, allocations: 20.33 kB / 0.5088 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.1199, allocations: 204.2 kB / 0.509 GB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1199, allocations: 0 / 0.509 GB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.1199, allocations: 8 kB / 0.509 GB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1199, allocations: 4 kB / 0.509 GB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.1202, allocations: 196.1 kB / 0.5092 GB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000974/0.1212, allocations: 0.6992 MB / 0.5099 GB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.1218, allocations: 308.8 kB / 0.5102 GB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.1219, allocations: 116.8 kB / 0.5103 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.122, allocations: 7.922 kB / 0.5103 GB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.122, allocations: 38.56 kB / 0.5103 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.092e-06/0.122, allocations: 0 / 0.5103 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005514/0.1225, allocations: 365.5 kB / 0.5107 GB, free: 304 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.1226, allocations: 63.34 kB / 0.5107 GB, free: 228 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008057/0.1234, allocations: 416.4 kB / 0.5111 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1234, allocations: 33.7 kB / 0.5112 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1235, allocations: 168.5 kB / 0.5113 GB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.1236, allocations: 95.16 kB / 0.5114 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.477e-05/0.1237, allocations: 45.7 kB / 0.5115 GB, free: 15.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1239, allocations: 338.8 kB / 0.5118 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.1241, allocations: 91.94 kB / 0.5119 GB, free: 15.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.1242, allocations: 94.97 kB / 0.512 GB, free: 14.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.1266, allocations: 0.6647 MB / 0.5126 GB, free: 14.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1266, allocations: 0 / 0.5126 GB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005737/0.1272, allocations: 341.2 kB / 0.5129 GB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1272, allocations: 8 kB / 0.5129 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1272, allocations: 0 / 0.5129 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1272, allocations: 3.984 kB / 0.513 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.1275, allocations: 55.91 kB / 0.513 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1275, allocations: 4 kB / 0.513 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.1279, allocations: 63.81 kB / 0.5131 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1279, allocations: 8 kB / 0.5131 GB, free: 13.79 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.0002578/0.1281, allocations: 167.7 kB / 0.5132 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.1282, allocations: 39.69 kB / 0.5133 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.1289, allocations: 329 kB / 0.5136 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1289, allocations: 4 kB / 0.5136 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.1289, allocations: 3.984 kB / 0.5136 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1289, allocations: 0 / 0.5136 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.1294, allocations: 369.3 kB / 0.5139 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1294, allocations: 3.938 kB / 0.514 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.1297, allocations: 51.91 kB / 0.514 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1297, allocations: 0 / 0.514 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.1297, allocations: 11.98 kB / 0.514 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1297, allocations: 0 / 0.514 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1297, allocations: 0 / 0.514 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/0.1305, allocations: 0.5244 MB / 0.5145 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1306, allocations: 116.8 kB / 0.5146 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.1307, allocations: 4 kB / 0.5146 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.1311, allocations: 55.92 kB / 0.5147 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.1311, allocations: 19.97 kB / 0.5147 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1311, allocations: 7.938 kB / 0.5147 GB, free: 12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000736/0.1319, allocations: 330.9 kB / 0.515 GB, free: 11.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1319, allocations: 0 / 0.515 GB, free: 11.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.1322, allocations: 59.89 kB / 0.5151 GB, free: 11.62 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.001148/0.1333, allocations: 1.072 MB / 0.5161 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.1338, allocations: 239.7 kB / 0.5164 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1338, allocations: 0 / 0.5164 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.134, allocations: 127.8 kB / 0.5165 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.1345, allocations: 62.97 kB / 0.5166 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/0.14, allocations: 3.381 MB / 0.5199 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.1404, allocations: 0.7987 MB / 0.5206 GB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000184/0.1406, allocations: 66.23 kB / 0.5207 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.1408, allocations: 99.41 kB / 0.5208 GB, free: 5.648 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1408, allocations: 3.938 kB / 0.5208 GB, free: 5.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.1695, allocations: 6.213 MB / 0.5269 GB, free: 15.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.058, allocations: 1.172 kB / 0.5269 GB, free: 15.54 MB / 398.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 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: 10.767202040646225] Failed to read output from testmodel.py, exit status != 0: 8.128412832971662 8.149151422 8.028990245 Calling exit ...