Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001.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.001339/0.001339, 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.001503/0.001503, 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.464/1.464, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1046/0.1046, allocations: 24.03 MB / 333.6 MB, free: 1.574 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_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",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.00208/0.00208, allocations: 71.48 kB / 468.4 MB, free: 31.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 59.54 MB / 0.5156 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.003024/0.111, allocations: 1.721 MB / 0.5173 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002193/0.1112, allocations: 63.73 kB / 0.5173 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.1112, allocations: 4 kB / 0.5173 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.088e-05/0.1113, allocations: 3.938 kB / 0.5173 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1114, allocations: 23.78 kB / 0.5174 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.657e-05/0.1115, allocations: 19.97 kB / 0.5174 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1116, allocations: 75.72 kB / 0.5174 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1117, allocations: 32.16 kB / 0.5175 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.1118, allocations: 35.8 kB / 0.5175 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.739e-05/0.1119, allocations: 35.84 kB / 0.5175 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1119, allocations: 4 kB / 0.5175 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.849e-05/0.1119, allocations: 8 kB / 0.5176 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.1119, allocations: 19.92 kB / 0.5176 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.112, allocations: 35.81 kB / 0.5176 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.1121, allocations: 83.62 kB / 0.5177 GB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1121, allocations: 4 kB / 0.5177 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1121, allocations: 0 / 0.5177 GB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1122, allocations: 0 / 0.5177 GB, free: 10.12 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00048/0.1126, allocations: 379.4 kB / 0.5181 GB, free: 9.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1127, allocations: 8.625 kB / 0.5181 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.228e-05/0.1127, allocations: 42.73 kB / 0.5181 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.1128, allocations: 8.891 kB / 0.5181 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1129, allocations: 172.3 kB / 0.5183 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1129, allocations: 4.562 kB / 0.5183 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1129, allocations: 12.38 kB / 0.5183 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1131, allocations: 93.78 kB / 0.5184 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1131, allocations: 0 / 0.5184 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1131, allocations: 0 / 0.5184 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1131, allocations: 4 kB / 0.5184 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1132, allocations: 51.97 kB / 0.5184 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006144/0.1139, allocations: 449.7 kB / 0.5189 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.114, allocations: 62.5 kB / 0.5189 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.114, allocations: 24.84 kB / 0.5189 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.114, allocations: 48 / 0.5189 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1141, allocations: 38.55 kB / 0.519 GB, free: 8.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1141, allocations: 4 kB / 0.519 GB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001955/0.1143, allocations: 69.81 kB / 0.5191 GB, free: 8.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.1143, allocations: 59.34 kB / 0.5191 GB, free: 8.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.465e-05/0.1144, allocations: 113.8 kB / 0.5192 GB, free: 8.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1144, allocations: 33.7 kB / 0.5192 GB, free: 8.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.1145, allocations: 108.2 kB / 0.5194 GB, free: 8.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.1145, allocations: 15.8 kB / 0.5194 GB, free: 8.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.1145, allocations: 21.72 kB / 0.5194 GB, free: 8.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1147, allocations: 318.8 kB / 0.5197 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/0.1147, allocations: 12 kB / 0.5197 GB, free: 7.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.976e-05/0.1147, allocations: 42.56 kB / 0.5197 GB, free: 7.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.093e-05/0.1148, allocations: 50.52 kB / 0.5198 GB, free: 7.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1148, allocations: 0 / 0.5198 GB, free: 7.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001319/0.115, allocations: 89.56 kB / 0.5199 GB, free: 7.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.115, allocations: 4 kB / 0.5199 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.115, allocations: 0 / 0.5199 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.115, allocations: 8.062 kB / 0.5199 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1151, allocations: 15.94 kB / 0.5199 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1151, allocations: 0 / 0.5199 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.1151, allocations: 4 kB / 0.5199 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1151, allocations: 7.984 kB / 0.5199 GB, free: 7.574 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 8.813e-05/0.1152, allocations: 122.6 kB / 0.52 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.1153, allocations: 3.953 kB / 0.52 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1154, allocations: 85.98 kB / 0.5201 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1154, allocations: 7.922 kB / 0.5201 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1154, allocations: 0 / 0.5201 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1154, allocations: 0 / 0.5201 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.1156, allocations: 185.6 kB / 0.5203 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1156, allocations: 0 / 0.5203 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.1157, allocations: 15.94 kB / 0.5203 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1157, allocations: 0 / 0.5203 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.1157, allocations: 0 / 0.5203 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1157, allocations: 3.938 kB / 0.5203 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1157, allocations: 192 / 0.5203 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.1159, allocations: 167.5 kB / 0.5205 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.1159, allocations: 93.03 kB / 0.5206 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1159, allocations: 0 / 0.5206 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.116, allocations: 3.938 kB / 0.5206 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.116, allocations: 4.25 kB / 0.5206 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.116, allocations: 3.938 kB / 0.5206 GB, free: 6.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.147e-05/0.1161, allocations: 95.27 kB / 0.5207 GB, free: 6.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1161, allocations: 0 / 0.5207 GB, free: 6.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1163, allocations: 23.89 kB / 0.5207 GB, free: 6.68 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 (7): * Single equations (assignments): 7 * 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.000479/0.1168, allocations: 0.697 MB / 0.5214 GB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.1169, allocations: 39.92 kB / 0.5214 GB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1169, allocations: 0 / 0.5214 GB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.1169, allocations: 24.11 kB / 0.5214 GB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.1172, allocations: 9.906 kB / 0.5214 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.1177, allocations: 219.9 kB / 0.5217 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.118, allocations: 0.6905 MB / 0.5223 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.1181, allocations: 8 kB / 0.5223 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.1181, allocations: 27.42 kB / 0.5224 GB, free: 4.875 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1181, allocations: 0 / 0.5224 GB, free: 4.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.1394, allocations: 1.493 MB / 0.5238 GB, free: 3.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/7.924, allocations: 5.203 kB / 0.5238 GB, free: 3.434 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_HP_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_HP_001_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Devel_test_models_Test_HP_001.fmu > AES_AES.Devel_test_models.Test_HP_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.815449453890324] Failed to read output from testmodel.py, exit status != 0: 7.994711020961404 8.011449844 7.896407041 Calling exit ...