Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.001674/0.001674, allocations: 113.1 kB / 16.41 MB, free: 6.488 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.001864/0.001864, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.443/1.443, allocations: 222.9 MB / 245.1 MB, free: 15 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.09928/0.09928, allocations: 22.33 MB / 319.6 MB, free: 6.77 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.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 445.3 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1128, allocations: 54.94 MB / 0.4885 GB, free: 1.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003015/0.1158, allocations: 1.797 MB / 0.4902 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1169, allocations: 0.5883 MB / 0.4908 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.117, allocations: 4 kB / 0.4908 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.1173, allocations: 47.64 kB / 0.4909 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1175, allocations: 55.69 kB / 0.4909 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.1177, allocations: 87.81 kB / 0.491 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.1181, allocations: 263.5 kB / 0.4912 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1182, allocations: 45.66 kB / 0.4913 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1184, allocations: 107.6 kB / 0.4914 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1186, allocations: 119.6 kB / 0.4915 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.1186, allocations: 19.94 kB / 0.4915 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.374e-05/0.1187, allocations: 16 kB / 0.4915 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.832e-05/0.1188, allocations: 63.86 kB / 0.4916 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.549e-05/0.1189, allocations: 83.41 kB / 0.4917 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.1191, allocations: 183.2 kB / 0.4918 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1191, allocations: 0 / 0.4918 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1191, allocations: 0 / 0.4918 GB, free: 14.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1191, allocations: 0 / 0.4918 GB, free: 14.14 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001263/0.1204, allocations: 0.5866 MB / 0.4924 GB, free: 13.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1204, allocations: 8.031 kB / 0.4924 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.1205, allocations: 42.75 kB / 0.4925 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.1206, allocations: 28.73 kB / 0.4925 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.1212, allocations: 311.6 kB / 0.4928 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1212, allocations: 8.609 kB / 0.4928 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.1213, allocations: 16.38 kB / 0.4928 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.1215, allocations: 157.9 kB / 0.493 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1216, allocations: 0 / 0.493 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1216, allocations: 4 kB / 0.493 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1216, allocations: 4 kB / 0.493 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.1219, allocations: 124.6 kB / 0.4931 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.1228, allocations: 0.5442 MB / 0.4936 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.1232, allocations: 198.3 kB / 0.4938 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.1234, allocations: 84.81 kB / 0.4939 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.1234, allocations: 4 kB / 0.4939 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1235, allocations: 38.56 kB / 0.4939 GB, free: 11.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1235, allocations: 0 / 0.4939 GB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005476/0.124, allocations: 264.3 kB / 0.4942 GB, free: 11.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1241, allocations: 51.69 kB / 0.4942 GB, free: 11.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.1246, allocations: 274.8 kB / 0.4945 GB, free: 11.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1247, allocations: 29.7 kB / 0.4945 GB, free: 11.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.1248, allocations: 124 kB / 0.4946 GB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/0.1249, allocations: 67.42 kB / 0.4947 GB, free: 11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.1249, allocations: 33.72 kB / 0.4947 GB, free: 10.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1251, allocations: 330.8 kB / 0.4951 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1252, allocations: 63.95 kB / 0.4951 GB, free: 10.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1254, allocations: 63.16 kB / 0.4952 GB, free: 10.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.1271, allocations: 472.3 kB / 0.4956 GB, free: 10.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1271, allocations: 0 / 0.4956 GB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004126/0.1276, allocations: 238.6 kB / 0.4959 GB, free: 9.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1276, allocations: 4 kB / 0.4959 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1276, allocations: 4 kB / 0.4959 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1276, allocations: 4 kB / 0.4959 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1278, allocations: 35.97 kB / 0.4959 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1278, allocations: 0 / 0.4959 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1281, allocations: 39.84 kB / 0.4959 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.1281, allocations: 4 kB / 0.4959 GB, free: 9.719 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 (21): * Single equations (assignments): 21 * 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.0002026/0.1283, allocations: 155.7 kB / 0.4961 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.1284, allocations: 23.91 kB / 0.4961 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.1289, allocations: 245.9 kB / 0.4964 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1289, allocations: 0 / 0.4964 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1289, allocations: 0 / 0.4964 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1289, allocations: 3.938 kB / 0.4964 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.1293, allocations: 293.4 kB / 0.4966 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1293, allocations: 4 kB / 0.4966 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.1295, allocations: 31.97 kB / 0.4967 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1295, allocations: 0 / 0.4967 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.1296, allocations: 8 kB / 0.4967 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1296, allocations: 0 / 0.4967 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1296, allocations: 4 kB / 0.4967 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.1302, allocations: 411 kB / 0.4971 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.1303, allocations: 93.02 kB / 0.4972 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.1303, allocations: 8.062 kB / 0.4972 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.1306, allocations: 31.95 kB / 0.4972 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.1306, allocations: 7.984 kB / 0.4972 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1307, allocations: 11.98 kB / 0.4972 GB, free: 8.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004434/0.1311, allocations: 203.2 kB / 0.4974 GB, free: 8.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1311, allocations: 0 / 0.4974 GB, free: 8.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1314, allocations: 43.83 kB / 0.4975 GB, free: 8.078 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 (18): * Single equations (assignments): 18 * 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.0009178/0.1323, allocations: 0.9426 MB / 0.4984 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003743/0.1327, allocations: 171.9 kB / 0.4985 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1327, allocations: 0 / 0.4985 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1329, allocations: 95.88 kB / 0.4986 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1332, allocations: 34.48 kB / 0.4987 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.1371, allocations: 2.511 MB / 0.5011 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.1375, allocations: 0.7436 MB / 0.5018 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.1376, allocations: 45.77 kB / 0.5019 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1378, allocations: 67.41 kB / 0.5019 GB, free: 3.352 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1378, allocations: 0 / 0.5019 GB, free: 3.352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2125/0.3503, allocations: 4.16 MB / 0.506 GB, free: 20.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.294, allocations: 7.734 kB / 0.506 GB, free: 20.36 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.DaisyChain_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 AES_AES_Coursework_Typical_actuation_schemes_DaisyChain.fmu > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.039299416006543] Failed to read output from testmodel.py, exit status != 0: 8.362502997973934 8.374060616 8.252713365 Calling exit ...