Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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.00134/0.00134, allocations: 113 kB / 16.41 MB, free: 6.512 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.001403/0.001403, allocations: 192.5 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.484/1.484, 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.09979/0.09979, allocations: 22.33 MB / 319.6 MB, free: 6.77 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_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 67.89 kB / 445.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1444, allocations: 54.95 MB / 0.4885 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.002417/0.1468, allocations: 0.7219 MB / 0.4892 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002048/0.1471, allocations: 19.97 kB / 0.4892 GB, free: 0.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.1471, allocations: 0 / 0.4892 GB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.1472, allocations: 7.938 kB / 0.4892 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.055e-05/0.1473, allocations: 0 / 0.4892 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.1474, allocations: 4 kB / 0.4892 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.1475, allocations: 27.92 kB / 0.4892 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1476, allocations: 8 kB / 0.4893 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.464e-05/0.1477, allocations: 11.92 kB / 0.4893 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.573e-05/0.1478, allocations: 15.97 kB / 0.4893 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1478, allocations: 0 / 0.4893 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.1478, allocations: 4 kB / 0.4893 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.1478, allocations: 3.938 kB / 0.4893 GB, free: 0.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.1479, allocations: 8 kB / 0.4893 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.148, allocations: 19.86 kB / 0.4893 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.148, allocations: 3.984 kB / 0.4893 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.148, allocations: 4 kB / 0.4893 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.148, allocations: 0 / 0.4893 GB, free: 0.7578 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005398/0.1486, allocations: 323.5 kB / 0.4896 GB, free: 400 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.1486, allocations: 12.03 kB / 0.4896 GB, free: 388 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.1487, allocations: 34.69 kB / 0.4897 GB, free: 344 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.1487, allocations: 4.891 kB / 0.4897 GB, free: 340 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1489, allocations: 172.4 kB / 0.4898 GB, free: 128 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.149, allocations: 384 / 0.4898 GB, free: 128 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.149, allocations: 384 / 0.4898 GB, free: 128 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1491, allocations: 46.25 kB / 0.4899 GB, free: 76 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1491, allocations: 3.938 kB / 0.4899 GB, free: 72 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1492, allocations: 0 / 0.4899 GB, free: 72 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.1492, allocations: 3.938 kB / 0.4899 GB, free: 68 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.1492, allocations: 19.97 kB / 0.4899 GB, free: 48 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.1497, allocations: 252.9 kB / 0.4902 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1498, allocations: 42.52 kB / 0.4902 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.1499, allocations: 16.91 kB / 0.4902 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.1499, allocations: 4 kB / 0.4902 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.15, allocations: 30.56 kB / 0.4902 GB, free: 15.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.15, allocations: 0 / 0.4902 GB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002162/0.1502, allocations: 53.62 kB / 0.4903 GB, free: 15.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1502, allocations: 55.41 kB / 0.4904 GB, free: 15.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1504, allocations: 101.8 kB / 0.4904 GB, free: 15.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1504, allocations: 25.7 kB / 0.4905 GB, free: 15.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.1505, allocations: 88.09 kB / 0.4906 GB, free: 15.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.1505, allocations: 7.953 kB / 0.4906 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.1505, allocations: 17.66 kB / 0.4906 GB, free: 15.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1507, allocations: 314.8 kB / 0.4909 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.1508, allocations: 7.984 kB / 0.4909 GB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.478e-05/0.1508, allocations: 4 kB / 0.4909 GB, free: 14.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.74e-05/0.1508, allocations: 24.86 kB / 0.4909 GB, free: 14.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1508, allocations: 3.938 kB / 0.4909 GB, free: 14.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001065/0.1509, allocations: 49.62 kB / 0.491 GB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.151, allocations: 4 kB / 0.491 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.151, allocations: 0 / 0.491 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.151, allocations: 0 / 0.491 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.1511, allocations: 11.98 kB / 0.491 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1511, allocations: 0 / 0.491 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.1511, allocations: 3.938 kB / 0.491 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1512, allocations: 0 / 0.491 GB, free: 14.82 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 (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 prepare postOptimizeDAE: time 0.0001025/0.1513, allocations: 122.6 kB / 0.4911 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.1513, allocations: 3.953 kB / 0.4911 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1516, allocations: 77.11 kB / 0.4912 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1516, allocations: 0 / 0.4912 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1516, allocations: 4 kB / 0.4912 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1516, allocations: 0 / 0.4912 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.1519, allocations: 161.6 kB / 0.4913 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.1519, allocations: 8 kB / 0.4913 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.1519, allocations: 7.938 kB / 0.4914 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1519, allocations: 0 / 0.4914 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.152, allocations: 8.516 kB / 0.4914 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.152, allocations: 0 / 0.4914 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.152, allocations: 0 / 0.4914 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.1521, allocations: 155.4 kB / 0.4915 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.1522, allocations: 85.05 kB / 0.4916 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1522, allocations: 8 kB / 0.4916 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.524e-05/0.1523, allocations: 0 / 0.4916 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.1523, allocations: 7.984 kB / 0.4916 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1523, allocations: 0 / 0.4916 GB, free: 14.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.746e-05/0.1524, allocations: 83.28 kB / 0.4917 GB, free: 14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1524, allocations: 0 / 0.4917 GB, free: 14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1526, allocations: 4 kB / 0.4917 GB, free: 13.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0005537/0.1532, allocations: 0.6851 MB / 0.4924 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1533, allocations: 19.94 kB / 0.4924 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1533, allocations: 0 / 0.4924 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/0.1534, allocations: 19.98 kB / 0.4924 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1537, allocations: 7.938 kB / 0.4924 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.1551, allocations: 1.182 MB / 0.4936 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.1556, allocations: 0.6768 MB / 0.4942 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.82e-05/0.1556, allocations: 8.062 kB / 0.4942 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.1557, allocations: 15.44 kB / 0.4942 GB, free: 11.25 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1557, allocations: 0 / 0.4942 GB, free: 11.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.1803, allocations: 1.271 MB / 0.4955 GB, free: 10.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.718, allocations: 7.734 kB / 0.4955 GB, free: 10.02 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_SR01_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.71302415698301] Failed to read output from testmodel.py, exit status != 0: 7.7863058970542625 7.985876736 7.835048307 Calling exit ...