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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009922/0.0009919, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.1661/0.1661, allocations: 2.946 MB / 294 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004651, allocations: 12 kB / 356 MB, free: 3.641 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1312, allocations: 51.34 MB / 407.3 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002593/0.1338, allocations: 1.377 MB / 408.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1362, allocations: 1.491 MB / 410.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.1363, allocations: 0 / 410.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1366, allocations: 43.83 kB / 410.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.1369, allocations: 95.66 kB / 410.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1372, allocations: 67.88 kB / 410.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1374, allocations: 75.75 kB / 410.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.1374, allocations: 16.22 kB / 410.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.1375, allocations: 31.84 kB / 410.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1377, allocations: 39.72 kB / 410.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.1377, allocations: 4 kB / 410.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.138, allocations: 179.7 kB / 410.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.1381, allocations: 27.91 kB / 410.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.1382, allocations: 41.64 kB / 410.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.1385, allocations: 171.9 kB / 410.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1385, allocations: 0 / 410.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1385, allocations: 0 / 410.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1385, allocations: 0 / 410.9 MB, free: 12.57 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.0006359/0.1391, allocations: 464.6 kB / 411.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1392, allocations: 12.03 kB / 411.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1392, allocations: 34.56 kB / 411.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1393, allocations: 19.81 kB / 411.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1395, allocations: 205.6 kB / 411.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1395, allocations: 7.984 kB / 411.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1395, allocations: 4 kB / 411.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.1398, allocations: 99.31 kB / 411.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1398, allocations: 0 / 411.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1398, allocations: 0 / 411.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1398, allocations: 4 kB / 411.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1399, allocations: 55.97 kB / 411.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.1404, allocations: 317.7 kB / 412.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.1406, allocations: 101.3 kB / 412.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1407, allocations: 61.73 kB / 412.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1408, allocations: 3.938 kB / 412.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.141, allocations: 138.8 kB / 412.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.141, allocations: 0 / 412.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004559/0.1415, allocations: 231.1 kB / 412.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.1415, allocations: 110.8 kB / 412.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1417, allocations: 165.7 kB / 412.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1417, allocations: 29.64 kB / 413 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.1418, allocations: 96.14 kB / 413.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1418, allocations: 39.69 kB / 413.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.1418, allocations: 0 / 413.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.142, allocations: 322.8 kB / 413.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.142, allocations: 31.98 kB / 413.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.803e-05/0.1421, allocations: 65.62 kB / 413.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.1422, allocations: 65.69 kB / 413.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1422, allocations: 0 / 413.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002921/0.1425, allocations: 195.2 kB / 413.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.1426, allocations: 37.69 kB / 413.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1426, allocations: 0 / 413.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1426, allocations: 4 kB / 413.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.1427, allocations: 12 kB / 413.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.1427, allocations: 8.25 kB / 413.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.1428, allocations: 11.91 kB / 413.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.1428, allocations: 8 kB / 413.8 MB, free: 9.363 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.1429, allocations: 157.7 kB / 414 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.143, allocations: 11.91 kB / 414 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.143, allocations: 16.7 kB / 414 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.143, allocations: 4 kB / 414 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.143, allocations: 0 / 414 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.143, allocations: 8.219 kB / 414 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1432, allocations: 209.5 kB / 414.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1432, allocations: 0 / 414.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.1433, allocations: 11.98 kB / 414.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1433, allocations: 0 / 414.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1433, allocations: 7.984 kB / 414.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1433, allocations: 3.984 kB / 414.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1433, allocations: 3.938 kB / 414.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.1437, allocations: 251.4 kB / 414.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.1437, allocations: 97 kB / 414.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1438, allocations: 7.984 kB / 414.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.1438, allocations: 4 kB / 414.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.1439, allocations: 19.92 kB / 414.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.1439, allocations: 4 kB / 414.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.224e-05/0.144, allocations: 125.3 kB / 414.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.144, allocations: 0 / 414.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.1443, allocations: 79.98 kB / 414.8 MB, free: 8.254 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001473/0.1458, allocations: 1.103 MB / 415.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.1461, allocations: 195.3 kB / 416.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1461, allocations: 7.938 kB / 416.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1463, allocations: 139.6 kB / 416.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.1465, allocations: 15.98 kB / 416.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1478, allocations: 0.8322 MB / 417.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1481, allocations: 0.7004 MB / 417.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.1482, allocations: 12.42 kB / 417.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.1482, allocations: 39.41 kB / 417.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1482, allocations: 0 / 417.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.1639, allocations: 3.854 MB / 421.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.1641, allocations: 233.6 kB / 422 MB, free: 1.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.309, allocations: 0 / 422 MB, free: 1.211 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XMLTestXPath_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XMLTestXPath.fmu > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1) Environment - environmentSimulation: