Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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.001438/0.001438, allocations: 110 kB / 16.45 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.001464/0.001464, 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.359/1.359, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.09615/0.09615, allocations: 22.7 MB / 325.4 MB, free: 3.543 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_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.88 kB / 457.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1224, allocations: 58.03 MB / 0.5031 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003348/0.1258, allocations: 1.803 MB / 0.5049 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1269, allocations: 0.5884 MB / 0.5054 GB, free: 5.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.127, allocations: 0 / 0.5054 GB, free: 5.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.1273, allocations: 39.7 kB / 0.5055 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1275, allocations: 67.62 kB / 0.5055 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1277, allocations: 87.86 kB / 0.5056 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.128, allocations: 247.5 kB / 0.5059 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1282, allocations: 37.59 kB / 0.5059 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1283, allocations: 99.66 kB / 0.506 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1285, allocations: 131.5 kB / 0.5061 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.1286, allocations: 16 kB / 0.5061 GB, free: 4.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.797e-05/0.1286, allocations: 16 kB / 0.5061 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1287, allocations: 67.8 kB / 0.5062 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.1288, allocations: 71.53 kB / 0.5063 GB, free: 4.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.129, allocations: 187.1 kB / 0.5065 GB, free: 4.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.129, allocations: 0 / 0.5065 GB, free: 4.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.129, allocations: 0 / 0.5065 GB, free: 4.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1291, allocations: 0 / 0.5065 GB, free: 4.199 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001353/0.1304, allocations: 0.5686 MB / 0.507 GB, free: 3.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1304, allocations: 12.03 kB / 0.507 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.1305, allocations: 38.75 kB / 0.5071 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.1305, allocations: 32.78 kB / 0.5071 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.1312, allocations: 316.5 kB / 0.5074 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.1312, allocations: 8.375 kB / 0.5074 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.1313, allocations: 8.375 kB / 0.5074 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.1316, allocations: 143.3 kB / 0.5075 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1316, allocations: 0 / 0.5075 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1316, allocations: 12 kB / 0.5076 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1316, allocations: 0 / 0.5076 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.1319, allocations: 115.9 kB / 0.5077 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009274/0.1328, allocations: 0.5197 MB / 0.5082 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.1332, allocations: 174.4 kB / 0.5083 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1334, allocations: 72.8 kB / 0.5084 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.1334, allocations: 4 kB / 0.5084 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1334, allocations: 34.56 kB / 0.5084 GB, free: 1.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1334, allocations: 4 kB / 0.5085 GB, free: 1.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005306/0.134, allocations: 243.2 kB / 0.5087 GB, free: 1.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.1341, allocations: 55.34 kB / 0.5087 GB, free: 1.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.1346, allocations: 275.1 kB / 0.509 GB, free: 1.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1346, allocations: 25.7 kB / 0.509 GB, free: 1.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1347, allocations: 136.3 kB / 0.5092 GB, free: 1.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.1348, allocations: 55.55 kB / 0.5092 GB, free: 1.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.1348, allocations: 37.64 kB / 0.5092 GB, free: 1.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.135, allocations: 330.8 kB / 0.5096 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1351, allocations: 59.95 kB / 0.5096 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1352, allocations: 55.97 kB / 0.5097 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.137, allocations: 469.5 kB / 0.5101 GB, free: 228 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.137, allocations: 0 / 0.5101 GB, free: 228 kB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003706/0.1374, allocations: 214.5 kB / 0.5103 GB, free: 8 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1374, allocations: 8 kB / 0.5103 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1374, allocations: 0 / 0.5103 GB, free: 0 / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1374, allocations: 0 / 0.5103 GB, free: 0 / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2378/0.3752, allocations: 35.14 kB / 0.5104 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3753, allocations: 8.219 kB / 0.5104 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.3755, allocations: 41.7 kB / 0.5104 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.3756, allocations: 5.5 kB / 0.5104 GB, free: 15.48 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 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 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 (20): * Single equations (assignments): 20 * 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.0002114/0.3758, allocations: 146.5 kB / 0.5106 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.3758, allocations: 18.33 kB / 0.5106 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.3763, allocations: 227.7 kB / 0.5108 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3763, allocations: 4.562 kB / 0.5108 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3763, allocations: 3.359 kB / 0.5108 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3763, allocations: 1.094 kB / 0.5108 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.3766, allocations: 281.3 kB / 0.5111 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3766, allocations: 1.375 kB / 0.5111 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.3769, allocations: 33.81 kB / 0.5111 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.3769, allocations: 5.922 kB / 0.5111 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.3769, allocations: 9.438 kB / 0.5111 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3769, allocations: 2.312 kB / 0.5111 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3769, allocations: 0.6562 kB / 0.5111 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.3774, allocations: 386.5 kB / 0.5115 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.3775, allocations: 103.8 kB / 0.5116 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.3775, allocations: 10.39 kB / 0.5116 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.3778, allocations: 24.23 kB / 0.5116 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.3779, allocations: 13.61 kB / 0.5116 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.3779, allocations: 6.531 kB / 0.5116 GB, free: 14.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004335/0.3783, allocations: 219.2 kB / 0.5118 GB, free: 14.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3783, allocations: 0 / 0.5118 GB, free: 14.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3786, allocations: 34.23 kB / 0.5119 GB, free: 14.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (17): * Single equations (assignments): 17 * 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.000715/0.3793, allocations: 0.9247 MB / 0.5128 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.3796, allocations: 160.4 kB / 0.5129 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3796, allocations: 0 / 0.5129 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.3797, allocations: 82.59 kB / 0.513 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.3801, allocations: 40.44 kB / 0.5131 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.3834, allocations: 2.452 MB / 0.5154 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.3836, allocations: 0.7491 MB / 0.5162 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.3837, allocations: 39.59 kB / 0.5162 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3839, allocations: 61.69 kB / 0.5163 GB, free: 12.16 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3839, allocations: 1.25 kB / 0.5163 GB, free: 12.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.4131, allocations: 4.29 MB / 0.5205 GB, free: 11.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/8.059, allocations: 7.453 kB / 0.5205 GB, free: 11.68 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.57003476191312] Failed to read output from testmodel.py, exit status != 0: 8.12923975661397 8.140841942 8.009465526 Calling exit ...