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.001174/0.001174, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001193/0.001193, allocations: 198.9 kB / 16.26 MB, free: 6.625 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1106/0.1106, allocations: 2.928 MB / 293 MB, free: 3.258 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 60.12 kB / 354.3 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0775/0.07867, allocations: 50.35 MB / 404.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002447/0.08115, allocations: 1.735 MB / 406.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.08283, allocations: 1.58 MB / 407.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.08289, allocations: 0 / 407.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.08316, allocations: 51.72 kB / 408 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.08342, allocations: 103.6 kB / 408.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.08361, allocations: 75.92 kB / 408.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.08374, allocations: 87.77 kB / 408.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.251e-05/0.08382, allocations: 24.2 kB / 408.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.08388, allocations: 39.8 kB / 408.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.08402, allocations: 43.77 kB / 408.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.08404, allocations: 8 kB / 408.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.08428, allocations: 199.8 kB / 408.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.08434, allocations: 27.91 kB / 408.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.08439, allocations: 43.73 kB / 408.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.08466, allocations: 235.7 kB / 408.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.08467, allocations: 11.94 kB / 408.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08468, allocations: 0 / 408.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.08468, allocations: 0 / 408.9 MB, free: 13.3 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.0005228/0.08521, allocations: 480.7 kB / 409.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.08525, allocations: 11.89 kB / 409.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.08529, allocations: 38.75 kB / 409.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.08533, allocations: 8.844 kB / 409.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.08553, allocations: 216 kB / 409.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.08555, allocations: 4.375 kB / 409.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.08557, allocations: 7.938 kB / 409.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.08575, allocations: 95.38 kB / 409.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.08577, allocations: 3.984 kB / 409.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.08578, allocations: 0 / 409.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.08579, allocations: 3.938 kB / 409.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.08591, allocations: 55.91 kB / 409.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.08625, allocations: 321.7 kB / 410.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.08647, allocations: 101.2 kB / 410.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.08657, allocations: 61.73 kB / 410.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.08658, allocations: 0 / 410.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.08678, allocations: 134.7 kB / 410.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.08679, allocations: 0 / 410.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003908/0.08718, allocations: 227.2 kB / 410.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.08724, allocations: 114.8 kB / 410.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.08737, allocations: 156.4 kB / 410.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.0874, allocations: 29.7 kB / 410.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.08744, allocations: 96.05 kB / 411 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.08748, allocations: 31.64 kB / 411 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.08753, allocations: 21.72 kB / 411 MB, free: 10.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.08762, allocations: 326.8 kB / 411.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.0877, allocations: 32.06 kB / 411.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/0.08779, allocations: 65.61 kB / 411.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.08796, allocations: 149 kB / 411.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.08797, allocations: 0 / 411.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002649/0.08824, allocations: 191.1 kB / 411.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.08828, allocations: 37.7 kB / 411.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.08829, allocations: 3.984 kB / 411.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/0.0883, allocations: 0 / 411.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.08836, allocations: 16 kB / 411.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.08837, allocations: 0 / 411.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.08844, allocations: 11.94 kB / 411.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.08846, allocations: 11.92 kB / 411.9 MB, free: 9.973 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.0001003/0.08857, allocations: 163.5 kB / 412 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.0886, allocations: 15.81 kB / 412 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.08863, allocations: 8.719 kB / 412.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.08864, allocations: 4 kB / 412.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.08865, allocations: 4 kB / 412.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.08865, allocations: 3.938 kB / 412.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.08879, allocations: 201.6 kB / 412.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.0888, allocations: 4.328 kB / 412.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.08885, allocations: 11.94 kB / 412.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.08886, allocations: 0 / 412.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.08888, allocations: 7.984 kB / 412.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.08889, allocations: 0 / 412.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.08889, allocations: 0 / 412.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.0892, allocations: 255.3 kB / 412.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.08926, allocations: 93 kB / 412.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.08929, allocations: 8 kB / 412.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.08936, allocations: 8 kB / 412.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.0894, allocations: 7.922 kB / 412.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.08942, allocations: 7.938 kB / 412.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.502e-05/0.08951, allocations: 125.1 kB / 412.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08952, allocations: 4 kB / 412.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.08978, allocations: 75.98 kB / 412.9 MB, free: 8.875 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.001184/0.09097, allocations: 1.103 MB / 414 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.09124, allocations: 191.3 kB / 414.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.09126, allocations: 0 / 414.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.09139, allocations: 147.3 kB / 414.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.0916, allocations: 20.31 kB / 414.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.09338, allocations: 1.89 MB / 416.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.0936, allocations: 0.7039 MB / 416.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.09366, allocations: 16.42 kB / 416.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.09372, allocations: 35.42 kB / 417 MB, free: 4.715 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09373, allocations: 0 / 417 MB, free: 4.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.334/1.428, allocations: 4.171 MB / 421.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/1.428, allocations: 249.1 kB / 421.4 MB, free: 332 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/3.551, allocations: 0 / 421.4 MB, free: 332 kB / 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)