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/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.007934/0.007934, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001603/0.001603, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1759/0.1759, allocations: 2.937 MB / 293.5 MB, free: 3.266 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 63.89 kB / 406.2 MB, free: 120 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3473, allocations: 50.34 MB / 456.6 MB, free: 28.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestXPath): time 0.00287/0.3502, allocations: 1.683 MB / 458.3 MB, free: 27.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3521, allocations: 1.607 MB / 459.9 MB, free: 25.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.3522, allocations: 3.125 kB / 459.9 MB, free: 25.96 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.000371/0.3526, allocations: 45.72 kB / 459.9 MB, free: 25.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.3529, allocations: 124 kB / 460 MB, free: 25.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.3532, allocations: 93.06 kB / 460.1 MB, free: 25.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3533, allocations: 87.73 kB / 460.2 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3534, allocations: 17.08 kB / 460.2 MB, free: 25.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/0.3535, allocations: 42.16 kB / 460.3 MB, free: 25.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.3537, allocations: 41.19 kB / 460.3 MB, free: 25.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.3537, allocations: 10.53 kB / 460.3 MB, free: 25.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.354, allocations: 202.7 kB / 460.5 MB, free: 25.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.3541, allocations: 27.66 kB / 460.6 MB, free: 25.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.3541, allocations: 33.47 kB / 460.6 MB, free: 25.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.3545, allocations: 235 kB / 460.8 MB, free: 25.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3545, allocations: 0 / 460.8 MB, free: 25.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3545, allocations: 0 / 460.8 MB, free: 25.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3545, allocations: 0 / 460.8 MB, free: 25.56 MB / 366.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.0005697/0.3551, allocations: 463.9 kB / 461.3 MB, free: 25.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3551, allocations: 13.2 kB / 461.3 MB, free: 25.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.3552, allocations: 11.38 kB / 461.3 MB, free: 25.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3554, allocations: 195.6 kB / 461.5 MB, free: 24.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3554, allocations: 3.5 kB / 461.5 MB, free: 24.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3555, allocations: 7.219 kB / 461.5 MB, free: 24.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.3557, allocations: 94.5 kB / 461.6 MB, free: 24.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3557, allocations: 7.922 kB / 461.6 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3557, allocations: 7.938 kB / 461.6 MB, free: 24.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3557, allocations: 3.125 kB / 461.6 MB, free: 24.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3558, allocations: 50.44 kB / 461.7 MB, free: 24.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.3562, allocations: 302 kB / 462 MB, free: 24.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.3564, allocations: 106.3 kB / 462.1 MB, free: 24.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.708e-05/0.3565, allocations: 56.72 kB / 462.1 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.3565, allocations: 7.266 kB / 462.1 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.3567, allocations: 147.7 kB / 462.3 MB, free: 24.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3567, allocations: 0 / 462.3 MB, free: 24.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004071/0.3571, allocations: 224.9 kB / 462.5 MB, free: 24.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.3572, allocations: 106.1 kB / 462.6 MB, free: 24.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.3573, allocations: 145.9 kB / 462.7 MB, free: 23.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.3573, allocations: 25.7 kB / 462.8 MB, free: 23.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.3573, allocations: 91.05 kB / 462.8 MB, free: 23.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3573, allocations: 26.3 kB / 462.9 MB, free: 23.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.3574, allocations: 27.45 kB / 462.9 MB, free: 23.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.3574, allocations: 325.2 kB / 463.2 MB, free: 23.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.3575, allocations: 44.06 kB / 463.3 MB, free: 23.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/0.3576, allocations: 49.39 kB / 463.3 MB, free: 23.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3578, allocations: 151.8 kB / 463.5 MB, free: 23.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3578, allocations: 0 / 463.5 MB, free: 23.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002382/0.358, allocations: 187.2 kB / 463.6 MB, free: 23.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.3581, allocations: 41.97 kB / 463.7 MB, free: 23.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3581, allocations: 3.938 kB / 463.7 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3581, allocations: 3.062 kB / 463.7 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.3581, allocations: 12.8 kB / 463.7 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3582, allocations: 0 / 463.7 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.3582, allocations: 14.09 kB / 463.7 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.3582, allocations: 6.875 kB / 463.7 MB, free: 23.13 MB / 366.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 9.315e-05/0.3583, allocations: 164.2 kB / 463.9 MB, free: 22.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3584, allocations: 10.09 kB / 463.9 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.3584, allocations: 8.375 kB / 463.9 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3584, allocations: 6.781 kB / 463.9 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3584, allocations: 3.938 kB / 463.9 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3584, allocations: 0 / 463.9 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3586, allocations: 203.2 kB / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3586, allocations: 0 / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.855e-05/0.3587, allocations: 12.03 kB / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3587, allocations: 336 / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3587, allocations: 6.938 kB / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3587, allocations: 0 / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3587, allocations: 3.062 kB / 464.1 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.359, allocations: 248.6 kB / 464.4 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.3591, allocations: 87.69 kB / 464.5 MB, free: 22.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.3591, allocations: 10.97 kB / 464.5 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.3592, allocations: 6.938 kB / 464.5 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.3592, allocations: 6.422 kB / 464.5 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.3593, allocations: 14.09 kB / 464.5 MB, free: 22.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.783e-05/0.3593, allocations: 107.5 kB / 464.6 MB, free: 22.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3593, allocations: 0 / 464.6 MB, free: 22.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.3596, allocations: 74.84 kB / 464.7 MB, free: 22.38 MB / 366.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.0008733/0.3605, allocations: 437.9 kB / 465.1 MB, free: 22.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.3608, allocations: 186.4 kB / 465.3 MB, free: 22.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3608, allocations: 3.25 kB / 465.3 MB, free: 22.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.361, allocations: 135.3 kB / 465.4 MB, free: 21.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3612, allocations: 17.56 kB / 465.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.3617, allocations: 247.2 kB / 465.7 MB, free: 21.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.3618, allocations: 0.6996 MB / 466.4 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.967e-05/0.3619, allocations: 3.219 kB / 466.4 MB, free: 21.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.3619, allocations: 17.3 kB / 466.4 MB, free: 21.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3619, allocations: 0 / 466.4 MB, free: 21.06 MB / 366.1 MB Notification: Performance of Templates: time 0.005257/0.3672, allocations: 2.559 MB / 469 MB, free: 20.8 MB / 366.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)