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.001777/0.001777, allocations: 116.1 kB / 17.17 MB, free: 6 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.002109/0.002109, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.553/1.553, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1146/0.1146, allocations: 22.93 MB / 332.5 MB, free: 2.648 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001",fmuType="cs",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.002063/0.002063, allocations: 63.59 kB / 466.7 MB, free: 32.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.1, allocations: 59.27 MB / 0.5137 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001): time 0.003192/0.1032, allocations: 1.713 MB / 0.5154 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002356/0.1034, allocations: 59.73 kB / 0.5154 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.1035, allocations: 4 kB / 0.5154 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.845e-05/0.1036, allocations: 11.86 kB / 0.5154 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.1037, allocations: 15.8 kB / 0.5154 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.823e-05/0.1037, allocations: 23.97 kB / 0.5155 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1039, allocations: 83.66 kB / 0.5155 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.104, allocations: 20.22 kB / 0.5156 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.104, allocations: 35.86 kB / 0.5156 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.1041, allocations: 35.84 kB / 0.5156 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1042, allocations: 8 kB / 0.5156 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.1042, allocations: 8 kB / 0.5157 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.1042, allocations: 15.92 kB / 0.5157 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.1043, allocations: 39.8 kB / 0.5157 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1044, allocations: 79.64 kB / 0.5158 GB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.1044, allocations: 4 kB / 0.5158 GB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1044, allocations: 0 / 0.5158 GB, free: 11.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1044, allocations: 4 kB / 0.5158 GB, free: 11.96 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.0005063/0.1049, allocations: 375.4 kB / 0.5161 GB, free: 11.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.105, allocations: 12.62 kB / 0.5162 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.812e-05/0.105, allocations: 4.312 kB / 0.5162 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.105, allocations: 38.75 kB / 0.5162 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.1051, allocations: 8.891 kB / 0.5162 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.1052, allocations: 172.3 kB / 0.5164 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1052, allocations: 8.562 kB / 0.5164 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1053, allocations: 16.12 kB / 0.5164 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1054, allocations: 85.61 kB / 0.5165 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1054, allocations: 4 kB / 0.5165 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1055, allocations: 4 kB / 0.5165 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1055, allocations: 0 / 0.5165 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1056, allocations: 51.91 kB / 0.5165 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.1062, allocations: 449.6 kB / 0.517 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1064, allocations: 54.56 kB / 0.517 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.1064, allocations: 24.95 kB / 0.517 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1064, allocations: 4 kB / 0.517 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1065, allocations: 34.5 kB / 0.5171 GB, free: 10.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.906e-06/0.1065, allocations: 3.984 kB / 0.5171 GB, free: 10.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002089/0.1067, allocations: 73.81 kB / 0.5172 GB, free: 10.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1067, allocations: 59.41 kB / 0.5172 GB, free: 10.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.1068, allocations: 109.8 kB / 0.5173 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1068, allocations: 25.7 kB / 0.5173 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.1069, allocations: 108.2 kB / 0.5174 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.1069, allocations: 23.8 kB / 0.5175 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.107, allocations: 21.7 kB / 0.5175 GB, free: 9.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1071, allocations: 314.8 kB / 0.5178 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.421e-05/0.1072, allocations: 12 kB / 0.5178 GB, free: 9.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.1072, allocations: 46.94 kB / 0.5178 GB, free: 9.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/0.1073, allocations: 54.56 kB / 0.5179 GB, free: 9.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1073, allocations: 0 / 0.5179 GB, free: 9.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001429/0.1075, allocations: 81.58 kB / 0.518 GB, free: 9.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1075, allocations: 4 kB / 0.518 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.525e-06/0.1075, allocations: 12.06 kB / 0.518 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.1075, allocations: 3.938 kB / 0.518 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1076, allocations: 23.92 kB / 0.518 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1076, allocations: 0 / 0.518 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.1077, allocations: 4 kB / 0.518 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1077, allocations: 4 kB / 0.518 GB, free: 9.402 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 0.0001107/0.1078, allocations: 118.6 kB / 0.5181 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.1078, allocations: 7.953 kB / 0.5181 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.108, allocations: 93.84 kB / 0.5182 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.108, allocations: 0 / 0.5182 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.108, allocations: 4 kB / 0.5182 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.108, allocations: 0 / 0.5182 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.1083, allocations: 181.6 kB / 0.5184 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1083, allocations: 0 / 0.5184 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-05/0.1083, allocations: 12 kB / 0.5184 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1083, allocations: 0 / 0.5184 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.1084, allocations: 7.938 kB / 0.5184 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1084, allocations: 4 kB / 0.5184 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1084, allocations: 3.984 kB / 0.5184 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1085, allocations: 175.6 kB / 0.5186 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.1086, allocations: 77.11 kB / 0.5187 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1086, allocations: 7.938 kB / 0.5187 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.1087, allocations: 0 / 0.5187 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.1087, allocations: 0 / 0.5187 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1087, allocations: 11.94 kB / 0.5187 GB, free: 8.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.014e-05/0.1087, allocations: 83.27 kB / 0.5188 GB, free: 8.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1087, allocations: 4 kB / 0.5188 GB, free: 8.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.109, allocations: 19.95 kB / 0.5188 GB, free: 8.512 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.0005127/0.1095, allocations: 0.6967 MB / 0.5195 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.1096, allocations: 39.92 kB / 0.5195 GB, free: 7.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1097, allocations: 128 / 0.5195 GB, free: 7.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.1097, allocations: 28.11 kB / 0.5195 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.11, allocations: 7.938 kB / 0.5195 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.1107, allocations: 211.9 kB / 0.5198 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.111, allocations: 0.6924 MB / 0.5204 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.266e-05/0.1111, allocations: 8 kB / 0.5204 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.1111, allocations: 27.42 kB / 0.5205 GB, free: 6.711 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1111, allocations: 0 / 0.5205 GB, free: 6.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.1274, allocations: 1.531 MB / 0.522 GB, free: 5.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.364, allocations: 6.172 kB / 0.522 GB, free: 5.246 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HP_001_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 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: 11.29282733501168] Failed to read output from testmodel.py, exit status != 0: 8.488485799985938 8.502962291 8.395701954 Calling exit ...