Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.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.001311/0.001311, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001342/0.001342, 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.453/1.453, 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.09907/0.09907, allocations: 22.34 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_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 445.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1156, allocations: 54.94 MB / 0.4885 GB, free: 1.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.003716/0.1194, allocations: 1.947 MB / 0.4904 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004961/0.1199, allocations: 159.4 kB / 0.4905 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.12, allocations: 4 kB / 0.4906 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.232e-05/0.1201, allocations: 19.78 kB / 0.4906 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.1203, allocations: 55.48 kB / 0.4906 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.1205, allocations: 31.97 kB / 0.4907 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.1207, allocations: 175.1 kB / 0.4908 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.121, allocations: 85.28 kB / 0.4909 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1211, allocations: 55.8 kB / 0.491 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1212, allocations: 67.7 kB / 0.491 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1213, allocations: 15.94 kB / 0.491 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.756e-05/0.1213, allocations: 15.94 kB / 0.4911 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.1213, allocations: 27.84 kB / 0.4911 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.204e-05/0.1214, allocations: 71.67 kB / 0.4911 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.1217, allocations: 163.2 kB / 0.4913 GB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1217, allocations: 0 / 0.4913 GB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1217, allocations: 4 kB / 0.4913 GB, free: 14.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1217, allocations: 0 / 0.4913 GB, free: 14.72 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006465/0.1224, allocations: 442.7 kB / 0.4917 GB, free: 14.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1224, allocations: 8.031 kB / 0.4917 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.1225, allocations: 42.75 kB / 0.4918 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.1225, allocations: 20.8 kB / 0.4918 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.1229, allocations: 217.5 kB / 0.492 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1229, allocations: 8.375 kB / 0.492 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1229, allocations: 16.38 kB / 0.492 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.1232, allocations: 115.9 kB / 0.4921 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1232, allocations: 3.938 kB / 0.4921 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.1232, allocations: 8 kB / 0.4921 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1232, allocations: 0 / 0.4921 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.1234, allocations: 59.91 kB / 0.4922 GB, free: 13.69 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1244, allocations: 0.7888 MB / 0.493 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.1246, allocations: 50.5 kB / 0.493 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.1246, allocations: 20.8 kB / 0.493 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.1247, allocations: 4 kB / 0.493 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1247, allocations: 34.56 kB / 0.4931 GB, free: 12.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1247, allocations: 0 / 0.4931 GB, free: 12.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002374/0.1249, allocations: 77.67 kB / 0.4932 GB, free: 12.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.125, allocations: 51.41 kB / 0.4932 GB, free: 12.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1252, allocations: 187.9 kB / 0.4934 GB, free: 12.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.1252, allocations: 33.7 kB / 0.4934 GB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/0.1253, allocations: 124 kB / 0.4935 GB, free: 12.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.1253, allocations: 19.91 kB / 0.4936 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1254, allocations: 17.72 kB / 0.4936 GB, free: 12.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1256, allocations: 326.8 kB / 0.4939 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.1256, allocations: 16 kB / 0.4939 GB, free: 11.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.1257, allocations: 29.64 kB / 0.4939 GB, free: 11.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.126, allocations: 81.75 kB / 0.494 GB, free: 11.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.126, allocations: 0 / 0.494 GB, free: 11.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001681/0.1262, allocations: 93.66 kB / 0.4941 GB, free: 11.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1262, allocations: 8 kB / 0.4941 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1262, allocations: 0 / 0.4941 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1263, allocations: 3.938 kB / 0.4941 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.1264, allocations: 19.97 kB / 0.4941 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1264, allocations: 0 / 0.4941 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.1265, allocations: 11.89 kB / 0.4941 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1265, allocations: 7.969 kB / 0.4941 GB, free: 11.51 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 7 * 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.0001438/0.1266, allocations: 127.1 kB / 0.4943 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1267, allocations: 15.84 kB / 0.4943 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.1267, allocations: 12.94 kB / 0.4943 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1267, allocations: 4 kB / 0.4943 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1267, allocations: 0 / 0.4943 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1267, allocations: 3.984 kB / 0.4943 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.127, allocations: 217.5 kB / 0.4945 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.127, allocations: 0 / 0.4945 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.1271, allocations: 4 kB / 0.4945 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1271, allocations: 4 kB / 0.4945 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1271, allocations: 0 / 0.4945 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1271, allocations: 3.984 kB / 0.4945 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1271, allocations: 0 / 0.4945 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.1274, allocations: 179.3 kB / 0.4947 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.1274, allocations: 97.14 kB / 0.4948 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1275, allocations: 4.062 kB / 0.4948 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.1276, allocations: 0 / 0.4948 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.1276, allocations: 4 kB / 0.4948 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1276, allocations: 0 / 0.4948 GB, free: 10.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1277, allocations: 148.2 kB / 0.4949 GB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1277, allocations: 0 / 0.4949 GB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.128, allocations: 27.89 kB / 0.495 GB, free: 10.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.T) * 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 (3): * Single equations (assignments): 3 * 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.0005304/0.1285, allocations: 0.7163 MB / 0.4957 GB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1287, allocations: 35.92 kB / 0.4957 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1287, allocations: 0 / 0.4957 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.434e-05/0.1287, allocations: 15.94 kB / 0.4957 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.129, allocations: 28.11 kB / 0.4957 GB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1311, allocations: 1.799 MB / 0.4975 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1314, allocations: 0.7084 MB / 0.4982 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.61e-05/0.1315, allocations: 17.42 kB / 0.4982 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.245e-05/0.1316, allocations: 43.5 kB / 0.4982 GB, free: 7.082 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1316, allocations: 3.938 kB / 0.4982 GB, free: 7.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.1584, allocations: 3.004 MB / 0.5012 GB, free: 4.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.795, allocations: 11.94 kB / 0.5012 GB, free: 4.141 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_header_002_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8.64 AES_AES_Devel_test_models_Test_header_002.fmu > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.778125009965152] Failed to read output from testmodel.py, exit status != 0: 7.864052755059674 8.05385661 7.928597305 Calling exit ...