Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.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.001646/0.001646, allocations: 106.1 kB / 16.4 MB, free: 6.449 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.002222/0.002222, allocations: 187.8 kB / 19.36 MB, free: 3.73 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.487/1.487, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.1036/0.1036, allocations: 22.34 MB / 319.6 MB, free: 6.797 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.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 79.81 kB / 443.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1201, allocations: 54.94 MB / 498.1 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.003181/0.1234, allocations: 1.748 MB / 499.8 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004582/0.1239, allocations: 151.5 kB / 500 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.124, allocations: 4 kB / 500 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.1241, allocations: 19.73 kB / 0.4883 GB, free: 1.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1242, allocations: 23.8 kB / 0.4883 GB, free: 1.812 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.1244, allocations: 51.92 kB / 0.4884 GB, free: 1.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1246, allocations: 143.7 kB / 0.4885 GB, free: 1.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.1248, allocations: 71.94 kB / 0.4886 GB, free: 1.547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.87e-05/0.1249, allocations: 67.64 kB / 0.4886 GB, free: 1.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.125, allocations: 67.67 kB / 0.4887 GB, free: 1.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.1251, allocations: 16 kB / 0.4887 GB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.348e-05/0.1251, allocations: 12 kB / 0.4887 GB, free: 1.387 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.1251, allocations: 31.86 kB / 0.4888 GB, free: 1.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.1252, allocations: 67.58 kB / 0.4888 GB, free: 1.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1254, allocations: 131.3 kB / 0.4889 GB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1255, allocations: 0 / 0.4889 GB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1255, allocations: 0 / 0.4889 GB, free: 1.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1255, allocations: 4 kB / 0.4889 GB, free: 1.156 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006765/0.1262, allocations: 446.9 kB / 0.4894 GB, free: 0.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1262, allocations: 12.03 kB / 0.4894 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.461e-05/0.1263, allocations: 50.73 kB / 0.4894 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.1264, allocations: 16.84 kB / 0.4895 GB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1266, allocations: 208.1 kB / 0.4897 GB, free: 348 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.1267, allocations: 16.31 kB / 0.4897 GB, free: 332 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.1267, allocations: 28.33 kB / 0.4897 GB, free: 304 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.1271, allocations: 153.7 kB / 0.4898 GB, free: 144 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.1272, allocations: 3.938 kB / 0.4898 GB, free: 140 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.1272, allocations: 8 kB / 0.4899 GB, free: 132 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.1272, allocations: 4 kB / 0.4899 GB, free: 128 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.1276, allocations: 115.9 kB / 0.49 GB, free: 12 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009192/0.1286, allocations: 0.4886 MB / 0.4904 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1288, allocations: 110.5 kB / 0.4905 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.1291, allocations: 83.05 kB / 0.4906 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.1291, allocations: 0 / 0.4906 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1292, allocations: 38.5 kB / 0.4907 GB, free: 15.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.1292, allocations: 0 / 0.4907 GB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007393/0.1299, allocations: 229.7 kB / 0.4909 GB, free: 15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.13, allocations: 55.41 kB / 0.4909 GB, free: 14.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1301, allocations: 133 kB / 0.4911 GB, free: 14.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.1301, allocations: 37.64 kB / 0.4911 GB, free: 14.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.1302, allocations: 116.5 kB / 0.4912 GB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.1303, allocations: 63.44 kB / 0.4913 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.1304, allocations: 45.7 kB / 0.4913 GB, free: 14.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1305, allocations: 330.8 kB / 0.4916 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1307, allocations: 59.95 kB / 0.4917 GB, free: 14.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.131, allocations: 77.67 kB / 0.4918 GB, free: 14.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.1314, allocations: 142 kB / 0.4919 GB, free: 13.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1314, allocations: 0 / 0.4919 GB, free: 13.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000536/0.1319, allocations: 201.3 kB / 0.4921 GB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1319, allocations: 4 kB / 0.4921 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.132, allocations: 3.938 kB / 0.4921 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.132, allocations: 7.984 kB / 0.4921 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.1324, allocations: 63.92 kB / 0.4922 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1325, allocations: 4 kB / 0.4922 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.1326, allocations: 27.86 kB / 0.4922 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.1327, allocations: 4 kB / 0.4922 GB, free: 13.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001292/0.1329, allocations: 130.6 kB / 0.4923 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.1329, allocations: 19.84 kB / 0.4923 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.1335, allocations: 209.5 kB / 0.4925 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1335, allocations: 4 kB / 0.4925 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1335, allocations: 0 / 0.4925 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.1335, allocations: 4 kB / 0.4925 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.1338, allocations: 249.5 kB / 0.4928 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1339, allocations: 4 kB / 0.4928 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.1341, allocations: 47.89 kB / 0.4928 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1341, allocations: 7.938 kB / 0.4928 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.1342, allocations: 8 kB / 0.4929 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1342, allocations: 0 / 0.4929 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1342, allocations: 0 / 0.4929 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.135, allocations: 351.3 kB / 0.4932 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.135, allocations: 96.89 kB / 0.4933 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1351, allocations: 12 kB / 0.4933 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1353, allocations: 23.91 kB / 0.4933 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.1354, allocations: 31.95 kB / 0.4933 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.1354, allocations: 4 kB / 0.4933 GB, free: 12.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.668e-05/0.1355, allocations: 95.27 kB / 0.4934 GB, free: 12.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1355, allocations: 0 / 0.4934 GB, free: 12.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1358, allocations: 39.94 kB / 0.4935 GB, free: 12.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001099/0.1369, allocations: 0.8969 MB / 0.4944 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.1374, allocations: 160.1 kB / 0.4945 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1374, allocations: 0 / 0.4945 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.1376, allocations: 85.95 kB / 0.4946 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1379, allocations: 18.59 kB / 0.4946 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.1409, allocations: 1.985 MB / 0.4965 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1413, allocations: 0.728 MB / 0.4973 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.1414, allocations: 21.42 kB / 0.4973 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1415, allocations: 51.42 kB / 0.4973 GB, free: 8.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1415, allocations: 0 / 0.4973 GB, free: 8.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.1717, allocations: 3.512 MB / 0.5008 GB, free: 4.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.504, allocations: 15.5 kB / 0.5008 GB, free: 4.656 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_analogue_PI_awfb_full_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 AES_AES_Devel_test_models_Test_analogue_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.58881352795288] Failed to read output from testmodel.py, exit status != 0: 8.5743923910195 8.831663287 8.703737151 Calling exit ...