Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTest.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.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") translateModel(ExternData.Examples.XMLTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008851/0.0008851, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009873/0.0009873, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1212/0.1212, allocations: 2.952 MB / 295 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 8 kB / 357.1 MB, free: 3.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08036/0.08064, allocations: 51.35 MB / 408.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.00182/0.08247, allocations: 1.388 MB / 409.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.08457, allocations: 1.565 MB / 411.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.08464, allocations: 0 / 411.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.08493, allocations: 39.86 kB / 411.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.08522, allocations: 99.64 kB / 411.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.08544, allocations: 67.69 kB / 411.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.08556, allocations: 75.83 kB / 411.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.08568, allocations: 12.22 kB / 411.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.089e-05/0.08575, allocations: 39.78 kB / 411.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.08589, allocations: 35.84 kB / 411.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.08591, allocations: 4 kB / 411.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.0862, allocations: 199.7 kB / 412 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.08626, allocations: 19.86 kB / 412 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.08632, allocations: 57.5 kB / 412.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.0866, allocations: 163.9 kB / 412.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.08661, allocations: 0 / 412.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.08662, allocations: 0 / 412.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.985e-06/0.08663, allocations: 0 / 412.2 MB, free: 12.21 MB / 350.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.0004819/0.08711, allocations: 444.9 kB / 412.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.08715, allocations: 12.02 kB / 412.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.08719, allocations: 12.84 kB / 412.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.0874, allocations: 196.2 kB / 412.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.08744, allocations: 384 / 412.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.08747, allocations: 12.11 kB / 412.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.08768, allocations: 103.3 kB / 413 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.0877, allocations: 4 kB / 413 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.08771, allocations: 4 kB / 413 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.08772, allocations: 0 / 413 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.08787, allocations: 55.97 kB / 413.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.08827, allocations: 305.6 kB / 413.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.08852, allocations: 97.28 kB / 413.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.08864, allocations: 65.69 kB / 413.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.08866, allocations: 0 / 413.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.08887, allocations: 138.8 kB / 413.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.08889, allocations: 0 / 413.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00047/0.08936, allocations: 235.1 kB / 413.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.08943, allocations: 110.8 kB / 414 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.08954, allocations: 144.7 kB / 414.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.08957, allocations: 33.7 kB / 414.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.08962, allocations: 84.14 kB / 414.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.08966, allocations: 35.69 kB / 414.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.0897, allocations: 17.72 kB / 414.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.0898, allocations: 326.8 kB / 414.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.788e-05/0.08989, allocations: 43.92 kB / 414.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.09003, allocations: 53.69 kB / 414.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.09023, allocations: 149 kB / 414.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.09024, allocations: 0 / 414.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002974/0.09054, allocations: 199.1 kB / 415 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.09058, allocations: 39.41 kB / 415.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.09059, allocations: 0 / 415.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.09061, allocations: 4 kB / 415.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.09068, allocations: 15.92 kB / 415.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.0907, allocations: 0 / 415.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.09077, allocations: 12 kB / 415.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.09079, allocations: 7.938 kB / 415.1 MB, free: 9 MB / 350.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.0001495/0.09095, allocations: 155.5 kB / 415.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.09098, allocations: 11.91 kB / 415.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.09101, allocations: 12.36 kB / 415.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.09101, allocations: 0 / 415.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.09102, allocations: 4.328 kB / 415.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.09103, allocations: 0 / 415.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.09119, allocations: 201.5 kB / 415.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.0912, allocations: 4 kB / 415.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.09126, allocations: 8 kB / 415.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.09127, allocations: 7.922 kB / 415.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.09129, allocations: 12 kB / 415.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.0913, allocations: 3.984 kB / 415.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.09131, allocations: 0 / 415.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.09168, allocations: 247.5 kB / 415.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.09175, allocations: 88.95 kB / 415.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.09179, allocations: 16.05 kB / 415.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.09186, allocations: 12 kB / 415.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.0919, allocations: 3.984 kB / 415.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.09193, allocations: 7.938 kB / 415.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.984e-05/0.09201, allocations: 107.3 kB / 416 MB, free: 8.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09202, allocations: 0 / 416 MB, free: 8.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003/0.09232, allocations: 75.98 kB / 416.1 MB, free: 7.93 MB / 350.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.0008898/0.09322, allocations: 438.5 kB / 416.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.09357, allocations: 195.3 kB / 416.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.09358, allocations: 0 / 416.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.09374, allocations: 147.6 kB / 416.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.09397, allocations: 12 kB / 416.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.09443, allocations: 273.7 kB / 417.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.09467, allocations: 0.6965 MB / 417.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.09471, allocations: 19.42 kB / 417.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09472, allocations: 0 / 417.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of Templates: time 0.004514/0.09923, allocations: 2.573 MB / 420.4 MB, free: 3.633 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTest.makefile (rm -f ExternData_ExternData.Examples.XMLTest.pipe ; mkfifo ExternData_ExternData.Examples.XMLTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTest.pipe >> ../files/ExternData_ExternData.Examples.XMLTest.sim & ./ExternData_ExternData.Examples.XMLTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTest.pipe 2>&1)