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.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001199/0.001199, allocations: 192.4 kB / 16.14 MB, free: 6.699 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1134/0.1134, allocations: 2.931 MB / 292.9 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.83 kB / 354.1 MB, free: 4.098 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08056/0.08185, allocations: 50.35 MB / 404.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002709/0.08459, allocations: 1.727 MB / 406.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.08661, allocations: 1.604 MB / 407.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.0867, allocations: 4 kB / 407.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.08699, allocations: 39.84 kB / 407.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.08728, allocations: 99.66 kB / 407.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.08749, allocations: 67.88 kB / 408 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.08761, allocations: 83.75 kB / 408.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.925e-05/0.08768, allocations: 12.22 kB / 408.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.08775, allocations: 31.86 kB / 408.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.08791, allocations: 51.7 kB / 408.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.08794, allocations: 4 kB / 408.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.08823, allocations: 199.8 kB / 408.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.08829, allocations: 23.91 kB / 408.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.08835, allocations: 39.8 kB / 408.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.08869, allocations: 247.6 kB / 408.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.0887, allocations: 0 / 408.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.08871, allocations: 0 / 408.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.08872, allocations: 0 / 408.7 MB, free: 13.46 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.0005787/0.0893, allocations: 472.8 kB / 409.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.08934, allocations: 8.031 kB / 409.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.08938, allocations: 38.75 kB / 409.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.08943, allocations: 12.83 kB / 409.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.08965, allocations: 212 kB / 409.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.08967, allocations: 8.312 kB / 409.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.08969, allocations: 3.938 kB / 409.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.08989, allocations: 103.4 kB / 409.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.08991, allocations: 0 / 409.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.08992, allocations: 0 / 409.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.08993, allocations: 4 kB / 409.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.09006, allocations: 55.89 kB / 409.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.09044, allocations: 321.7 kB / 409.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.09068, allocations: 101.2 kB / 410 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.09079, allocations: 65.69 kB / 410 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.09081, allocations: 0 / 410 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.09103, allocations: 134.8 kB / 410.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.09104, allocations: 0 / 410.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000422/0.09146, allocations: 235.2 kB / 410.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.09153, allocations: 102.8 kB / 410.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.09167, allocations: 160.4 kB / 410.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.09169, allocations: 29.7 kB / 410.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.09176, allocations: 100 kB / 410.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.09179, allocations: 23.66 kB / 410.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.09184, allocations: 29.64 kB / 410.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.09195, allocations: 326.8 kB / 411.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.09203, allocations: 39.92 kB / 411.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.215e-05/0.09213, allocations: 53.77 kB / 411.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.09232, allocations: 149.1 kB / 411.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.09233, allocations: 4 kB / 411.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002872/0.09262, allocations: 187.1 kB / 411.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.09267, allocations: 41.69 kB / 411.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.09268, allocations: 4 kB / 411.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.0927, allocations: 0 / 411.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.09276, allocations: 15.92 kB / 411.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.09277, allocations: 0 / 411.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-05/0.09285, allocations: 15.94 kB / 411.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.09287, allocations: 4 kB / 411.7 MB, free: 10.14 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.0001054/0.09298, allocations: 159.5 kB / 411.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.09302, allocations: 15.81 kB / 411.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.09306, allocations: 16.7 kB / 411.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.09307, allocations: 7.938 kB / 411.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.09307, allocations: 0 / 411.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.09308, allocations: 3.938 kB / 411.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.09324, allocations: 201.6 kB / 412.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.09324, allocations: 0 / 412.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.0933, allocations: 11.98 kB / 412.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.0933, allocations: 0 / 412.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.09332, allocations: 4 kB / 412.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.09333, allocations: 0 / 412.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.09333, allocations: 3.938 kB / 412.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.09368, allocations: 255.3 kB / 412.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.09374, allocations: 93 kB / 412.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.09378, allocations: 8 kB / 412.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.09385, allocations: 7.984 kB / 412.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.0939, allocations: 7.938 kB / 412.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.09392, allocations: 7.984 kB / 412.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.09402, allocations: 123.2 kB / 412.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09403, allocations: 0 / 412.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.09432, allocations: 79.98 kB / 412.6 MB, free: 9.043 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.001279/0.0956, allocations: 1.106 MB / 413.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.0959, allocations: 191.3 kB / 413.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.09592, allocations: 0 / 413.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.09606, allocations: 135.4 kB / 414.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.09627, allocations: 27.92 kB / 414.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.09821, allocations: 1.884 MB / 416 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.09846, allocations: 0.6965 MB / 416.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.627e-05/0.09852, allocations: 28.33 kB / 416.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.09859, allocations: 39.41 kB / 416.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.0986, allocations: 4.188 kB / 416.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.118, allocations: 4.083 MB / 420.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.1182, allocations: 248.5 kB / 421.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/1.794, allocations: 0 / 421.1 MB, free: 0.6055 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)