Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.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: 111 kB / 16.46 MB, free: 6.453 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.001704/0.001704, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1076/0.1076, allocations: 24.1 MB / 333 MB, free: 12.71 MB / 270.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_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",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.00373/0.00373, allocations: 70.08 kB / 467.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4117, allocations: 59.56 MB / 0.5151 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.003085/0.4147, allocations: 1.98 MB / 0.517 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003397/0.4151, allocations: 144.1 kB / 0.5171 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.4152, allocations: 2.406 kB / 0.5171 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.244e-05/0.4152, allocations: 20.75 kB / 0.5172 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.4154, allocations: 59.81 kB / 0.5172 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.4156, allocations: 29.94 kB / 0.5173 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.4158, allocations: 180.1 kB / 0.5174 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.416, allocations: 66.06 kB / 0.5175 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.4161, allocations: 73.3 kB / 0.5176 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.4162, allocations: 72.86 kB / 0.5176 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.4163, allocations: 10.88 kB / 0.5176 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.025e-05/0.4163, allocations: 11.91 kB / 0.5176 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.4163, allocations: 22.09 kB / 0.5177 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.4164, allocations: 79.88 kB / 0.5177 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.4166, allocations: 155.4 kB / 0.5179 GB, free: 7.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4166, allocations: 0 / 0.5179 GB, free: 7.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4166, allocations: 0.75 kB / 0.5179 GB, free: 7.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.4166, allocations: 0 / 0.5179 GB, free: 7.848 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005453/0.4172, allocations: 452.8 kB / 0.5183 GB, free: 7.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4172, allocations: 10.09 kB / 0.5183 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.4173, allocations: 39.73 kB / 0.5184 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.4173, allocations: 17.72 kB / 0.5184 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.4175, allocations: 223 kB / 0.5186 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4175, allocations: 4.375 kB / 0.5186 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4176, allocations: 10.88 kB / 0.5186 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.4178, allocations: 128.5 kB / 0.5187 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4178, allocations: 4.969 kB / 0.5187 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4178, allocations: 5.188 kB / 0.5187 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.4179, allocations: 2.906 kB / 0.5188 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.418, allocations: 55.75 kB / 0.5188 GB, free: 7.023 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008955/0.4189, allocations: 0.7801 MB / 0.5196 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.419, allocations: 45.56 kB / 0.5196 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.4191, allocations: 23.03 kB / 0.5196 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.4191, allocations: 0 / 0.5196 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.4191, allocations: 40.45 kB / 0.5197 GB, free: 6.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4191, allocations: 4 kB / 0.5197 GB, free: 6.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002294/0.4193, allocations: 74.28 kB / 0.5197 GB, free: 6.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.4194, allocations: 53.19 kB / 0.5198 GB, free: 6.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.4195, allocations: 200.5 kB / 0.52 GB, free: 5.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.4195, allocations: 26.58 kB / 0.52 GB, free: 5.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.4196, allocations: 133.6 kB / 0.5201 GB, free: 5.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.4196, allocations: 5.812 kB / 0.5201 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.4197, allocations: 21.17 kB / 0.5202 GB, free: 5.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.4197, allocations: 330.9 kB / 0.5205 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.4198, allocations: 12.28 kB / 0.5205 GB, free: 5.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.4198, allocations: 25.61 kB / 0.5205 GB, free: 5.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.4201, allocations: 80.73 kB / 0.5206 GB, free: 5.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4201, allocations: 4 kB / 0.5206 GB, free: 5.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001419/0.4203, allocations: 89.47 kB / 0.5207 GB, free: 5.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4203, allocations: 5.875 kB / 0.5207 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4203, allocations: 0.5625 kB / 0.5207 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4203, allocations: 4.859 kB / 0.5207 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4204, allocations: 22 kB / 0.5207 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4204, allocations: 5.344 kB / 0.5207 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.757e-05/0.4205, allocations: 15.36 kB / 0.5207 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.4205, allocations: 1.844 kB / 0.5207 GB, free: 5.262 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 0.0001018/0.4206, allocations: 122.5 kB / 0.5209 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.4206, allocations: 19.22 kB / 0.5209 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.4207, allocations: 14.8 kB / 0.5209 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4207, allocations: 1.094 kB / 0.5209 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4207, allocations: 0 / 0.5209 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4207, allocations: 1.781 kB / 0.5209 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.4209, allocations: 209 kB / 0.5211 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4209, allocations: 0 / 0.5211 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.421, allocations: 13.77 kB / 0.5211 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.421, allocations: 1.125 kB / 0.5211 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.421, allocations: 4.75 kB / 0.5211 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.421, allocations: 1.156 kB / 0.5211 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.421, allocations: 0 / 0.5211 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.4212, allocations: 182.7 kB / 0.5213 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.4212, allocations: 93.72 kB / 0.5214 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.4212, allocations: 1.828 kB / 0.5214 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.4213, allocations: 4.906 kB / 0.5214 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.4213, allocations: 1.906 kB / 0.5214 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.4213, allocations: 1.812 kB / 0.5214 GB, free: 4.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.4214, allocations: 143.9 kB / 0.5215 GB, free: 4.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4214, allocations: 0 / 0.5215 GB, free: 4.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.4217, allocations: 25.59 kB / 0.5215 GB, free: 4.531 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.T) * 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 (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 Backend phase and start with SimCode phase: time 0.0003638/0.4221, allocations: 0.7184 MB / 0.5222 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.4222, allocations: 31.88 kB / 0.5223 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4222, allocations: 0 / 0.5223 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.729e-05/0.4222, allocations: 17.52 kB / 0.5223 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.4226, allocations: 28.69 kB / 0.5223 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.4242, allocations: 1.81 MB / 0.5241 GB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.4243, allocations: 0.7073 MB / 0.5248 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.817e-05/0.4244, allocations: 17.72 kB / 0.5248 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.4245, allocations: 41.92 kB / 0.5248 GB, free: 1.625 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4245, allocations: 0 / 0.5248 GB, free: 1.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.4515, allocations: 3.029 MB / 0.5278 GB, free: 1.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.493, allocations: 4.188 kB / 0.5278 GB, free: 1.145 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_header_002_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8.64 AES_AES_Devel_test_models_Test_header_002.fmu > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.501816370990127] Failed to read output from testmodel.py, exit status != 0: 8.56436455086805 8.576927223 8.157234358 Calling exit ...