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.001046/0.001046, allocations: 103.7 kB / 16.35 MB, free: 5.824 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.001014/0.001014, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01352/0.01352, allocations: 2.951 MB / 294.1 MB, free: 11.81 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.89 kB / 356.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2123, allocations: 50.34 MB / 406.4 MB, free: 32.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.002659/0.215, allocations: 1.68 MB / 408.1 MB, free: 30.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2168, allocations: 1.611 MB / 409.7 MB, free: 29.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.2168, 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.0003519/0.2172, allocations: 43.78 kB / 409.8 MB, free: 29.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.2175, allocations: 123.4 kB / 409.9 MB, free: 29.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.2177, allocations: 79.78 kB / 410 MB, free: 28.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.2178, allocations: 104.8 kB / 410.1 MB, free: 28.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.2179, allocations: 16.17 kB / 410.1 MB, free: 28.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.218, allocations: 39.84 kB / 410.1 MB, free: 28.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2182, allocations: 40.33 kB / 410.2 MB, free: 28.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2182, allocations: 8 kB / 410.2 MB, free: 28.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.2184, allocations: 207.7 kB / 410.4 MB, free: 28.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.2185, allocations: 19.92 kB / 410.4 MB, free: 28.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.261e-05/0.2186, allocations: 39.8 kB / 410.4 MB, free: 28.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2188, allocations: 231.3 kB / 410.7 MB, free: 28.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2188, allocations: 4 kB / 410.7 MB, free: 28.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2188, allocations: 0 / 410.7 MB, free: 28.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2189, 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.0004716/0.2193, allocations: 462.6 kB / 411.1 MB, free: 27.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.2194, allocations: 11.89 kB / 411.1 MB, free: 27.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.2194, allocations: 8.844 kB / 411.1 MB, free: 27.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.2196, allocations: 199.1 kB / 411.3 MB, free: 27.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2196, allocations: 4.375 kB / 411.3 MB, free: 27.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.2197, allocations: 12.12 kB / 411.3 MB, free: 27.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.2198, allocations: 95.31 kB / 411.4 MB, free: 27.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2199, allocations: 0 / 411.4 MB, free: 27.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2199, allocations: 4 kB / 411.4 MB, free: 27.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2199, allocations: 0 / 411.4 MB, free: 27.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.22, allocations: 55.95 kB / 411.5 MB, free: 27.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.2204, allocations: 309.6 kB / 411.8 MB, free: 26.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2206, allocations: 93.19 kB / 411.9 MB, free: 26.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.2207, allocations: 65.77 kB / 412 MB, free: 26.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.2207, allocations: 0 / 412 MB, free: 26.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.2209, allocations: 146.7 kB / 412.1 MB, free: 26.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.2209, allocations: 0 / 412.1 MB, free: 26.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003903/0.2213, allocations: 227.3 kB / 412.3 MB, free: 26.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.2213, allocations: 106.8 kB / 412.4 MB, free: 26.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.2214, allocations: 143.9 kB / 412.6 MB, free: 26.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.2214, allocations: 29.7 kB / 412.6 MB, free: 26.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.2215, allocations: 88.05 kB / 412.7 MB, free: 25.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.2215, allocations: 31.64 kB / 412.7 MB, free: 25.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.2215, allocations: 25.72 kB / 412.7 MB, free: 25.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.2216, allocations: 322.8 kB / 413.1 MB, free: 25.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.2217, allocations: 39.97 kB / 413.1 MB, free: 25.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.2218, allocations: 57.64 kB / 413.1 MB, free: 25.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2219, allocations: 145 kB / 413.3 MB, free: 25.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2219, allocations: 0 / 413.3 MB, free: 25.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002287/0.2221, allocations: 195.1 kB / 413.5 MB, free: 25.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.2222, allocations: 40.66 kB / 413.5 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2222, allocations: 0 / 413.5 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2222, allocations: 0 / 413.5 MB, free: 25.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.2223, allocations: 12 kB / 413.5 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2223, allocations: 7.938 kB / 413.5 MB, free: 25.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.2223, allocations: 11.92 kB / 413.6 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.2224, allocations: 11.94 kB / 413.6 MB, free: 25.04 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 8.844e-05/0.2225, allocations: 151.5 kB / 413.7 MB, free: 24.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.2225, allocations: 11.91 kB / 413.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.2225, allocations: 8.375 kB / 413.7 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2225, allocations: 4 kB / 413.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2225, allocations: 4 kB / 413.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2225, allocations: 3.938 kB / 413.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.2227, allocations: 213.4 kB / 414 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2227, allocations: 0 / 414 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.2227, allocations: 11.98 kB / 414 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2227, allocations: 0 / 414 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2228, allocations: 4 kB / 414 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2228, allocations: 0 / 414 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2228, allocations: 0 / 414 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.223, allocations: 247.4 kB / 414.2 MB, free: 24.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.2231, allocations: 93.33 kB / 414.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.2231, allocations: 4 kB / 414.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.2232, allocations: 4 kB / 414.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.2232, allocations: 15.97 kB / 414.3 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.2232, allocations: 7.938 kB / 414.3 MB, free: 24.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.067e-05/0.2233, allocations: 106.8 kB / 414.4 MB, free: 24.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2233, allocations: 0 / 414.4 MB, free: 24.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.2236, allocations: 83.86 kB / 414.5 MB, free: 23.97 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.0007852/0.2244, allocations: 424.3 kB / 414.9 MB, free: 23.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.2246, allocations: 187.3 kB / 415.1 MB, free: 23.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2247, allocations: 4 kB / 415.1 MB, free: 23.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.2248, allocations: 139.3 kB / 415.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.225, allocations: 19.92 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.0003734/0.2254, allocations: 243.3 kB / 415.5 MB, free: 23.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.2255, allocations: 0.6963 MB / 416.2 MB, free: 22.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.683e-05/0.2256, allocations: 11.98 kB / 416.2 MB, free: 22.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.2256, allocations: 11.44 kB / 416.2 MB, free: 22.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2256, allocations: 3.938 kB / 416.2 MB, free: 22.29 MB / 302.1 MB Notification: Performance of Templates: time 0.004752/0.2304, allocations: 2.56 MB / 418.8 MB, free: 19.74 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 cvode -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestXPath.pipe 2>&1)