Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.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.001312/0.001312, allocations: 106.2 kB / 16.4 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.001288/0.001288, allocations: 192.6 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.406/1.406, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.1005/0.1005, allocations: 22.33 MB / 319.6 MB, free: 6.773 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_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 71.88 kB / 443.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1106, allocations: 54.94 MB / 498.1 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002844/0.1135, allocations: 1.657 MB / 499.7 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.1139, allocations: 163.5 kB / 499.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.114, allocations: 4 kB / 499.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.114, allocations: 7.875 kB / 499.9 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.1142, allocations: 11.88 kB / 499.9 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1144, allocations: 47.88 kB / 500 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1146, allocations: 87.72 kB / 0.4883 GB, free: 1.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1147, allocations: 31.98 kB / 0.4884 GB, free: 1.727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.125e-05/0.1147, allocations: 31.84 kB / 0.4884 GB, free: 1.695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.1148, allocations: 43.72 kB / 0.4884 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1149, allocations: 4 kB / 0.4884 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.83e-05/0.1149, allocations: 12 kB / 0.4885 GB, free: 1.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1149, allocations: 15.94 kB / 0.4885 GB, free: 1.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.115, allocations: 35.8 kB / 0.4885 GB, free: 1.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.1151, allocations: 79.59 kB / 0.4886 GB, free: 1.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1151, allocations: 0 / 0.4886 GB, free: 1.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1151, allocations: 0 / 0.4886 GB, free: 1.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1151, allocations: 0 / 0.4886 GB, free: 1.508 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005127/0.1156, allocations: 387.1 kB / 0.489 GB, free: 1.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1157, allocations: 8.031 kB / 0.489 GB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.1157, allocations: 42.75 kB / 0.489 GB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.1158, allocations: 12.84 kB / 0.489 GB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1161, allocations: 204.1 kB / 0.4892 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1161, allocations: 4.375 kB / 0.4892 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1161, allocations: 12.33 kB / 0.4892 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1163, allocations: 66.23 kB / 0.4893 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1163, allocations: 3.938 kB / 0.4893 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1163, allocations: 0 / 0.4893 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1163, allocations: 0 / 0.4893 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.109e-05/0.1164, allocations: 31.98 kB / 0.4893 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.1169, allocations: 352.6 kB / 0.4897 GB, free: 260 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.1172, allocations: 54.56 kB / 0.4897 GB, free: 196 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.513e-05/0.1173, allocations: 20.91 kB / 0.4897 GB, free: 172 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1173, allocations: 7.938 kB / 0.4897 GB, free: 164 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.1174, allocations: 38.5 kB / 0.4898 GB, free: 116 kB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1174, allocations: 0 / 0.4898 GB, free: 116 kB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002417/0.1176, allocations: 73.61 kB / 0.4898 GB, free: 36 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1177, allocations: 51.41 kB / 0.4899 GB, free: 15.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1178, allocations: 148.4 kB / 0.49 GB, free: 15.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1179, allocations: 25.7 kB / 0.4901 GB, free: 15.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.1179, allocations: 108 kB / 0.4902 GB, free: 15.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.118, allocations: 11.91 kB / 0.4902 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.118, allocations: 21.72 kB / 0.4902 GB, free: 15.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1182, allocations: 314.8 kB / 0.4905 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-05/0.1182, allocations: 16 kB / 0.4905 GB, free: 15.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.1183, allocations: 19.92 kB / 0.4905 GB, free: 15.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.655e-05/0.1183, allocations: 36.98 kB / 0.4906 GB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1184, allocations: 0 / 0.4906 GB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001667/0.1185, allocations: 73.64 kB / 0.4906 GB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1185, allocations: 4 kB / 0.4906 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1186, allocations: 7.984 kB / 0.4906 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1186, allocations: 0 / 0.4906 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.1186, allocations: 8 kB / 0.4907 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1187, allocations: 3.938 kB / 0.4907 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.1187, allocations: 7.953 kB / 0.4907 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1187, allocations: 7.938 kB / 0.4907 GB, free: 15.13 MB / 382.1 MB 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 (6): * Single equations (assignments): 6 * 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 8.459e-05/0.1188, allocations: 114.6 kB / 0.4908 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1188, allocations: 7.953 kB / 0.4908 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.1189, allocations: 16.23 kB / 0.4908 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1189, allocations: 0 / 0.4908 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1189, allocations: 3.938 kB / 0.4908 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1189, allocations: 0 / 0.4908 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.1191, allocations: 197.6 kB / 0.491 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1191, allocations: 0 / 0.491 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.47e-05/0.1192, allocations: 7.938 kB / 0.491 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1192, allocations: 4 kB / 0.491 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1192, allocations: 0 / 0.491 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1192, allocations: 4 kB / 0.491 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.1192, allocations: 3.938 kB / 0.491 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1195, allocations: 179.4 kB / 0.4912 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.1196, allocations: 89.08 kB / 0.4913 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1196, allocations: 4 kB / 0.4913 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.149e-05/0.1197, allocations: 0 / 0.4913 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.1197, allocations: 7.938 kB / 0.4913 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1197, allocations: 4.062 kB / 0.4913 GB, free: 14.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.345e-05/0.1198, allocations: 111.2 kB / 0.4914 GB, free: 14.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1198, allocations: 0 / 0.4914 GB, free: 14.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.12, allocations: 12 kB / 0.4914 GB, free: 14.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.Pr.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 (4): * Single equations (assignments): 4 * 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.0005246/0.1206, allocations: 0.6969 MB / 0.4921 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.1207, allocations: 44.05 kB / 0.4921 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1207, allocations: 0 / 0.4921 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.1208, allocations: 12 kB / 0.4921 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1211, allocations: 25.94 kB / 0.4922 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.1227, allocations: 1.511 MB / 0.4936 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1231, allocations: 0.6963 MB / 0.4943 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.1231, allocations: 7.984 kB / 0.4943 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.1232, allocations: 23.44 kB / 0.4943 GB, free: 11.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1232, allocations: 0 / 0.4943 GB, free: 11.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.1476, allocations: 2.103 MB / 0.4964 GB, free: 9.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.518, allocations: 3.938 kB / 0.4964 GB, free: 9.094 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_FOPDT_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.03 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.352146630990319] Failed to read output from testmodel.py, exit status != 0: 8.586702547967434 8.810815216 8.693389489 Calling exit ...