Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.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.001856/0.001856, allocations: 109.9 kB / 16.41 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.002381/0.002381, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.428/1.428, 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.09969/0.09969, allocations: 22.33 MB / 319.5 MB, free: 6.762 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_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003118/0.003118, allocations: 67.89 kB / 443.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1417, allocations: 54.95 MB / 498.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.003225/0.145, allocations: 1.718 MB / 499.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1462, allocations: 0.5806 MB / 0.4887 GB, free: 1.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-05/0.1463, allocations: 0 / 0.4887 GB, free: 1.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.1466, allocations: 47.72 kB / 0.4887 GB, free: 1.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.1468, allocations: 55.69 kB / 0.4888 GB, free: 1.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.1471, allocations: 95.88 kB / 0.4889 GB, free: 1.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.1475, allocations: 299.4 kB / 0.4891 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1476, allocations: 41.55 kB / 0.4892 GB, free: 0.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.1478, allocations: 99.72 kB / 0.4893 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.148, allocations: 135.5 kB / 0.4894 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.1481, allocations: 20 kB / 0.4894 GB, free: 0.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.1481, allocations: 24 kB / 0.4894 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1483, allocations: 75.86 kB / 0.4895 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1484, allocations: 99.39 kB / 0.4896 GB, free: 440 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1487, allocations: 215.2 kB / 0.4898 GB, free: 224 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1487, allocations: 0 / 0.4898 GB, free: 224 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1487, allocations: 0 / 0.4898 GB, free: 224 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1487, allocations: 0 / 0.4898 GB, free: 224 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001395/0.1501, allocations: 0.5805 MB / 0.4904 GB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1502, allocations: 8.031 kB / 0.4904 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.541e-05/0.1502, allocations: 38.75 kB / 0.4904 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.1503, allocations: 28.78 kB / 0.4905 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.151, allocations: 332.5 kB / 0.4908 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.151, allocations: 8.562 kB / 0.4908 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.1511, allocations: 16.12 kB / 0.4908 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.1513, allocations: 133.6 kB / 0.4909 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1514, allocations: 7.938 kB / 0.4909 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.1514, allocations: 4 kB / 0.4909 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1514, allocations: 4 kB / 0.4909 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.1517, allocations: 134.5 kB / 0.4911 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000985/0.1527, allocations: 0.5708 MB / 0.4916 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.153, allocations: 158.5 kB / 0.4918 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1532, allocations: 68.83 kB / 0.4918 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1532, allocations: 4 kB / 0.4918 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.1532, allocations: 34.56 kB / 0.4919 GB, free: 13.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.236e-06/0.1533, allocations: 3.984 kB / 0.4919 GB, free: 13.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005415/0.1538, allocations: 257.6 kB / 0.4921 GB, free: 13.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1539, allocations: 59.41 kB / 0.4922 GB, free: 13.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006247/0.1545, allocations: 295.1 kB / 0.4925 GB, free: 13.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1545, allocations: 33.64 kB / 0.4925 GB, free: 13.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1546, allocations: 132 kB / 0.4926 GB, free: 13.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.1547, allocations: 43.58 kB / 0.4927 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.1548, allocations: 29.72 kB / 0.4927 GB, free: 13.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.155, allocations: 346.8 kB / 0.493 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1551, allocations: 67.95 kB / 0.4931 GB, free: 12.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1552, allocations: 71.97 kB / 0.4932 GB, free: 12.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.1555, allocations: 167.3 kB / 0.4933 GB, free: 12.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1556, allocations: 7.938 kB / 0.4933 GB, free: 12.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003617/0.1559, allocations: 213.4 kB / 0.4935 GB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1559, allocations: 11.98 kB / 0.4935 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.156, allocations: 0 / 0.4935 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.156, allocations: 4 kB / 0.4935 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.1563, allocations: 47.97 kB / 0.4936 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1564, allocations: 4 kB / 0.4936 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.1566, allocations: 35.83 kB / 0.4936 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.1566, allocations: 3.938 kB / 0.4936 GB, free: 12.08 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 (16): * Single equations (assignments): 16 * 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.0001442/0.1568, allocations: 146.6 kB / 0.4938 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.1568, allocations: 23.86 kB / 0.4938 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.95e-05/0.1569, allocations: 25.41 kB / 0.4938 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1569, allocations: 4 kB / 0.4938 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1569, allocations: 3.984 kB / 0.4938 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1569, allocations: 0 / 0.4938 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.1573, allocations: 297.4 kB / 0.4941 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1573, allocations: 0 / 0.4941 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1575, allocations: 27.98 kB / 0.4941 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1575, allocations: 0 / 0.4941 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.1575, allocations: 4 kB / 0.4941 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1575, allocations: 0 / 0.4941 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1575, allocations: 7.938 kB / 0.4942 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.1581, allocations: 383.2 kB / 0.4945 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.1582, allocations: 101 kB / 0.4946 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.1582, allocations: 8 kB / 0.4946 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.1585, allocations: 27.95 kB / 0.4946 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.1586, allocations: 11.98 kB / 0.4947 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1586, allocations: 8 kB / 0.4947 GB, free: 10.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005034/0.1591, allocations: 240.5 kB / 0.4949 GB, free: 10.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1591, allocations: 0 / 0.4949 GB, free: 10.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1594, allocations: 31.94 kB / 0.4949 GB, free: 10.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * 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 (12): * Single equations (assignments): 12 * 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.0009155/0.1603, allocations: 0.9157 MB / 0.4958 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.1607, allocations: 163.9 kB / 0.496 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1607, allocations: 0 / 0.496 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.1608, allocations: 83.91 kB / 0.4961 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.1612, allocations: 24.66 kB / 0.4961 GB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.1655, allocations: 2.616 MB / 0.4986 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.166, allocations: 0.7474 MB / 0.4994 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1661, allocations: 37.53 kB / 0.4994 GB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1663, allocations: 63.41 kB / 0.4995 GB, free: 5.887 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1663, allocations: 0 / 0.4995 GB, free: 5.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.1942, allocations: 4.285 MB / 0.5036 GB, free: 1.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/8.642, allocations: 16.03 kB / 0.5037 GB, free: 1.656 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_SOPDT_overdamped_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 AES_AES_Devel_test_models_Test_SOPDT_overdamped.fmu > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.617389871971682] Failed to read output from testmodel.py, exit status != 0: 8.71489455201663 8.970283405 8.819236126 Calling exit ...