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.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.001314/0.001314, allocations: 109.4 kB / 17.14 MB, free: 6.043 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.00153/0.00153, allocations: 207.2 kB / 20.11 MB, free: 3.086 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1037/0.1037, allocations: 24.02 MB / 333.6 MB, free: 1.547 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_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: 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.003196/0.003196, allocations: 75.64 kB / 468.4 MB, free: 31.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1254, allocations: 59.54 MB / 0.5156 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.002293/0.1277, allocations: 0.7068 MB / 0.5163 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001637/0.1278, allocations: 27.91 kB / 0.5163 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.1279, allocations: 4 kB / 0.5163 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.1279, allocations: 0 / 0.5163 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.128, allocations: 3.938 kB / 0.5163 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.802e-05/0.128, allocations: 7.984 kB / 0.5163 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.1281, allocations: 15.94 kB / 0.5163 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.1282, allocations: 7.984 kB / 0.5163 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.493e-05/0.1282, allocations: 11.98 kB / 0.5163 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.1283, allocations: 11.92 kB / 0.5164 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1283, allocations: 4 kB / 0.5164 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.1283, allocations: 4 kB / 0.5164 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.1283, allocations: 7.938 kB / 0.5164 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.1284, allocations: 11.94 kB / 0.5164 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.732e-05/0.1284, allocations: 27.83 kB / 0.5164 GB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1285, allocations: 0 / 0.5164 GB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1285, allocations: 0 / 0.5164 GB, free: 11.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1285, allocations: 0 / 0.5164 GB, free: 11.43 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000412/0.1289, allocations: 329.7 kB / 0.5167 GB, free: 11.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1289, allocations: 12.62 kB / 0.5167 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.1289, allocations: 34.75 kB / 0.5168 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.149e-05/0.129, allocations: 0.9375 kB / 0.5168 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1291, allocations: 168.4 kB / 0.5169 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1291, allocations: 384 / 0.5169 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1291, allocations: 384 / 0.5169 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.618e-05/0.1292, allocations: 46.19 kB / 0.517 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1293, allocations: 7.922 kB / 0.517 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1293, allocations: 0 / 0.517 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1293, allocations: 0 / 0.517 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/0.1293, allocations: 12 kB / 0.517 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.1297, allocations: 260.9 kB / 0.5172 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1298, allocations: 42.39 kB / 0.5173 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.1298, allocations: 16.91 kB / 0.5173 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1298, allocations: 0 / 0.5173 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1299, allocations: 34.56 kB / 0.5173 GB, free: 10.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1299, allocations: 0 / 0.5173 GB, free: 10.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000179/0.1301, allocations: 53.69 kB / 0.5174 GB, free: 10.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1301, allocations: 51.41 kB / 0.5174 GB, free: 10.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.1302, allocations: 105.8 kB / 0.5175 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1302, allocations: 25.7 kB / 0.5176 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.1302, allocations: 80.14 kB / 0.5176 GB, free: 9.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.1303, allocations: 3.953 kB / 0.5176 GB, free: 9.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.1303, allocations: 17.72 kB / 0.5177 GB, free: 9.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1304, allocations: 322.8 kB / 0.518 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.1305, allocations: 8 kB / 0.518 GB, free: 9.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.1305, allocations: 4 kB / 0.518 GB, free: 9.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.1305, allocations: 16.86 kB / 0.518 GB, free: 9.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1305, allocations: 3.938 kB / 0.518 GB, free: 9.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.131e-05/0.1306, allocations: 58.05 kB / 0.5181 GB, free: 9.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1306, allocations: 8 kB / 0.5181 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1306, allocations: 4 kB / 0.5181 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1306, allocations: 0 / 0.5181 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.1307, allocations: 11.98 kB / 0.5181 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1307, allocations: 3.938 kB / 0.5181 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.1307, allocations: 3.938 kB / 0.5181 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1308, allocations: 4 kB / 0.5181 GB, free: 9.477 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 7.955e-05/0.1308, allocations: 110.6 kB / 0.5182 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1309, allocations: 4.031 kB / 0.5182 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.131, allocations: 77.17 kB / 0.5183 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.131, allocations: 0 / 0.5183 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.131, allocations: 0 / 0.5183 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.131, allocations: 0 / 0.5183 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.1312, allocations: 173.6 kB / 0.5184 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1312, allocations: 0 / 0.5184 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.1313, allocations: 8 kB / 0.5184 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1313, allocations: 3.938 kB / 0.5184 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1313, allocations: 0 / 0.5184 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1313, allocations: 0 / 0.5184 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1313, allocations: 8 kB / 0.5185 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.1314, allocations: 155.4 kB / 0.5186 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.1315, allocations: 85.09 kB / 0.5187 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.1315, allocations: 0 / 0.5187 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.1315, allocations: 0 / 0.5187 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.1316, allocations: 3.938 kB / 0.5187 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1316, allocations: 4 kB / 0.5187 GB, free: 8.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.968e-05/0.1316, allocations: 87.27 kB / 0.5188 GB, free: 8.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1316, allocations: 4 kB / 0.5188 GB, free: 8.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.1318, allocations: 4 kB / 0.5188 GB, free: 8.664 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.0004796/0.1323, allocations: 0.6852 MB / 0.5195 GB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.293e-05/0.1324, allocations: 27.98 kB / 0.5195 GB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1324, allocations: 0 / 0.5195 GB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.1324, allocations: 15.94 kB / 0.5195 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1327, allocations: 8 kB / 0.5195 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.134, allocations: 1.182 MB / 0.5207 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1343, allocations: 0.6806 MB / 0.5213 GB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.943e-05/0.1344, allocations: 4 kB / 0.5213 GB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.1344, allocations: 19.42 kB / 0.5213 GB, free: 5.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1344, allocations: 4 kB / 0.5213 GB, free: 5.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.1591, allocations: 1.277 MB / 0.5226 GB, free: 4.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/7.922, allocations: 2.391 kB / 0.5226 GB, free: 4.68 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.866339562926441] Failed to read output from testmodel.py, exit status != 0: 7.987689500907436 8.000325703 7.869165127 Calling exit ...