Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_001.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.001421/0.001421, allocations: 104 kB / 16.4 MB, free: 6.484 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.001394/0.001394, 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.462/1.462, allocations: 222.9 MB / 245 MB, free: 15.04 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.09711/0.09711, allocations: 22.32 MB / 319.5 MB, free: 6.801 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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 63.91 kB / 445.3 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1429, allocations: 54.96 MB / 0.4885 GB, free: 1.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003379/0.1463, allocations: 2.089 MB / 0.4905 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000428/0.1467, allocations: 179.3 kB / 0.4907 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.1468, allocations: 0 / 0.4907 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.079e-05/0.1469, allocations: 27.72 kB / 0.4907 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1471, allocations: 67.41 kB / 0.4908 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.1473, allocations: 35.95 kB / 0.4908 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1475, allocations: 218.9 kB / 0.491 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.1478, allocations: 96.56 kB / 0.4911 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1479, allocations: 79.66 kB / 0.4912 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1481, allocations: 95.56 kB / 0.4913 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1481, allocations: 12 kB / 0.4913 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.875e-05/0.1481, allocations: 16 kB / 0.4913 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.1482, allocations: 35.84 kB / 0.4914 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1483, allocations: 95.48 kB / 0.4915 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1485, allocations: 207 kB / 0.4917 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1486, allocations: 0 / 0.4917 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1486, allocations: 0 / 0.4917 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1486, allocations: 0 / 0.4917 GB, free: 14.38 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006797/0.1493, allocations: 486.7 kB / 0.4921 GB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1493, allocations: 12.03 kB / 0.4921 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.1494, allocations: 46.73 kB / 0.4922 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.1494, allocations: 24.73 kB / 0.4922 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.1498, allocations: 240.8 kB / 0.4924 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1498, allocations: 8.656 kB / 0.4924 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1498, allocations: 12.38 kB / 0.4924 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.1501, allocations: 132.4 kB / 0.4926 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1501, allocations: 3.938 kB / 0.4926 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1501, allocations: 4 kB / 0.4926 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1501, allocations: 8 kB / 0.4926 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.1503, allocations: 76.75 kB / 0.4927 GB, free: 13.24 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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009844/0.1513, allocations: 0.6529 MB / 0.4933 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1514, allocations: 54.48 kB / 0.4933 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.1515, allocations: 24.86 kB / 0.4934 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1515, allocations: 0 / 0.4934 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1516, allocations: 38.64 kB / 0.4934 GB, free: 12.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1516, allocations: 0 / 0.4934 GB, free: 12.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002634/0.1518, allocations: 81.59 kB / 0.4935 GB, free: 12.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1519, allocations: 51.41 kB / 0.4935 GB, free: 12.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.1522, allocations: 225 kB / 0.4938 GB, free: 11.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1522, allocations: 33.64 kB / 0.4938 GB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1523, allocations: 148.1 kB / 0.4939 GB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.1523, allocations: 11.84 kB / 0.4939 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.1524, allocations: 33.66 kB / 0.494 GB, free: 11.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1526, allocations: 326.8 kB / 0.4943 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.1526, allocations: 20 kB / 0.4943 GB, free: 11.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.1527, allocations: 43.42 kB / 0.4943 GB, free: 11.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.153, allocations: 99.34 kB / 0.4944 GB, free: 11.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.153, allocations: 3.938 kB / 0.4944 GB, free: 11.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.1532, allocations: 109.5 kB / 0.4945 GB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1532, allocations: 4 kB / 0.4945 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1532, allocations: 8.062 kB / 0.4946 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1533, allocations: 0 / 0.4946 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.1535, allocations: 39.92 kB / 0.4946 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1535, allocations: 7.984 kB / 0.4946 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.859e-05/0.1536, allocations: 19.83 kB / 0.4946 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1537, allocations: 192 / 0.4946 GB, free: 11.04 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: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001613/0.1538, allocations: 137.8 kB / 0.4948 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.1539, allocations: 11.91 kB / 0.4948 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.1539, allocations: 21.23 kB / 0.4948 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1539, allocations: 0 / 0.4948 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1539, allocations: 0 / 0.4948 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1539, allocations: 3.938 kB / 0.4948 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006089/0.1545, allocations: 416.1 kB / 0.4952 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1546, allocations: 4 kB / 0.4952 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.604e-05/0.1547, allocations: 11.98 kB / 0.4952 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1547, allocations: 0 / 0.4952 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1547, allocations: 7.938 kB / 0.4952 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1547, allocations: 0 / 0.4952 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1547, allocations: 0 / 0.4952 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.155, allocations: 201.4 kB / 0.4954 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.155, allocations: 97.03 kB / 0.4955 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.1551, allocations: 7.938 kB / 0.4955 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.1552, allocations: 4.109 kB / 0.4955 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.1552, allocations: 7.984 kB / 0.4955 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1552, allocations: 0 / 0.4955 GB, free: 10.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.1554, allocations: 164.5 kB / 0.4957 GB, free: 9.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1554, allocations: 4.062 kB / 0.4957 GB, free: 9.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1556, allocations: 39.89 kB / 0.4957 GB, free: 9.805 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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.0005644/0.1562, allocations: 0.7257 MB / 0.4964 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1564, allocations: 51.98 kB / 0.4965 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1564, allocations: 0 / 0.4965 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.1565, allocations: 15.98 kB / 0.4965 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1568, allocations: 32.59 kB / 0.4965 GB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.1593, allocations: 1.989 MB / 0.4985 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1596, allocations: 0.728 MB / 0.4992 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.078e-05/0.1597, allocations: 21.48 kB / 0.4992 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.1598, allocations: 51.41 kB / 0.4992 GB, free: 6.031 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1598, allocations: 0 / 0.4992 GB, free: 6.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.1858, allocations: 3.365 MB / 0.5025 GB, free: 2.746 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/7.931, allocations: 7.688 kB / 0.5025 GB, free: 2.738 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_header_001_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_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.960151381907053] Failed to read output from testmodel.py, exit status != 0: 7.999371694982983 8.180815704 8.030074208 Calling exit ...