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.001385/0.001385, allocations: 112.3 kB / 17.15 MB, free: 5.949 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.00249/0.00249, allocations: 212 kB / 20.11 MB, free: 2.992 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.1344/0.1344, allocations: 24.03 MB / 333.6 MB, free: 1.59 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_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.002028/0.002028, allocations: 66.5 kB / 468.4 MB, free: 31.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1049, allocations: 59.54 MB / 0.5156 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.003447/0.1084, allocations: 1.969 MB / 0.5175 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000357/0.1087, allocations: 155.4 kB / 0.5177 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.238e-05/0.1088, allocations: 0 / 0.5177 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.269e-05/0.1089, allocations: 23.78 kB / 0.5177 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.109, allocations: 55.44 kB / 0.5177 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.1092, allocations: 39.95 kB / 0.5178 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1094, allocations: 171.1 kB / 0.5179 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.1096, allocations: 65.48 kB / 0.518 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1097, allocations: 71.67 kB / 0.5181 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1098, allocations: 67.7 kB / 0.5181 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.1098, allocations: 12 kB / 0.5181 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.432e-05/0.1099, allocations: 8 kB / 0.5181 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.1099, allocations: 27.92 kB / 0.5182 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.11, allocations: 71.61 kB / 0.5182 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1102, allocations: 159.3 kB / 0.5184 GB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1102, allocations: 0 / 0.5184 GB, free: 9.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1102, allocations: 0 / 0.5184 GB, free: 9.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1102, allocations: 0 / 0.5184 GB, free: 9.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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006319/0.1108, allocations: 454.6 kB / 0.5188 GB, free: 8.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1109, allocations: 8.625 kB / 0.5188 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.1109, allocations: 42.69 kB / 0.5189 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.111, allocations: 16.84 kB / 0.5189 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1113, allocations: 216.8 kB / 0.5191 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1113, allocations: 8.375 kB / 0.5191 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.1113, allocations: 12.38 kB / 0.5191 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.1116, allocations: 123.9 kB / 0.5192 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1116, allocations: 3.938 kB / 0.5192 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1116, allocations: 7.984 kB / 0.5192 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1116, allocations: 4 kB / 0.5193 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1118, allocations: 58 kB / 0.5193 GB, free: 8.383 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.001058/0.1128, allocations: 0.7975 MB / 0.5201 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.113, allocations: 50.5 kB / 0.5201 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.113, allocations: 20.73 kB / 0.5202 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.113, allocations: 4 kB / 0.5202 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.1131, allocations: 34.56 kB / 0.5202 GB, free: 7.344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1131, allocations: 0 / 0.5202 GB, free: 7.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002357/0.1133, allocations: 81.61 kB / 0.5203 GB, free: 7.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1133, allocations: 51.41 kB / 0.5203 GB, free: 7.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1136, allocations: 195.8 kB / 0.5205 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1136, allocations: 29.69 kB / 0.5205 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.1137, allocations: 127.9 kB / 0.5207 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.1137, allocations: 7.953 kB / 0.5207 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.1137, allocations: 25.7 kB / 0.5207 GB, free: 6.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1139, allocations: 322.8 kB / 0.521 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.1139, allocations: 16 kB / 0.521 GB, free: 6.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/0.114, allocations: 25.7 kB / 0.521 GB, free: 6.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.1143, allocations: 89.69 kB / 0.5211 GB, free: 6.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1143, allocations: 0 / 0.5211 GB, free: 6.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001597/0.1145, allocations: 89.53 kB / 0.5212 GB, free: 6.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1145, allocations: 4 kB / 0.5212 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1145, allocations: 0 / 0.5212 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1145, allocations: 7.922 kB / 0.5212 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.1146, allocations: 12 kB / 0.5212 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1146, allocations: 0 / 0.5212 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.1147, allocations: 11.89 kB / 0.5212 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1147, allocations: 7.984 kB / 0.5212 GB, free: 6.188 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.0001463/0.1148, allocations: 125.8 kB / 0.5214 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.1149, allocations: 19.84 kB / 0.5214 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.1149, allocations: 16.92 kB / 0.5214 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1149, allocations: 0 / 0.5214 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1149, allocations: 0 / 0.5214 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1149, allocations: 0 / 0.5214 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1152, allocations: 209.5 kB / 0.5216 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1152, allocations: 0 / 0.5216 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.1153, allocations: 12 kB / 0.5216 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1153, allocations: 3.984 kB / 0.5216 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1153, allocations: 0 / 0.5216 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1153, allocations: 0 / 0.5216 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1153, allocations: 7.875 kB / 0.5216 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1155, allocations: 179.6 kB / 0.5218 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.209e-05/0.1156, allocations: 93.05 kB / 0.5219 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1156, allocations: 8.047 kB / 0.5219 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.1157, allocations: 12 kB / 0.5219 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.1157, allocations: 0 / 0.5219 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1158, allocations: 3.984 kB / 0.5219 GB, free: 5.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1159, allocations: 144.2 kB / 0.522 GB, free: 5.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1159, allocations: 0 / 0.522 GB, free: 5.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1161, allocations: 20 kB / 0.5221 GB, free: 5.25 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.0006018/0.1167, allocations: 0.7223 MB / 0.5228 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.1169, allocations: 31.98 kB / 0.5228 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1169, allocations: 0 / 0.5228 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.1169, allocations: 15.94 kB / 0.5228 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1172, allocations: 28.05 kB / 0.5228 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.1193, allocations: 1.809 MB / 0.5246 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.1198, allocations: 0.7084 MB / 0.5253 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.323e-05/0.1199, allocations: 13.42 kB / 0.5253 GB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.08e-05/0.1199, allocations: 43.42 kB / 0.5254 GB, free: 1.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1199, allocations: 0 / 0.5254 GB, free: 1.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.1459, allocations: 3.013 MB / 0.5283 GB, free: 14.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/7.961, allocations: 3.984 kB / 0.5283 GB, free: 14.81 MB / 398.1 MB " [Timeout remaining time 652] (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: 10.850626443978399] Failed to read output from testmodel.py, exit status != 0: 8.030234246049076 8.052756023 7.93872617 Calling exit ...