Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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.001394/0.001394, allocations: 108.1 kB / 17.14 MB, free: 5.93 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: 204 kB / 20.11 MB, free: 2.977 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.566/1.566, 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.1106/0.1106, allocations: 24.04 MB / 333.6 MB, free: 1.566 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_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_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.00211/0.00211, allocations: 69.88 kB / 468.4 MB, free: 31.49 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1077, allocations: 59.55 MB / 0.5156 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003612/0.1113, allocations: 2.113 MB / 0.5176 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005626/0.1119, allocations: 183.3 kB / 0.5178 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.112, allocations: 4 kB / 0.5178 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.255e-05/0.1121, allocations: 23.72 kB / 0.5178 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1123, allocations: 71.41 kB / 0.5179 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.1125, allocations: 51.81 kB / 0.518 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.1128, allocations: 210.9 kB / 0.5182 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.113, allocations: 88.42 kB / 0.5183 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1132, allocations: 83.72 kB / 0.5183 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1134, allocations: 87.58 kB / 0.5184 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.1134, allocations: 16 kB / 0.5184 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.158e-05/0.1134, allocations: 12 kB / 0.5184 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.1135, allocations: 39.84 kB / 0.5185 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1136, allocations: 95.48 kB / 0.5186 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1138, allocations: 199.1 kB / 0.5188 GB, free: 9.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1138, allocations: 0 / 0.5188 GB, free: 9.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1138, allocations: 0 / 0.5188 GB, free: 9.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.1139, allocations: 4 kB / 0.5188 GB, free: 9.02 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006779/0.1145, allocations: 486.7 kB / 0.5192 GB, free: 8.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1146, allocations: 8.625 kB / 0.5192 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.1146, allocations: 46.73 kB / 0.5193 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.1147, allocations: 24.8 kB / 0.5193 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.115, allocations: 240.8 kB / 0.5195 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.115, allocations: 12.66 kB / 0.5195 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.1151, allocations: 12.38 kB / 0.5196 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.1153, allocations: 128.3 kB / 0.5197 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1153, allocations: 7.938 kB / 0.5197 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1154, allocations: 8 kB / 0.5197 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1154, allocations: 4 kB / 0.5197 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.1155, allocations: 76.8 kB / 0.5198 GB, free: 7.883 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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009498/0.1165, allocations: 0.6584 MB / 0.5204 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1166, allocations: 54.5 kB / 0.5205 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.1167, allocations: 16.95 kB / 0.5205 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1167, allocations: 11.98 kB / 0.5205 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.1167, allocations: 30.56 kB / 0.5205 GB, free: 7.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1167, allocations: 0 / 0.5205 GB, free: 7.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002569/0.117, allocations: 85.52 kB / 0.5206 GB, free: 6.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.117, allocations: 51.41 kB / 0.5207 GB, free: 6.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1172, allocations: 233 kB / 0.5209 GB, free: 6.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1173, allocations: 25.7 kB / 0.5209 GB, free: 6.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1174, allocations: 148 kB / 0.521 GB, free: 6.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.1174, allocations: 19.84 kB / 0.5211 GB, free: 6.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.1174, allocations: 21.7 kB / 0.5211 GB, free: 6.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1176, allocations: 330.8 kB / 0.5214 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.1176, allocations: 23.98 kB / 0.5214 GB, free: 6.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.1177, allocations: 51.31 kB / 0.5215 GB, free: 5.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.118, allocations: 87.41 kB / 0.5216 GB, free: 5.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.118, allocations: 3.938 kB / 0.5216 GB, free: 5.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.1182, allocations: 113.5 kB / 0.5217 GB, free: 5.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1182, allocations: 6.031 kB / 0.5217 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1182, allocations: 4 kB / 0.5217 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1182, allocations: 0 / 0.5217 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.1185, allocations: 40.05 kB / 0.5217 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1185, allocations: 4 kB / 0.5217 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.1186, allocations: 15.83 kB / 0.5217 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1186, allocations: 11.98 kB / 0.5217 GB, free: 5.668 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: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001497/0.1188, allocations: 129.8 kB / 0.5219 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.1188, allocations: 11.91 kB / 0.5219 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.1188, allocations: 21.23 kB / 0.5219 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1188, allocations: 0 / 0.5219 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1188, allocations: 0 / 0.5219 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1189, allocations: 3.938 kB / 0.5219 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.1195, allocations: 412.1 kB / 0.5223 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1195, allocations: 0 / 0.5223 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/0.1195, allocations: 11.98 kB / 0.5223 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1195, allocations: 0 / 0.5223 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1196, allocations: 7.938 kB / 0.5223 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1196, allocations: 7.875 kB / 0.5223 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1196, allocations: 0 / 0.5223 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.1198, allocations: 197.2 kB / 0.5225 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.1199, allocations: 101 kB / 0.5226 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1199, allocations: 3.938 kB / 0.5226 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.12, allocations: 0 / 0.5226 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.12, allocations: 8 kB / 0.5226 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.12, allocations: 4.062 kB / 0.5226 GB, free: 4.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1202, allocations: 164.5 kB / 0.5228 GB, free: 4.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1202, allocations: 3.938 kB / 0.5228 GB, free: 4.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1204, allocations: 31.94 kB / 0.5228 GB, free: 4.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0005495/0.121, allocations: 0.7302 MB / 0.5235 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1211, allocations: 51.91 kB / 0.5236 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1212, allocations: 3.938 kB / 0.5236 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.1212, allocations: 19.92 kB / 0.5236 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1215, allocations: 37.16 kB / 0.5236 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.1241, allocations: 1.98 MB / 0.5256 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1245, allocations: 0.7202 MB / 0.5263 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.609e-05/0.1245, allocations: 21.62 kB / 0.5263 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.1246, allocations: 55.41 kB / 0.5263 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1246, allocations: 0 / 0.5263 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.1525, allocations: 3.399 MB / 0.5297 GB, free: 13.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.037, allocations: 7.312 kB / 0.5297 GB, free: 13.36 MB / 398.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_header_001_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_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.05744882998988] Failed to read output from testmodel.py, exit status != 0: 8.107488404028118 8.133836198 8.014997216 Calling exit ...