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.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.001628/0.001628, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001397/0.001397, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1006/0.1006, allocations: 22.94 MB / 332.5 MB, free: 2.637 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_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",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.002094/0.002094, allocations: 64.94 kB / 466.7 MB, free: 32.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1162, 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_cascadeLoops): time 0.003394/0.1196, allocations: 2.027 MB / 0.5157 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.121, allocations: 0.7247 MB / 0.5164 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1212, allocations: 7.938 kB / 0.5164 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.1216, allocations: 71.48 kB / 0.5164 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.1218, allocations: 107.4 kB / 0.5165 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1222, allocations: 155.8 kB / 0.5167 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005812/0.1228, allocations: 455.5 kB / 0.5171 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.1229, allocations: 58.03 kB / 0.5172 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.1232, allocations: 187.4 kB / 0.5174 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.1235, allocations: 223.2 kB / 0.5176 GB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.1236, allocations: 24 kB / 0.5176 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.416e-05/0.1236, allocations: 27.94 kB / 0.5176 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.1238, allocations: 103.6 kB / 0.5177 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1239, allocations: 131.1 kB / 0.5178 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.1243, allocations: 294.7 kB / 0.5181 GB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1243, allocations: 0 / 0.5181 GB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1243, allocations: 0 / 0.5181 GB, free: 9.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.1243, allocations: 0 / 0.5181 GB, free: 9.43 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.002163/0.1265, allocations: 0.7711 MB / 0.5189 GB, free: 8.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1265, allocations: 12.62 kB / 0.5189 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.081e-05/0.1266, allocations: 8.516 kB / 0.5189 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.1266, allocations: 50.73 kB / 0.5189 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.1267, allocations: 36.7 kB / 0.519 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.1278, allocations: 436 kB / 0.5194 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.1278, allocations: 12.7 kB / 0.5194 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.1278, allocations: 16.38 kB / 0.5194 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.1282, allocations: 204 kB / 0.5196 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1283, allocations: 0 / 0.5196 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1283, allocations: 8 kB / 0.5196 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1283, allocations: 7.938 kB / 0.5196 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.1287, allocations: 199.8 kB / 0.5198 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.1301, allocations: 0.6954 MB / 0.5205 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008392/0.131, allocations: 314.3 kB / 0.5208 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.1312, allocations: 116.7 kB / 0.5209 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1313, allocations: 4 kB / 0.5209 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1313, allocations: 34.56 kB / 0.521 GB, free: 6.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/0.1313, allocations: 0 / 0.521 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008376/0.1321, allocations: 373 kB / 0.5213 GB, free: 6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1322, allocations: 55.41 kB / 0.5214 GB, free: 5.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.1332, allocations: 428.4 kB / 0.5218 GB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.1332, allocations: 33.7 kB / 0.5218 GB, free: 5.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1334, allocations: 156.5 kB / 0.522 GB, free: 5.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1335, allocations: 95.17 kB / 0.522 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1336, allocations: 45.7 kB / 0.5221 GB, free: 5.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1338, allocations: 346.8 kB / 0.5224 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.134, allocations: 95.92 kB / 0.5225 GB, free: 4.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.1342, allocations: 92.73 kB / 0.5226 GB, free: 4.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002615/0.1368, allocations: 0.6609 MB / 0.5232 GB, free: 3.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1368, allocations: 4 kB / 0.5232 GB, free: 3.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000622/0.1374, allocations: 333.2 kB / 0.5236 GB, free: 3.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1375, allocations: 5.875 kB / 0.5236 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1375, allocations: 4 kB / 0.5236 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1375, allocations: 3.984 kB / 0.5236 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.1378, allocations: 51.92 kB / 0.5236 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1378, allocations: 0 / 0.5236 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.1382, allocations: 67.81 kB / 0.5237 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.1382, allocations: 7.984 kB / 0.5237 GB, free: 3.496 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.0002786/0.1385, allocations: 179.7 kB / 0.5239 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.1386, allocations: 31.75 kB / 0.5239 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006748/0.1392, allocations: 324 kB / 0.5242 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1393, allocations: 4 kB / 0.5242 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1393, allocations: 0 / 0.5242 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1393, allocations: 7.922 kB / 0.5242 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.1398, allocations: 369.2 kB / 0.5246 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1398, allocations: 4 kB / 0.5246 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.1401, allocations: 55.91 kB / 0.5246 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1401, allocations: 4 kB / 0.5246 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.1401, allocations: 8 kB / 0.5246 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1401, allocations: 0 / 0.5246 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1401, allocations: 0 / 0.5246 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.141, allocations: 0.5157 MB / 0.5251 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1411, allocations: 116.8 kB / 0.5253 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.1412, allocations: 12 kB / 0.5253 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.1416, allocations: 51.92 kB / 0.5253 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.1417, allocations: 19.91 kB / 0.5253 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1417, allocations: 8 kB / 0.5253 GB, free: 1.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009749/0.1427, allocations: 330.9 kB / 0.5257 GB, free: 1.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1427, allocations: 0 / 0.5257 GB, free: 1.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000328/0.143, allocations: 59.89 kB / 0.5257 GB, free: 1.328 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.001231/0.1442, allocations: 1.068 MB / 0.5268 GB, free: 236 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005534/0.1448, allocations: 251.7 kB / 0.527 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1448, allocations: 0 / 0.527 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.145, allocations: 119.9 kB / 0.5271 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.1455, allocations: 58.69 kB / 0.5272 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/0.1518, allocations: 3.38 MB / 0.5305 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.1523, allocations: 0.8064 MB / 0.5313 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.1525, allocations: 66.25 kB / 0.5313 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.1527, allocations: 107.4 kB / 0.5314 GB, free: 11.36 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1527, allocations: 0 / 0.5314 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.1786, allocations: 6.221 MB / 0.5375 GB, free: 5.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/8.967, allocations: 7.562 kB / 0.5375 GB, free: 5.262 MB / 398.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 & /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: 11.83718178095296] Failed to read output from testmodel.py, exit status != 0: 9.120951809978578 9.137563161 9.010150727 Calling exit ...