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.001043/0.001043, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009829/0.0009829, allocations: 177.3 kB / 15.95 MB, free: 216 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.334/1.334, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.1386/0.1386, allocations: 2.959 MB / 293.9 MB, free: 3.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 8 kB / 355.9 MB, free: 3.664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1132, allocations: 51.35 MB / 407.2 MB, free: 264 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.001829/0.115, allocations: 1.373 MB / 408.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1169, allocations: 1.491 MB / 410.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.1169, allocations: 0 / 410.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.1172, allocations: 39.78 kB / 410.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1175, allocations: 103.6 kB / 410.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.1176, allocations: 55.92 kB / 410.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.1177, allocations: 55.88 kB / 410.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.985e-05/0.1178, allocations: 12.22 kB / 410.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.1179, allocations: 43.78 kB / 410.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.118, allocations: 35.83 kB / 410.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1181, allocations: 7.938 kB / 410.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.1183, allocations: 159.8 kB / 410.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.1183, allocations: 15.92 kB / 410.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.1184, allocations: 45.64 kB / 410.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1186, allocations: 164 kB / 410.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1186, allocations: 0 / 410.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1186, allocations: 0 / 410.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1186, allocations: 4 kB / 410.8 MB, free: 12.64 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.0005434/0.1192, allocations: 468.6 kB / 411.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1192, allocations: 8.031 kB / 411.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.1193, allocations: 34.56 kB / 411.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.1193, allocations: 15.81 kB / 411.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1195, allocations: 217.2 kB / 411.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.1196, allocations: 0 / 411.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1196, allocations: 4 kB / 411.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1198, allocations: 99.38 kB / 411.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1198, allocations: 0 / 411.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1198, allocations: 0 / 411.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.1198, allocations: 4 kB / 411.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1199, allocations: 63.83 kB / 411.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.1203, allocations: 317.7 kB / 412 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1206, allocations: 97.22 kB / 412.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.1206, allocations: 4 kB / 412.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.1208, allocations: 138.8 kB / 412.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.1208, allocations: 0 / 412.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004771/0.1213, allocations: 320.3 kB / 412.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.1214, allocations: 114.7 kB / 412.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1215, allocations: 157.8 kB / 412.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1216, allocations: 29.7 kB / 412.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.1216, allocations: 92.14 kB / 412.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1217, allocations: 31.55 kB / 413 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.1217, allocations: 0 / 413 MB, free: 10.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1218, allocations: 326.8 kB / 413.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.1219, allocations: 39.98 kB / 413.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.122, allocations: 53.69 kB / 413.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.894e-05/0.1221, allocations: 65.69 kB / 413.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1221, allocations: 3.938 kB / 413.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002769/0.1224, allocations: 191.2 kB / 413.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.1224, allocations: 41.69 kB / 413.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1224, allocations: 0 / 413.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.1224, allocations: 0 / 413.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.1225, allocations: 15.98 kB / 413.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1225, allocations: 3.953 kB / 413.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.1226, allocations: 19.78 kB / 413.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1226, allocations: 4 kB / 413.7 MB, free: 9.398 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.0001207/0.1227, allocations: 165.7 kB / 413.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.1228, allocations: 11.91 kB / 413.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.1228, allocations: 16.7 kB / 413.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1228, allocations: 0 / 413.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1228, allocations: 0 / 413.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1228, allocations: 7.953 kB / 413.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.123, allocations: 205.5 kB / 414.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.123, allocations: 4 kB / 414.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.123, allocations: 11.98 kB / 414.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1231, allocations: 4 kB / 414.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1231, allocations: 8 kB / 414.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1231, allocations: 4 kB / 414.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1231, allocations: 0 / 414.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.1234, allocations: 261.2 kB / 414.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.1235, allocations: 97 kB / 414.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.1235, allocations: 7.984 kB / 414.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.1236, allocations: 11.94 kB / 414.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1237, allocations: 11.94 kB / 414.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1237, allocations: 4.328 kB / 414.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.524e-05/0.1238, allocations: 123.2 kB / 414.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1238, allocations: 0 / 414.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1241, allocations: 71.98 kB / 414.7 MB, free: 8.277 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.001359/0.1254, allocations: 1.198 MB / 415.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.1257, allocations: 187.3 kB / 416.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1257, allocations: 3.938 kB / 416.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.1259, allocations: 139.3 kB / 416.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.1261, allocations: 22.73 kB / 416.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1273, allocations: 0.9596 MB / 417.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1275, allocations: 0.7004 MB / 417.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.88e-05/0.1276, allocations: 28.39 kB / 417.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.1277, allocations: 31.42 kB / 418 MB, free: 4.992 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1277, allocations: 0 / 418 MB, free: 4.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.1417, allocations: 3.841 MB / 421.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.1419, allocations: 227.1 kB / 422 MB, free: 1.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/1.969, allocations: 4 kB / 422 MB, free: 1.016 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: