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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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: translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") translateModel(ExternData.Examples.XMLTestXPath,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestXPath") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001376, allocations: 103.7 kB / 16.27 MB, free: 5.98 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.001304/0.001304, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01363/0.01363, allocations: 2.951 MB / 294 MB, free: 11.87 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.84 kB / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2204, allocations: 50.33 MB / 405.7 MB, free: 32.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002583/0.223, allocations: 1.696 MB / 407.4 MB, free: 30.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.2247, allocations: 1.596 MB / 409 MB, free: 29.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.2248, allocations: 0 / 409 MB, free: 29.34 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:281:3-311:15:writable] Warning: Pure function 'ExternData.XML2File' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.2251, allocations: 51.7 kB / 409 MB, free: 29.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.2254, allocations: 123.5 kB / 409.1 MB, free: 29.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.2256, allocations: 83.7 kB / 409.2 MB, free: 29.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2257, allocations: 91.78 kB / 409.3 MB, free: 29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.2258, allocations: 20.2 kB / 409.3 MB, free: 28.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.2259, allocations: 43.78 kB / 409.4 MB, free: 28.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.2261, allocations: 39.84 kB / 409.4 MB, free: 28.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.2261, allocations: 7.984 kB / 409.4 MB, free: 28.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.2263, allocations: 199.8 kB / 409.6 MB, free: 28.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.2264, allocations: 23.86 kB / 409.6 MB, free: 28.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.2264, allocations: 39.8 kB / 409.7 MB, free: 28.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.2267, allocations: 229.5 kB / 409.9 MB, free: 28.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2267, allocations: 0 / 409.9 MB, free: 28.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2267, allocations: 4 kB / 409.9 MB, free: 28.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2267, allocations: 0 / 409.9 MB, free: 28.4 MB / 302.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.000449/0.2272, allocations: 460.8 kB / 410.3 MB, free: 27.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.2272, allocations: 11.89 kB / 410.4 MB, free: 27.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.2273, allocations: 8.844 kB / 410.4 MB, free: 27.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2274, allocations: 200.1 kB / 410.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2275, allocations: 4.375 kB / 410.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2275, allocations: 8.125 kB / 410.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2277, allocations: 95.38 kB / 410.7 MB, free: 27.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2277, allocations: 0 / 410.7 MB, free: 27.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2277, allocations: 0 / 410.7 MB, free: 27.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2277, allocations: 4 kB / 410.7 MB, free: 27.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.2278, allocations: 59.84 kB / 410.7 MB, free: 27.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.2281, allocations: 305.7 kB / 411 MB, free: 27.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.2283, allocations: 101.2 kB / 411.1 MB, free: 27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.2284, allocations: 53.75 kB / 411.2 MB, free: 26.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.2285, allocations: 7.984 kB / 411.2 MB, free: 26.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.2286, allocations: 146.6 kB / 411.3 MB, free: 26.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.2286, allocations: 0 / 411.3 MB, free: 26.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003771/0.229, allocations: 219.2 kB / 411.5 MB, free: 26.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.2291, allocations: 114.7 kB / 411.7 MB, free: 26.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.2292, allocations: 135.1 kB / 411.8 MB, free: 26.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.2292, allocations: 33.7 kB / 411.8 MB, free: 26.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.2292, allocations: 92.05 kB / 411.9 MB, free: 26.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2292, allocations: 27.72 kB / 411.9 MB, free: 26.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.2293, allocations: 29.7 kB / 412 MB, free: 26.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.2293, allocations: 322.8 kB / 412.3 MB, free: 25.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.2294, allocations: 39.98 kB / 412.3 MB, free: 25.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.2295, allocations: 53.69 kB / 412.4 MB, free: 25.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.2296, allocations: 153 kB / 412.5 MB, free: 25.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2296, allocations: 0 / 412.5 MB, free: 25.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002369/0.2299, allocations: 191.1 kB / 412.7 MB, free: 25.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.2299, allocations: 37.7 kB / 412.7 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2299, allocations: 0 / 412.7 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.23, allocations: 0 / 412.7 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.23, allocations: 11.98 kB / 412.8 MB, free: 25.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.23, allocations: 4 kB / 412.8 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.2301, allocations: 12.27 kB / 412.8 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.2301, allocations: 7.938 kB / 412.8 MB, free: 25.2 MB / 302.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 7.366e-05/0.2302, allocations: 160.2 kB / 412.9 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.2302, allocations: 15.89 kB / 413 MB, free: 25.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.2303, allocations: 12.36 kB / 413 MB, free: 24.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2303, allocations: 0 / 413 MB, free: 24.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2303, allocations: 4 kB / 413 MB, free: 24.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2303, allocations: 3.938 kB / 413 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.2304, allocations: 201.5 kB / 413.2 MB, free: 24.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2304, allocations: 8 kB / 413.2 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.2304, allocations: 11.94 kB / 413.2 MB, free: 24.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2304, allocations: 3.984 kB / 413.2 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2305, allocations: 4 kB / 413.2 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2305, allocations: 0 / 413.2 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2305, allocations: 0 / 413.2 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.2308, allocations: 243.5 kB / 413.4 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.2308, allocations: 85.02 kB / 413.5 MB, free: 24.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.2308, allocations: 11.98 kB / 413.5 MB, free: 24.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.2309, allocations: 4 kB / 413.5 MB, free: 24.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.2309, allocations: 7.984 kB / 413.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.231, allocations: 11.94 kB / 413.6 MB, free: 24.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.231, allocations: 110.3 kB / 413.7 MB, free: 24.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.231, allocations: 0 / 413.7 MB, free: 24.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.2313, allocations: 75.92 kB / 413.7 MB, free: 24.13 MB / 302.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.001121/0.2324, allocations: 437.2 kB / 414.2 MB, free: 23.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.2327, allocations: 191.3 kB / 414.3 MB, free: 23.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2327, allocations: 0 / 414.3 MB, free: 23.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2328, allocations: 139.4 kB / 414.5 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.2331, allocations: 15.98 kB / 414.5 MB, free: 23.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.2335, allocations: 261 kB / 414.8 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.761e-05/0.2336, allocations: 0.6924 MB / 415.4 MB, free: 22.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.2336, allocations: 19.42 kB / 415.5 MB, free: 22.42 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2336, allocations: 0 / 415.5 MB, free: 22.42 MB / 302.1 MB Notification: Performance of Templates: time 0.003998/0.2376, allocations: 2.596 MB / 418.1 MB, free: 19.82 MB / 302.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTestXPath.makefile (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 & ./ExternData_ExternData.Examples.XMLTestXPath -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1)