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.001032/0.001032, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001013/0.001013, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01185/0.01185, allocations: 2.963 MB / 294.2 MB, free: 11.8 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 406.9 MB, free: 28.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.068/0.06923, allocations: 50.34 MB / 457.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002559/0.0718, allocations: 1.669 MB / 459 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.07386, allocations: 1.619 MB / 460.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.07394, allocations: 0 / 460.6 MB, free: 7.086 MB / 334.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.0003085/0.07425, allocations: 47.78 kB / 460.6 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.07459, allocations: 123.4 kB / 460.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.07482, allocations: 83.77 kB / 460.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.07496, allocations: 95.7 kB / 460.9 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.07505, allocations: 16.17 kB / 460.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.07513, allocations: 43.83 kB / 461 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.07528, allocations: 35.84 kB / 461 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.07531, allocations: 8 kB / 461 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.07561, allocations: 211.7 kB / 461.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.07567, allocations: 19.92 kB / 461.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.07573, allocations: 39.8 kB / 461.3 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.07606, allocations: 227.5 kB / 461.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.07607, allocations: 0 / 461.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.07608, allocations: 4 kB / 461.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.07609, allocations: 0 / 461.5 MB, free: 6.145 MB / 334.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.0005272/0.07662, allocations: 460.8 kB / 462 MB, free: 5.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.07666, allocations: 11.89 kB / 462 MB, free: 5.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.07672, allocations: 8.844 kB / 462 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.07693, allocations: 196.2 kB / 462.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.07695, allocations: 8.375 kB / 462.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.07697, allocations: 4.125 kB / 462.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.07719, allocations: 107.2 kB / 462.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.07721, allocations: 0 / 462.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.07723, allocations: 0 / 462.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.07724, allocations: 4 kB / 462.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.07738, allocations: 51.91 kB / 462.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.07774, allocations: 317.5 kB / 462.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.07798, allocations: 101.2 kB / 462.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.07809, allocations: 61.84 kB / 462.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.07811, allocations: 4 kB / 462.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.0783, allocations: 142.8 kB / 463 MB, free: 4.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.07831, allocations: 0 / 463 MB, free: 4.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004317/0.07875, allocations: 223.2 kB / 463.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.07881, allocations: 106.8 kB / 463.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.07892, allocations: 140.8 kB / 463.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.07895, allocations: 33.7 kB / 463.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.07899, allocations: 88.14 kB / 463.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.07903, allocations: 27.64 kB / 463.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.07908, allocations: 29.72 kB / 463.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.07918, allocations: 322.8 kB / 463.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.07928, allocations: 39.97 kB / 463.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.07937, allocations: 53.64 kB / 464 MB, free: 3.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.07955, allocations: 149 kB / 464.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.07956, allocations: 0 / 464.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002883/0.07986, allocations: 191.2 kB / 464.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.0799, allocations: 37.69 kB / 464.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.07991, allocations: 0 / 464.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.07993, allocations: 0 / 464.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.07999, allocations: 8 kB / 464.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.08001, allocations: 7.938 kB / 464.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.08009, allocations: 15.89 kB / 464.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.08011, allocations: 4 kB / 464.4 MB, free: 2.934 MB / 334.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.0001063/0.08022, allocations: 172 kB / 464.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.08025, allocations: 7.906 kB / 464.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.08028, allocations: 12.38 kB / 464.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.08029, allocations: 0 / 464.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.0803, allocations: 0 / 464.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.08035, allocations: 92.94 kB / 464.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.08038, allocations: 11.94 kB / 464.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.08045, allocations: 8 kB / 464.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.0805, allocations: 7.984 kB / 464.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003941/0.0809, allocations: 421.2 kB / 465.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000402/0.08131, allocations: 456 kB / 465.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001133/0.08144, allocations: 79.89 kB / 465.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.967e-05/0.08151, allocations: 111.2 kB / 465.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of Backend: time 2.1e-07/0.08152, allocations: 0 / 465.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.08281, allocations: 0.5308 MB / 466.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005272/0.08335, allocations: 0.7131 MB / 467 MB, free: 312 kB / 334.1 MB Notification: Performance of Templates: time 0.005269/0.08863, allocations: 2.658 MB / 469.6 MB, free: 13.66 MB / 350.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)