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.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-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.0008617/0.0008618, allocations: 92 kB / 15.36 MB, free: 0.7383 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.005037/0.005037, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1108/0.1108, allocations: 2.947 MB / 294.4 MB, free: 3.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.00027, allocations: 12 kB / 356.6 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07477/0.07505, allocations: 51.35 MB / 407.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.001667/0.07674, allocations: 1.392 MB / 409.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.07867, allocations: 1.573 MB / 410.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.07874, allocations: 4 kB / 410.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.07899, allocations: 39.84 kB / 410.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.07926, allocations: 111.3 kB / 411.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.07947, allocations: 67.81 kB / 411.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.845e-05/0.07958, allocations: 75.83 kB / 411.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.07965, allocations: 12.2 kB / 411.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.637e-05/0.07972, allocations: 35.8 kB / 411.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.07988, allocations: 47.77 kB / 411.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.0799, allocations: 0 / 411.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.08018, allocations: 203.7 kB / 411.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.08024, allocations: 19.97 kB / 411.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.08031, allocations: 65.44 kB / 411.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.08061, allocations: 239.7 kB / 411.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.08062, allocations: 0 / 411.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.08063, allocations: 0 / 411.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.08064, allocations: 0 / 411.8 MB, free: 11.96 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.0005039/0.08115, allocations: 460.8 kB / 412.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.08119, allocations: 16.03 kB / 412.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.08123, allocations: 38.69 kB / 412.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.08127, allocations: 16.75 kB / 412.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.08146, allocations: 200.2 kB / 412.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.08148, allocations: 4.375 kB / 412.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.0815, allocations: 7.938 kB / 412.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.08169, allocations: 103.2 kB / 412.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.08171, allocations: 4 kB / 412.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.08173, allocations: 0 / 412.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.08173, allocations: 0 / 412.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.08187, allocations: 55.97 kB / 412.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.08223, allocations: 325.6 kB / 413 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.08246, allocations: 97.19 kB / 413.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.08257, allocations: 65.83 kB / 413.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.08259, allocations: 7.938 kB / 413.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.0828, allocations: 138.8 kB / 413.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.08282, allocations: 0 / 413.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004278/0.08325, allocations: 235.2 kB / 413.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.08331, allocations: 110.8 kB / 413.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.08345, allocations: 164 kB / 413.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.08347, allocations: 25.7 kB / 413.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.08352, allocations: 92.14 kB / 413.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.08355, allocations: 27.64 kB / 413.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.08359, allocations: 17.72 kB / 414 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.08369, allocations: 326.8 kB / 414.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.08378, allocations: 39.97 kB / 414.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.08388, allocations: 57.7 kB / 414.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.08407, allocations: 156.9 kB / 414.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.08409, allocations: 0 / 414.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002941/0.08438, allocations: 203.1 kB / 414.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.08443, allocations: 37.69 kB / 414.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.08444, allocations: 4 kB / 414.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.08445, allocations: 0 / 414.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.08452, allocations: 12 kB / 414.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.08453, allocations: 0 / 414.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.053e-05/0.08461, allocations: 23.83 kB / 414.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.08463, allocations: 4 kB / 414.8 MB, free: 8.617 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.0001141/0.08475, allocations: 167.5 kB / 415 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.08478, allocations: 15.91 kB / 415 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.08481, allocations: 8.719 kB / 415 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.08482, allocations: 4 kB / 415 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.08483, allocations: 0 / 415 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.08484, allocations: 3.938 kB / 415 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.08499, allocations: 201.6 kB / 415.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.085, allocations: 4 kB / 415.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.08506, allocations: 8 kB / 415.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.08506, allocations: 0 / 415.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.08508, allocations: 11.98 kB / 415.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.08509, allocations: 0 / 415.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0851, allocations: 0 / 415.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.08544, allocations: 259.3 kB / 415.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.0855, allocations: 93 kB / 415.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.08554, allocations: 8 kB / 415.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.08562, allocations: 11.98 kB / 415.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.08566, allocations: 7.938 kB / 415.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.08568, allocations: 4 kB / 415.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.08577, allocations: 121.5 kB / 415.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08578, allocations: 0 / 415.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000296/0.08608, allocations: 79.98 kB / 415.8 MB, free: 7.52 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 (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.001283/0.08737, allocations: 1.115 MB / 416.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.08767, allocations: 187.3 kB / 417.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.08768, allocations: 0 / 417.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.08784, allocations: 139.3 kB / 417.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.08807, allocations: 22.75 kB / 417.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.09, allocations: 1.916 MB / 419.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.09022, allocations: 0.6965 MB / 419.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.255e-05/0.09028, allocations: 16.42 kB / 419.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.09035, allocations: 35.41 kB / 419.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of SimCode: time 1.482e-06/0.09036, allocations: 4.109 kB / 419.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1445/0.2349, allocations: 3.871 MB / 423.8 MB, free: 46.21 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001241/0.235, allocations: 243.5 kB / 424 MB, free: 45.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.896, allocations: 0.5312 kB / 424 MB, free: 45.96 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/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)