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.001722/0.001722, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.002064/0.002064, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.496/1.496, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.01756/0.01756, allocations: 3.277 MB / 312.1 MB, free: 0.9883 MB / 238.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.001944/0.001944, allocations: 67.91 kB / 434.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.09113, allocations: 54.34 MB / 488.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002977/0.09411, allocations: 1.705 MB / 490.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.09642, allocations: 1.654 MB / 492.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.09647, allocations: 0 / 492.1 MB, free: 4.934 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.0003174/0.09679, allocations: 51.75 kB / 492.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.09713, allocations: 123.4 kB / 492.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.09738, allocations: 91.78 kB / 492.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.09753, allocations: 91.69 kB / 492.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.382e-05/0.09761, allocations: 8.234 kB / 492.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.09769, allocations: 31.92 kB / 492.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.09786, allocations: 47.77 kB / 492.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.09787, allocations: 7.938 kB / 492.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.09819, allocations: 207.8 kB / 492.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.09825, allocations: 23.91 kB / 492.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.09831, allocations: 35.8 kB / 492.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.09868, allocations: 255.2 kB / 493 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.09869, allocations: 0 / 493 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09869, allocations: 0 / 493 MB, free: 3.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.09869, allocations: 0 / 493 MB, free: 3.973 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.0007188/0.09941, allocations: 496.1 kB / 493.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.09945, allocations: 12.03 kB / 493.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.0995, allocations: 30.75 kB / 493.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.09955, allocations: 12.89 kB / 493.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.09986, allocations: 212.1 kB / 493.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.09987, allocations: 8.375 kB / 493.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.09989, allocations: 7.938 kB / 493.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.1001, allocations: 87.38 kB / 493.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1001, allocations: 4 kB / 493.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1001, allocations: 4 kB / 493.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1001, allocations: 0 / 493.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1003, allocations: 59.89 kB / 493.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.1007, allocations: 321.7 kB / 494.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.101, allocations: 85.22 kB / 494.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1011, allocations: 49.75 kB / 494.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1011, allocations: 0 / 494.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.1014, allocations: 134.8 kB / 494.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 4.779e-06/0.1014, allocations: 3.984 kB / 494.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005202/0.1019, allocations: 235.1 kB / 494.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.102, allocations: 114.8 kB / 494.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1021, allocations: 159.8 kB / 495 MB, free: 1.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1022, allocations: 29.7 kB / 495.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.1022, allocations: 100.1 kB / 495.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.1023, allocations: 27.69 kB / 495.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.1023, allocations: 29.7 kB / 495.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1024, allocations: 326.8 kB / 495.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.1025, allocations: 35.98 kB / 495.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1027, allocations: 53.77 kB / 495.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1029, allocations: 149.1 kB / 495.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1029, allocations: 0 / 495.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003342/0.1032, allocations: 195.2 kB / 496 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.1033, allocations: 36.67 kB / 496 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1033, allocations: 7.984 kB / 496 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1033, allocations: 4 kB / 496 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.1033, allocations: 11.94 kB / 496 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1034, allocations: 4 kB / 496 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.58e-05/0.1034, allocations: 23.81 kB / 496 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.1035, allocations: 4 kB / 496 MB, free: 0.6367 MB / 350.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.0001504/0.1036, allocations: 151.5 kB / 496.2 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.1036, allocations: 11.95 kB / 496.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.1037, allocations: 16.72 kB / 496.2 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1037, allocations: 4 kB / 496.2 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1037, allocations: 0 / 496.2 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1037, allocations: 7.938 kB / 496.2 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.1039, allocations: 205.5 kB / 496.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1039, allocations: 0 / 496.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.104, allocations: 15.92 kB / 496.4 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.104, allocations: 0 / 496.4 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.104, allocations: 4 kB / 496.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.104, allocations: 4 kB / 496.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.104, allocations: 3.938 kB / 496.5 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.1044, allocations: 243.5 kB / 496.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.1045, allocations: 93.05 kB / 496.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.1045, allocations: 4 kB / 496.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.1046, allocations: 15.98 kB / 496.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.1046, allocations: 3.938 kB / 496.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1046, allocations: 4 kB / 496.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1048, allocations: 130.2 kB / 496.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1048, allocations: 0 / 496.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.1051, allocations: 83.69 kB / 497 MB, free: 15.54 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.001977/0.1071, allocations: 1.116 MB / 498.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.1074, allocations: 167.2 kB / 498.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1074, allocations: 4 kB / 498.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1076, allocations: 107.4 kB / 498.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.1078, allocations: 26.67 kB / 498.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.1102, allocations: 1.884 MB / 0.4886 GB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1105, allocations: 0.7041 MB / 0.4893 GB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.401e-05/0.1106, allocations: 20.41 kB / 0.4893 GB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.1106, allocations: 35.42 kB / 0.4893 GB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1106, allocations: 0 / 0.4893 GB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.1386, allocations: 4.398 MB / 0.4936 GB, free: 6.977 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.388/8.527, allocations: 10.94 kB / 0.4936 GB, free: 6.969 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.260640296008205] Failed to read output from testmodel.py, exit status != 0: 8.63344535100623 8.66391344 8.559653078 Calling exit ...