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.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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.001537/0.001537, allocations: 107.7 kB / 15.99 MB, free: 5.914 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.001498/0.001498, allocations: 196.5 kB / 16.91 MB, free: 5.754 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.557/1.557, allocations: 222.9 MB / 240.6 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01863/0.01863, allocations: 2.953 MB / 293.7 MB, free: 12.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.001971, allocations: 60.11 kB / 354.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2502, allocations: 50.34 MB / 405.2 MB, free: 32.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.00269/0.2529, allocations: 1.722 MB / 406.9 MB, free: 31.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2546, allocations: 1.569 MB / 408.5 MB, free: 29.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.2547, allocations: 0 / 408.5 MB, free: 29.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.255, allocations: 35.84 kB / 408.5 MB, free: 29.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.2553, allocations: 108.5 kB / 408.6 MB, free: 29.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.2555, allocations: 68.69 kB / 408.7 MB, free: 29.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.2556, allocations: 99.67 kB / 408.8 MB, free: 29.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.2557, allocations: 8.234 kB / 408.8 MB, free: 29.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.2558, allocations: 35.8 kB / 408.8 MB, free: 29.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.256, allocations: 43.83 kB / 408.8 MB, free: 29.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.256, allocations: 8 kB / 408.9 MB, free: 29.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.2562, allocations: 203.8 kB / 409.1 MB, free: 28.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.2563, allocations: 15.92 kB / 409.1 MB, free: 28.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.2564, allocations: 43.78 kB / 409.1 MB, free: 28.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.2566, allocations: 149.8 kB / 409.3 MB, free: 28.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2566, allocations: 0 / 409.3 MB, free: 28.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.2566, allocations: 0 / 409.3 MB, free: 28.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2566, allocations: 11.81 kB / 409.3 MB, free: 28.7 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.0005681/0.2572, allocations: 470.9 kB / 409.7 MB, free: 28.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2572, allocations: 11.89 kB / 409.7 MB, free: 28.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.2573, allocations: 8.844 kB / 409.8 MB, free: 28.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.2575, allocations: 196.2 kB / 409.9 MB, free: 27.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.2575, allocations: 8.375 kB / 410 MB, free: 27.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.2575, allocations: 4.125 kB / 410 MB, free: 27.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.2577, allocations: 103.2 kB / 410.1 MB, free: 27.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2577, allocations: 3.938 kB / 410.1 MB, free: 27.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2577, allocations: 8 kB / 410.1 MB, free: 27.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2577, allocations: 4 kB / 410.1 MB, free: 27.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.2578, allocations: 43.97 kB / 410.1 MB, free: 27.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.2582, allocations: 305.6 kB / 410.4 MB, free: 27.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.2584, allocations: 105.2 kB / 410.5 MB, free: 27.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.2585, allocations: 49.75 kB / 410.6 MB, free: 27.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2585, allocations: 4 kB / 410.6 MB, free: 27.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.2587, allocations: 142.9 kB / 410.7 MB, free: 27.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.2588, allocations: 0 / 410.7 MB, free: 27.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003905/0.2591, allocations: 231.1 kB / 410.9 MB, free: 26.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2592, allocations: 110.8 kB / 411 MB, free: 26.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.2593, allocations: 133.8 kB / 411.2 MB, free: 26.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.2593, allocations: 29.7 kB / 411.2 MB, free: 26.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.2593, allocations: 96.03 kB / 411.3 MB, free: 26.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.2594, allocations: 23.66 kB / 411.3 MB, free: 26.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.2594, allocations: 33.7 kB / 411.4 MB, free: 26.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.2595, allocations: 322.8 kB / 411.7 MB, free: 26.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.2595, allocations: 35.98 kB / 411.7 MB, free: 25.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.2596, allocations: 53.69 kB / 411.8 MB, free: 25.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2598, allocations: 153 kB / 411.9 MB, free: 25.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2598, allocations: 4 kB / 411.9 MB, free: 25.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002254/0.26, allocations: 191.3 kB / 412.1 MB, free: 25.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.26, allocations: 37.69 kB / 412.1 MB, free: 25.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2601, allocations: 48 / 412.1 MB, free: 25.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2601, allocations: 3.984 kB / 412.1 MB, free: 25.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.2601, allocations: 15.98 kB / 412.2 MB, free: 25.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2602, allocations: 4 kB / 412.2 MB, free: 25.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.2602, allocations: 7.938 kB / 412.2 MB, free: 25.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2602, allocations: 7.938 kB / 412.2 MB, free: 25.48 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.222e-05/0.2603, allocations: 155.5 kB / 412.3 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2604, allocations: 11.91 kB / 412.3 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.2604, allocations: 16.3 kB / 412.4 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2604, allocations: 0 / 412.4 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2604, allocations: 0 / 412.4 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2604, allocations: 4 kB / 412.4 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.2605, allocations: 205.4 kB / 412.6 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2605, allocations: 0 / 412.6 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.2606, allocations: 8 kB / 412.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2606, allocations: 4 kB / 412.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.2606, allocations: 12 kB / 412.6 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2606, allocations: 7.984 kB / 412.6 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2606, allocations: 0 / 412.6 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.2609, allocations: 243.4 kB / 412.8 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.2609, allocations: 88.95 kB / 412.9 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.261, allocations: 4 kB / 412.9 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.483e-05/0.261, allocations: 15.98 kB / 412.9 MB, free: 24.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.2611, allocations: 4 kB / 412.9 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2611, allocations: 7.938 kB / 412.9 MB, free: 24.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.105e-05/0.2612, allocations: 110.1 kB / 413 MB, free: 24.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2612, allocations: 0 / 413 MB, free: 24.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.2615, allocations: 75.98 kB / 413.1 MB, free: 24.41 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.001219/0.2627, allocations: 440.3 kB / 413.6 MB, free: 24.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.263, allocations: 195.3 kB / 413.7 MB, free: 23.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.263, allocations: 0 / 413.7 MB, free: 23.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.2631, allocations: 131.4 kB / 413.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.2633, allocations: 12 kB / 413.9 MB, free: 23.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.2637, allocations: 273 kB / 414.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.2638, allocations: 0.6963 MB / 414.8 MB, free: 22.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.2639, allocations: 19.44 kB / 414.9 MB, free: 22.69 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2639, allocations: 0 / 414.9 MB, free: 22.69 MB / 302.1 MB Notification: Performance of Templates: time 0.004215/0.2681, allocations: 2.591 MB / 417.5 MB, free: 20.11 MB / 302.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)