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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.01138/0.01138, allocations: 2.944 MB / 19.67 MB, free: 2.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 222.9 MB / 244.3 MB, free: 7.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009995/0.0009992, allocations: 101 kB / 295.4 MB, free: 7.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 52.14 kB / 356.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2103, allocations: 50.33 MB / 406.8 MB, free: 29.04 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTest): time 0.00246/0.2128, allocations: 1.725 MB / 408.5 MB, free: 27.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.2145, allocations: 1.599 MB / 410.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.2146, allocations: 0 / 410.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.2148, allocations: 31.86 kB / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.215, allocations: 103.6 kB / 410.2 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.2152, allocations: 67.86 kB / 410.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.096e-05/0.2153, allocations: 75.78 kB / 410.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.2154, allocations: 11.41 kB / 410.4 MB, free: 25.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.2155, allocations: 43.78 kB / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.2156, allocations: 31.84 kB / 410.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2156, allocations: 4 kB / 410.5 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.2158, allocations: 199.7 kB / 410.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.2159, allocations: 19.92 kB / 410.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.2159, allocations: 35.73 kB / 410.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.2162, allocations: 229.6 kB / 410.9 MB, free: 24.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2162, allocations: 0 / 410.9 MB, free: 24.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2162, allocations: 0 / 410.9 MB, free: 24.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.2162, allocations: 0 / 410.9 MB, free: 24.87 MB / 298.7 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.0004554/0.2167, allocations: 456.8 kB / 411.4 MB, free: 24.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2167, allocations: 12.03 kB / 411.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.2168, allocations: 8.844 kB / 411.4 MB, free: 24.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2169, allocations: 204.7 kB / 411.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.2169, allocations: 384 / 411.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.217, allocations: 12.12 kB / 411.6 MB, free: 24.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.2171, allocations: 95.31 kB / 411.7 MB, free: 23.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2171, allocations: 4 kB / 411.7 MB, free: 23.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2172, allocations: 0 / 411.7 MB, free: 23.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2172, allocations: 0 / 411.7 MB, free: 23.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.2173, allocations: 55.91 kB / 411.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.2176, allocations: 305.6 kB / 412.1 MB, free: 23.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.2178, allocations: 97.22 kB / 412.2 MB, free: 23.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.2179, allocations: 61.73 kB / 412.2 MB, free: 23.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.2179, allocations: 4 kB / 412.2 MB, free: 23.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.2181, allocations: 134.9 kB / 412.4 MB, free: 23.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.2181, allocations: 0 / 412.4 MB, free: 23.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004132/0.2186, allocations: 227.2 kB / 412.6 MB, free: 23.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.2186, allocations: 110.7 kB / 412.7 MB, free: 22.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.2187, allocations: 145.5 kB / 412.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2187, allocations: 29.7 kB / 412.9 MB, free: 22.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.2188, allocations: 92.05 kB / 413 MB, free: 22.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.2188, allocations: 27.64 kB / 413 MB, free: 22.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.2188, allocations: 21.72 kB / 413 MB, free: 22.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.2189, allocations: 330.7 kB / 413.3 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.219, allocations: 35.98 kB / 413.4 MB, free: 22.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.219, allocations: 53.69 kB / 413.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.2192, allocations: 149 kB / 413.6 MB, free: 21.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2192, allocations: 0 / 413.6 MB, free: 21.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002269/0.2194, allocations: 191.1 kB / 413.8 MB, free: 21.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.2195, allocations: 37.7 kB / 413.8 MB, free: 21.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2195, allocations: 3.938 kB / 413.8 MB, free: 21.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2195, allocations: 0 / 413.8 MB, free: 21.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.72e-05/0.2196, allocations: 19.98 kB / 413.8 MB, free: 21.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2196, allocations: 320 / 413.8 MB, free: 21.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.2196, allocations: 8.266 kB / 413.8 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.2197, allocations: 7.938 kB / 413.8 MB, free: 21.67 MB / 298.7 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.698e-05/0.2198, allocations: 159.5 kB / 414 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.2198, allocations: 15.89 kB / 414 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.2198, allocations: 12.36 kB / 414 MB, free: 21.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2198, allocations: 8 kB / 414 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2198, allocations: 0 / 414 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.2199, allocations: 4 kB / 414 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.22, allocations: 205.5 kB / 414.2 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.22, allocations: 0 / 414.2 MB, free: 21.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.2201, allocations: 8 kB / 414.2 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.2201, allocations: 3.984 kB / 414.2 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2201, allocations: 7.938 kB / 414.2 MB, free: 21.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2201, allocations: 0 / 414.2 MB, free: 21.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2201, allocations: 3.984 kB / 414.2 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.2206, allocations: 0.8566 MB / 415.1 MB, free: 20.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.2206, allocations: 85.02 kB / 415.2 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.2206, allocations: 7.938 kB / 415.2 MB, free: 20.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.539e-05/0.2207, allocations: 7.984 kB / 415.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.2208, allocations: 8 kB / 415.2 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.2208, allocations: 4 kB / 415.2 MB, free: 20.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.804e-05/0.2208, allocations: 111.2 kB / 415.3 MB, free: 20.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2208, allocations: 0 / 415.3 MB, free: 20.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003582/0.2212, allocations: 75.98 kB / 415.4 MB, free: 19.95 MB / 298.7 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.0007762/0.222, allocations: 443.6 kB / 415.8 MB, free: 19.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.2222, allocations: 191.3 kB / 416 MB, free: 19.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2223, allocations: 0 / 416 MB, free: 19.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.2224, allocations: 139.4 kB / 416.2 MB, free: 19.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.2226, allocations: 15.94 kB / 416.2 MB, free: 19.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.2231, allocations: 399.7 kB / 416.6 MB, free: 18.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.2232, allocations: 0.7043 MB / 417.3 MB, free: 18.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.628e-05/0.2233, allocations: 4 kB / 417.3 MB, free: 18.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.2233, allocations: 23.42 kB / 417.3 MB, free: 18.08 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2233, allocations: 0 / 417.3 MB, free: 18.08 MB / 298.7 MB Notification: Performance of Templates: time 0.004427/0.2278, allocations: 2.483 MB / 419.8 MB, free: 15.61 MB / 298.7 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)