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.0009979/0.000998, allocations: 104.6 kB / 16.41 MB, free: 6.008 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.001016/0.001016, allocations: 185.5 kB / 17.34 MB, free: 5.629 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.0125/0.0125, allocations: 2.953 MB / 294.1 MB, free: 11.8 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 406.9 MB, free: 28.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.08666, allocations: 50.33 MB / 457.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002779/0.08949, allocations: 1.685 MB / 459 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.09152, allocations: 1.604 MB / 460.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.0916, allocations: 0 / 460.6 MB, free: 7.207 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.000351/0.09196, allocations: 47.72 kB / 460.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.09229, allocations: 127.4 kB / 460.7 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.09251, allocations: 89.89 kB / 460.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.09265, allocations: 95.69 kB / 460.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.373e-05/0.09274, allocations: 16.17 kB / 460.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.09282, allocations: 43.83 kB / 461 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.09298, allocations: 39.84 kB / 461 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.09301, allocations: 8 kB / 461 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.09329, allocations: 211.7 kB / 461.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.09335, allocations: 19.92 kB / 461.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.09341, allocations: 39.8 kB / 461.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.09372, allocations: 227.5 kB / 461.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.09373, allocations: 0 / 461.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09374, allocations: 0 / 461.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.09375, allocations: 0 / 461.5 MB, free: 6.258 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.0005526/0.0943, allocations: 464.8 kB / 462 MB, free: 5.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.09435, allocations: 11.89 kB / 462 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.0944, allocations: 12.84 kB / 462 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.09464, allocations: 192.2 kB / 462.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.09466, allocations: 4.375 kB / 462.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.09468, allocations: 8.125 kB / 462.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.09491, allocations: 95.31 kB / 462.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.09493, allocations: 4 kB / 462.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.09495, allocations: 4 kB / 462.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.09496, allocations: 0 / 462.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.0951, allocations: 51.97 kB / 462.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.09554, allocations: 309.6 kB / 462.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.09579, allocations: 101.2 kB / 462.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.09591, allocations: 69.7 kB / 462.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.09593, allocations: 0 / 462.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.09616, allocations: 142.7 kB / 462.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.09618, allocations: 0 / 462.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004461/0.09663, allocations: 227.2 kB / 463.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.09669, allocations: 106.8 kB / 463.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.09681, allocations: 145.2 kB / 463.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.09683, allocations: 25.7 kB / 463.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.09688, allocations: 92.14 kB / 463.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.09691, allocations: 27.64 kB / 463.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.09696, allocations: 29.7 kB / 463.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.09707, allocations: 318.8 kB / 463.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.09715, allocations: 43.97 kB / 463.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.09724, allocations: 49.64 kB / 464 MB, free: 3.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.09742, allocations: 157 kB / 464.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.09743, allocations: 0 / 464.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002644/0.09771, allocations: 191.2 kB / 464.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.09775, allocations: 41.69 kB / 464.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.09776, allocations: 0 / 464.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.09778, allocations: 0 / 464.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.09784, allocations: 12 kB / 464.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.09785, allocations: 3.938 kB / 464.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.339e-05/0.09792, allocations: 11.89 kB / 464.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.09794, allocations: 7.938 kB / 464.4 MB, free: 3.043 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.0001099/0.09806, allocations: 160.2 kB / 464.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.09809, allocations: 15.84 kB / 464.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.09812, allocations: 8.375 kB / 464.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.09813, allocations: 4 kB / 464.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.09814, allocations: 0 / 464.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.09814, allocations: 0 / 464.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.0983, allocations: 205.5 kB / 464.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.09831, allocations: 4 kB / 464.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.09837, allocations: 11.98 kB / 464.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.09837, allocations: 0 / 464.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.09839, allocations: 8 kB / 464.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.0984, allocations: 0 / 464.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0984, allocations: 0 / 464.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.09873, allocations: 243.4 kB / 465 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.09878, allocations: 89 kB / 465.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.09882, allocations: 8 kB / 465.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.09888, allocations: 8 kB / 465.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.09893, allocations: 11.92 kB / 465.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.09895, allocations: 7.938 kB / 465.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.54e-05/0.09902, allocations: 107.3 kB / 465.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09903, allocations: 3.938 kB / 465.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.09932, allocations: 75.98 kB / 465.3 MB, free: 1.98 MB / 334.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.0008284/0.1002, allocations: 440.3 kB / 465.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.1005, allocations: 187.3 kB / 466 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1005, allocations: 0 / 466 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1006, allocations: 143.3 kB / 466.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.1009, allocations: 15.94 kB / 466.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.1013, allocations: 257 kB / 466.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.1015, allocations: 0.6963 MB / 467.1 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.1016, allocations: 19.44 kB / 467.1 MB, free: 284 kB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1016, allocations: 0 / 467.1 MB, free: 284 kB / 334.1 MB Notification: Performance of Templates: time 0.004196/0.1058, allocations: 2.601 MB / 469.7 MB, free: 13.68 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)