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.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.001352/0.001352, allocations: 114.7 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.001451/0.001451, 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.507/1.507, 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.1167/0.1167, allocations: 22.93 MB / 332.5 MB, free: 2.656 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_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",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.00206/0.00206, allocations: 68.41 kB / 466.7 MB, free: 32.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1134, allocations: 59.27 MB / 0.5137 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003276/0.1167, allocations: 1.816 MB / 0.5155 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1179, allocations: 0.6079 MB / 0.516 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.118, allocations: 7.938 kB / 0.5161 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1183, allocations: 39.7 kB / 0.5161 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.1185, allocations: 59.69 kB / 0.5161 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1187, allocations: 99.78 kB / 0.5162 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.119, allocations: 247.5 kB / 0.5165 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1191, allocations: 33.61 kB / 0.5165 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1193, allocations: 103.7 kB / 0.5166 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.1195, allocations: 131.5 kB / 0.5167 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.1195, allocations: 16 kB / 0.5168 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.799e-05/0.1195, allocations: 16 kB / 0.5168 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.451e-05/0.1196, allocations: 59.81 kB / 0.5168 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.1197, allocations: 83.45 kB / 0.5169 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1199, allocations: 171.2 kB / 0.5171 GB, free: 10.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1199, allocations: 4 kB / 0.5171 GB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.12, allocations: 0 / 0.5171 GB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.12, allocations: 0 / 0.5171 GB, free: 10.54 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.001345/0.1213, allocations: 0.5803 MB / 0.5176 GB, free: 9.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1213, allocations: 8.625 kB / 0.5176 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.524e-05/0.1214, allocations: 4.188 kB / 0.5177 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.1214, allocations: 42.73 kB / 0.5177 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.1215, allocations: 20.84 kB / 0.5177 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.1221, allocations: 319.8 kB / 0.518 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1221, allocations: 8.375 kB / 0.518 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.1222, allocations: 12.33 kB / 0.518 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.1224, allocations: 132.6 kB / 0.5182 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1225, allocations: 0 / 0.5182 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.1225, allocations: 11.94 kB / 0.5182 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1225, allocations: 4 kB / 0.5182 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.1227, allocations: 123.8 kB / 0.5183 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008832/0.1236, allocations: 0.5121 MB / 0.5188 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.1241, allocations: 178.4 kB / 0.519 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1242, allocations: 72.77 kB / 0.519 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1243, allocations: 7.984 kB / 0.519 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1243, allocations: 34.56 kB / 0.5191 GB, free: 8.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1243, allocations: 0 / 0.5191 GB, free: 8.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.000536/0.1248, allocations: 241.7 kB / 0.5193 GB, free: 8.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1249, allocations: 59.34 kB / 0.5194 GB, free: 8.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.1254, allocations: 275.1 kB / 0.5196 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1255, allocations: 25.7 kB / 0.5196 GB, free: 7.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.1256, allocations: 128.3 kB / 0.5198 GB, free: 7.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.1256, allocations: 59.53 kB / 0.5198 GB, free: 7.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.1257, allocations: 33.72 kB / 0.5199 GB, free: 7.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1258, allocations: 330.8 kB / 0.5202 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.126, allocations: 55.97 kB / 0.5202 GB, free: 7.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1261, allocations: 64.75 kB / 0.5203 GB, free: 7.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.1281, allocations: 470 kB / 0.5207 GB, free: 6.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1281, allocations: 0 / 0.5207 GB, free: 6.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004144/0.1285, allocations: 213.5 kB / 0.5209 GB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1285, allocations: 8 kB / 0.521 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1285, allocations: 3.984 kB / 0.521 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1285, allocations: 0 / 0.521 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.1288, allocations: 43.86 kB / 0.521 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1288, allocations: 0 / 0.521 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.129, allocations: 35.84 kB / 0.521 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1291, allocations: 8 kB / 0.521 GB, free: 6.246 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.000225/0.1293, allocations: 151.8 kB / 0.5212 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.1294, allocations: 15.91 kB / 0.5212 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.1299, allocations: 236.8 kB / 0.5214 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1299, allocations: 3.938 kB / 0.5214 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1299, allocations: 0 / 0.5214 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1299, allocations: 0 / 0.5214 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.1302, allocations: 285.4 kB / 0.5217 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1303, allocations: 0 / 0.5217 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.1305, allocations: 35.97 kB / 0.5217 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1305, allocations: 0 / 0.5217 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.1305, allocations: 4 kB / 0.5217 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.1305, allocations: 3.938 kB / 0.5217 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1305, allocations: 11.88 kB / 0.5218 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.1311, allocations: 389.2 kB / 0.5221 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.1312, allocations: 96.97 kB / 0.5222 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.1312, allocations: 8 kB / 0.5222 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.1315, allocations: 32.08 kB / 0.5223 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.1316, allocations: 15.98 kB / 0.5223 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1316, allocations: 4 kB / 0.5223 GB, free: 4.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004631/0.132, allocations: 211.1 kB / 0.5225 GB, free: 4.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.132, allocations: 0 / 0.5225 GB, free: 4.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1323, allocations: 35.94 kB / 0.5225 GB, free: 4.641 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.0008726/0.1332, allocations: 0.9152 MB / 0.5234 GB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.1335, allocations: 151.9 kB / 0.5235 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1335, allocations: 0 / 0.5235 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.1337, allocations: 86.08 kB / 0.5236 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.1341, allocations: 39.97 kB / 0.5237 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/0.1381, allocations: 2.477 MB / 0.5261 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.1385, allocations: 0.7436 MB / 0.5268 GB, free: 108 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.1386, allocations: 33.53 kB / 0.5268 GB, free: 76 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1387, allocations: 67.41 kB / 0.5269 GB, free: 8 kB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1387, allocations: 0 / 0.5269 GB, free: 8 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.1604, allocations: 4.324 MB / 0.5311 GB, free: 11.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.61, allocations: 4.062 kB / 0.5311 GB, free: 11.8 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.390477904991712] Failed to read output from testmodel.py, exit status != 0: 8.743190312001389 8.770094163 8.645072002 Calling exit ...