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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 109.4 kB / 17.15 MB, free: 6.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 207.2 kB / 20.11 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1052/0.1052, allocations: 24.03 MB / 333.6 MB, free: 1.551 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 65.52 kB / 466.3 MB, free: 32.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.119, allocations: 59.55 MB / 0.5135 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.00327/0.1222, allocations: 1.736 MB / 0.5152 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1234, allocations: 0.6312 MB / 0.5158 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.1235, allocations: 0 / 0.5158 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1238, allocations: 43.7 kB / 0.5159 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.124, allocations: 55.69 kB / 0.5159 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1243, allocations: 103.8 kB / 0.516 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.1246, allocations: 299.4 kB / 0.5163 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1247, allocations: 33.53 kB / 0.5163 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.1249, allocations: 111.7 kB / 0.5164 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1251, allocations: 143.5 kB / 0.5166 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.1252, allocations: 20 kB / 0.5166 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-05/0.1252, allocations: 20 kB / 0.5166 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1253, allocations: 79.78 kB / 0.5167 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.64e-05/0.1254, allocations: 95.41 kB / 0.5168 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.1257, allocations: 219.2 kB / 0.517 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1257, allocations: 0 / 0.517 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1257, allocations: 0 / 0.517 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1257, allocations: 0 / 0.517 GB, free: 10.94 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001402/0.1271, allocations: 0.5883 MB / 0.5176 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1271, allocations: 8.625 kB / 0.5176 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.1272, allocations: 42.73 kB / 0.5176 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.1273, allocations: 20.84 kB / 0.5176 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.128, allocations: 323.8 kB / 0.5179 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.128, allocations: 12.56 kB / 0.518 GB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.128, allocations: 20.08 kB / 0.518 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.1283, allocations: 139.6 kB / 0.5181 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1283, allocations: 4 kB / 0.5181 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.1283, allocations: 4 kB / 0.5181 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1283, allocations: 0 / 0.5181 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.1286, allocations: 127.9 kB / 0.5182 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009858/0.1296, allocations: 0.5747 MB / 0.5188 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.1299, allocations: 146.5 kB / 0.5189 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.13, allocations: 72.81 kB / 0.519 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.13, allocations: 0 / 0.519 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1301, allocations: 42.56 kB / 0.5191 GB, free: 8.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1301, allocations: 0 / 0.5191 GB, free: 8.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005297/0.1306, allocations: 257.5 kB / 0.5193 GB, free: 8.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.1307, allocations: 51.41 kB / 0.5193 GB, free: 8.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.1313, allocations: 299.1 kB / 0.5196 GB, free: 8.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1313, allocations: 33.7 kB / 0.5197 GB, free: 7.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.845e-05/0.1314, allocations: 124.1 kB / 0.5198 GB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.1314, allocations: 51.56 kB / 0.5198 GB, free: 7.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.1315, allocations: 33.7 kB / 0.5199 GB, free: 7.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1317, allocations: 334.8 kB / 0.5202 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1319, allocations: 71.95 kB / 0.5203 GB, free: 7.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.132, allocations: 75.95 kB / 0.5203 GB, free: 7.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.1323, allocations: 174.8 kB / 0.5205 GB, free: 7.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1323, allocations: 0 / 0.5205 GB, free: 7.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003699/0.1327, allocations: 221.4 kB / 0.5207 GB, free: 6.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1327, allocations: 4 kB / 0.5207 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1327, allocations: 0 / 0.5207 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1327, allocations: 0 / 0.5207 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.1331, allocations: 55.91 kB / 0.5208 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1331, allocations: 0 / 0.5208 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.1334, allocations: 35.91 kB / 0.5208 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.1334, allocations: 7.938 kB / 0.5208 GB, free: 6.805 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.0001429/0.1335, allocations: 138.6 kB / 0.5209 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.1336, allocations: 19.84 kB / 0.521 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.294e-05/0.1337, allocations: 37.39 kB / 0.521 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1337, allocations: 0 / 0.521 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1337, allocations: 0 / 0.521 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1337, allocations: 0 / 0.521 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.134, allocations: 305.3 kB / 0.5213 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.134, allocations: 7.984 kB / 0.5213 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.1342, allocations: 27.92 kB / 0.5213 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1342, allocations: 7.984 kB / 0.5213 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.1342, allocations: 0 / 0.5213 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1342, allocations: 0 / 0.5213 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1342, allocations: 4 kB / 0.5213 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005574/0.1348, allocations: 376.8 kB / 0.5217 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.1349, allocations: 101 kB / 0.5218 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.1349, allocations: 12 kB / 0.5218 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.1352, allocations: 27.95 kB / 0.5218 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.1352, allocations: 7.984 kB / 0.5218 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1353, allocations: 8 kB / 0.5218 GB, free: 5.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005045/0.1358, allocations: 231.1 kB / 0.5221 GB, free: 5.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1358, allocations: 0 / 0.5221 GB, free: 5.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000256/0.136, allocations: 31.94 kB / 0.5221 GB, free: 5.391 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.0008716/0.1369, allocations: 0.9076 MB / 0.523 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.1372, allocations: 159.8 kB / 0.5231 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1372, allocations: 0 / 0.5231 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.1374, allocations: 83.89 kB / 0.5232 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1377, allocations: 33.47 kB / 0.5232 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.1419, allocations: 2.618 MB / 0.5258 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.1423, allocations: 0.7475 MB / 0.5265 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.1424, allocations: 37.52 kB / 0.5266 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1425, allocations: 55.42 kB / 0.5266 GB, free: 0.625 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1425, allocations: 4 kB / 0.5266 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1705, allocations: 4.343 MB / 0.5309 GB, free: 12.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/8.557, allocations: 8.938 kB / 0.5309 GB, free: 12.34 MB / 398.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.560154447099194] Failed to read output from testmodel.py, exit status != 0: 8.628647932084277 8.654212978 8.523896714 Calling exit ...