Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestXPath.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.00133/0.00133, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001506/0.001506, allocations: 214.3 kB / 22.25 MB, free: 5.086 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 / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01625/0.01625, allocations: 3.257 MB / 315.7 MB, free: 15.84 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/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(ExternData.Examples.XMLTestXPath,fileNamePrefix="ExternData_ExternData_Examples_XMLTestXPath",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XMLTestXPath,fileNamePrefix="ExternData_ExternData_Examples_XMLTestXPath",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternData 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.002037/0.002037, allocations: 70.72 kB / 439.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1139, allocations: 54.38 MB / 493.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003748/0.1176, allocations: 1.706 MB / 495.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.1207, allocations: 1.757 MB / 497.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.1208, allocations: 0 / 497.4 MB, free: 2.348 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:269:3-299:15:writable] Warning: Pure function 'ExternData.XML2File' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.1214, allocations: 55.69 kB / 497.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.1218, allocations: 123.4 kB / 497.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1221, allocations: 87.78 kB / 497.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1223, allocations: 87.75 kB / 497.8 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1224, allocations: 20.16 kB / 497.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.951e-05/0.1225, allocations: 39.86 kB / 497.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.1227, allocations: 39.83 kB / 497.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.1227, allocations: 8 kB / 497.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003681/0.1231, allocations: 211.7 kB / 498.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.1231, allocations: 23.91 kB / 498.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.1232, allocations: 43.73 kB / 498.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.1236, allocations: 247.2 kB / 498.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1236, allocations: 0 / 498.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1236, allocations: 0 / 498.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1236, allocations: 4 kB / 498.4 MB, free: 1.371 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006872/0.1243, allocations: 411 kB / 498.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1244, allocations: 8.031 kB / 498.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.1244, allocations: 38.75 kB / 498.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.1245, allocations: 8.891 kB / 498.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1247, allocations: 150.3 kB / 499 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1248, allocations: 4.375 kB / 499 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.1248, allocations: 7.938 kB / 499 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.125, allocations: 99.31 kB / 499.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.125, allocations: 0 / 499.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.125, allocations: 4 kB / 499.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.125, allocations: 0 / 499.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.1252, allocations: 55.95 kB / 499.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1256, allocations: 300.6 kB / 499.4 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.1259, allocations: 81.36 kB / 499.5 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.126, allocations: 49.77 kB / 499.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.126, allocations: 7.922 kB / 499.6 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.1262, allocations: 138.8 kB / 499.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 4.809e-06/0.1262, allocations: 3.984 kB / 499.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005118/0.1268, allocations: 231.1 kB / 499.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.1268, allocations: 106.8 kB / 0.4883 GB, free: 15.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.127, allocations: 161.8 kB / 0.4885 GB, free: 15.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.127, allocations: 33.7 kB / 0.4885 GB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.1271, allocations: 96.12 kB / 0.4886 GB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.1271, allocations: 27.75 kB / 0.4886 GB, free: 15.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1272, allocations: 25.7 kB / 0.4887 GB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1274, allocations: 330.8 kB / 0.489 GB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.1274, allocations: 31.98 kB / 0.489 GB, free: 14.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.507e-05/0.1275, allocations: 61.56 kB / 0.4891 GB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.1278, allocations: 145.1 kB / 0.4892 GB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1278, allocations: 4 kB / 0.4892 GB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003148/0.1281, allocations: 191.2 kB / 0.4894 GB, free: 14.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/0.1281, allocations: 33.7 kB / 0.4894 GB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1281, allocations: 0 / 0.4894 GB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1282, allocations: 0 / 0.4894 GB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.1282, allocations: 11.98 kB / 0.4894 GB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1282, allocations: 7.938 kB / 0.4894 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.1283, allocations: 15.89 kB / 0.4895 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1283, allocations: 7.984 kB / 0.4895 GB, free: 14.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001403/0.1285, allocations: 159.5 kB / 0.4896 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.1285, allocations: 11.95 kB / 0.4896 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.1285, allocations: 16.66 kB / 0.4896 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1285, allocations: 0 / 0.4896 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1285, allocations: 0 / 0.4896 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1285, allocations: 7.938 kB / 0.4897 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.1287, allocations: 184.6 kB / 0.4898 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1287, allocations: 0 / 0.4898 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.1288, allocations: 8 kB / 0.4898 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1288, allocations: 4 kB / 0.4898 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1288, allocations: 7.984 kB / 0.4898 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1288, allocations: 4 kB / 0.4898 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1288, allocations: 0 / 0.4898 GB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.1292, allocations: 247.5 kB / 0.4901 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.1292, allocations: 23.88 kB / 0.4901 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.1293, allocations: 4 kB / 0.4901 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.1293, allocations: 7.938 kB / 0.4901 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1294, allocations: 11.92 kB / 0.4901 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.1294, allocations: 8 kB / 0.4901 GB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1295, allocations: 122 kB / 0.4903 GB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1295, allocations: 0 / 0.4903 GB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.1298, allocations: 79.69 kB / 0.4903 GB, free: 13.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.002085/0.1319, allocations: 1.125 MB / 0.4914 GB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.1322, allocations: 159.3 kB / 0.4916 GB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1322, allocations: 0 / 0.4916 GB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.1324, allocations: 111.4 kB / 0.4917 GB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.1326, allocations: 22.83 kB / 0.4917 GB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.1351, allocations: 1.893 MB / 0.4936 GB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.1355, allocations: 0.6967 MB / 0.4942 GB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.569e-05/0.1356, allocations: 24.41 kB / 0.4943 GB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/0.1357, allocations: 39.42 kB / 0.4943 GB, free: 9.145 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1357, allocations: 0 / 0.4943 GB, free: 9.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.1701, allocations: 4.6 MB / 0.4988 GB, free: 4.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.6, allocations: 11.92 kB / 0.4988 GB, free: 4.543 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ExternData_ExternData.Examples.XMLTestXPath.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestXPath.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestXPath.pipe >> ../files/ExternData_ExternData.Examples.XMLTestXPath.sim & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.XMLTestXPath_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ExternData_ExternData_Examples_XMLTestXPath.fmu > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.582006693002768] Failed to read output from testmodel.py, exit status != 0: 11.736415023995505 12.057562413 11.930470094 Calling exit ...