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: 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.001165/0.001165, allocations: 110.1 kB / 16.37 MB, free: 5.539 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.001578/0.001578, allocations: 197.5 kB / 17.31 MB, free: 5.18 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.0142/0.0142, allocations: 2.953 MB / 294.1 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.91 kB / 356.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2432, allocations: 50.33 MB / 406.5 MB, free: 32.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.003067/0.2464, allocations: 1.675 MB / 408.1 MB, free: 30.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.2484, allocations: 1.607 MB / 409.7 MB, free: 29.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.2484, allocations: 0 / 409.7 MB, free: 29.18 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.0003869/0.2488, allocations: 43.77 kB / 409.8 MB, free: 29.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.2491, allocations: 123.5 kB / 409.9 MB, free: 29.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.2494, allocations: 84.28 kB / 410 MB, free: 28.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.2496, allocations: 103.7 kB / 410.1 MB, free: 28.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.2498, allocations: 16.22 kB / 410.1 MB, free: 28.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.733e-05/0.2499, allocations: 35.86 kB / 410.1 MB, free: 28.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.2501, allocations: 43.83 kB / 410.2 MB, free: 28.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.2501, allocations: 4 kB / 410.2 MB, free: 28.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.2503, allocations: 207.7 kB / 410.4 MB, free: 28.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.2504, allocations: 23.92 kB / 410.4 MB, free: 28.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.2505, allocations: 35.8 kB / 410.4 MB, free: 28.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.2508, allocations: 235.3 kB / 410.7 MB, free: 28.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2508, allocations: 0 / 410.7 MB, free: 28.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2508, allocations: 0 / 410.7 MB, free: 28.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2508, allocations: 0 / 410.7 MB, free: 28.25 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.0007804/0.2516, allocations: 458.7 kB / 411.1 MB, free: 27.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.2516, allocations: 19.83 kB / 411.1 MB, free: 27.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.2517, allocations: 12.84 kB / 411.2 MB, free: 27.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.252, allocations: 199.9 kB / 411.3 MB, free: 27.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.252, allocations: 8.375 kB / 411.4 MB, free: 27.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.2521, allocations: 8.125 kB / 411.4 MB, free: 27.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.2523, allocations: 91.31 kB / 411.5 MB, free: 27.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.2523, allocations: 4 kB / 411.5 MB, free: 27.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.2523, allocations: 7.938 kB / 411.5 MB, free: 27.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2524, allocations: 4 kB / 411.5 MB, free: 27.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.2526, allocations: 51.95 kB / 411.5 MB, free: 27.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.2531, allocations: 305.6 kB / 411.8 MB, free: 26.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.2533, allocations: 101.3 kB / 411.9 MB, free: 26.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.2535, allocations: 57.69 kB / 412 MB, free: 26.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.2535, allocations: 0 / 412 MB, free: 26.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.2537, allocations: 134.8 kB / 412.1 MB, free: 26.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.2537, allocations: 4 kB / 412.1 MB, free: 26.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004739/0.2542, allocations: 231.5 kB / 412.3 MB, free: 26.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.2543, allocations: 106.8 kB / 412.4 MB, free: 26.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2544, allocations: 140.9 kB / 412.6 MB, free: 26.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.2544, allocations: 25.7 kB / 412.6 MB, free: 26.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.2544, allocations: 100 kB / 412.7 MB, free: 25.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.2545, allocations: 23.66 kB / 412.7 MB, free: 25.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.2545, allocations: 25.7 kB / 412.7 MB, free: 25.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.2546, allocations: 330.8 kB / 413.1 MB, free: 25.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.2547, allocations: 35.92 kB / 413.1 MB, free: 25.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.2547, allocations: 53.69 kB / 413.2 MB, free: 25.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.2549, allocations: 149.3 kB / 413.3 MB, free: 25.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2549, allocations: 0 / 413.3 MB, free: 25.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002665/0.2552, allocations: 195 kB / 413.5 MB, free: 25.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.2552, allocations: 37.69 kB / 413.5 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2553, allocations: 80 / 413.5 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2553, allocations: 3.938 kB / 413.5 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.2554, allocations: 19.94 kB / 413.6 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2554, allocations: 7.969 kB / 413.6 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.2555, allocations: 7.938 kB / 413.6 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.2555, allocations: 7.938 kB / 413.6 MB, free: 25.03 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 0.0001189/0.2557, allocations: 151.5 kB / 413.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.2557, allocations: 19.91 kB / 413.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.2557, allocations: 8.375 kB / 413.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2557, allocations: 4 kB / 413.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2558, allocations: 0 / 413.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2558, allocations: 3.984 kB / 413.8 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.2559, allocations: 205.4 kB / 414 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2559, allocations: 0 / 414 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.256, allocations: 8 kB / 414 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.256, allocations: 0 / 414 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.256, allocations: 8 kB / 414 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.256, allocations: 8 kB / 414 MB, free: 24.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.256, allocations: 0 / 414 MB, free: 24.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.2563, allocations: 247.4 kB / 414.2 MB, free: 24.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.2563, allocations: 88.95 kB / 414.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.2564, allocations: 4 kB / 414.3 MB, free: 24.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.2564, allocations: 11.98 kB / 414.3 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.2565, allocations: 8 kB / 414.3 MB, free: 24.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.2565, allocations: 7.938 kB / 414.3 MB, free: 24.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.975e-05/0.2566, allocations: 107.2 kB / 414.4 MB, free: 24.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2566, allocations: 0 / 414.4 MB, free: 24.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.2569, allocations: 79.98 kB / 414.5 MB, free: 23.96 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.0008232/0.2577, allocations: 435.4 kB / 415 MB, free: 23.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.258, allocations: 187.3 kB / 415.1 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.258, allocations: 4 kB / 415.1 MB, free: 23.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.2582, allocations: 135.3 kB / 415.3 MB, free: 23.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.2584, allocations: 12 kB / 415.3 MB, free: 23.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.2588, allocations: 251.2 kB / 415.5 MB, free: 23.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.259, allocations: 0.7002 MB / 416.2 MB, free: 22.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.75e-05/0.259, allocations: 4 kB / 416.2 MB, free: 22.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.2591, allocations: 23.42 kB / 416.3 MB, free: 22.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2591, allocations: 0 / 416.3 MB, free: 22.27 MB / 302.1 MB Notification: Performance of Templates: time 0.005105/0.2642, allocations: 2.552 MB / 418.8 MB, free: 19.73 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 -s gbode -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1)