Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSXTest.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.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") translateModel(ExternData.Examples.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 106.6 kB / 16.37 MB, free: 6.008 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.001588/0.001588, allocations: 193.9 kB / 17.3 MB, free: 5.617 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.316/1.316, 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.01239/0.01239, allocations: 2.958 MB / 294.1 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.89 kB / 356.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1882, allocations: 50.33 MB / 406.4 MB, free: 32.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.002271/0.1906, allocations: 1.669 MB / 408.1 MB, free: 30.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1922, allocations: 1.701 MB / 409.8 MB, free: 29.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.1923, allocations: 0 / 409.8 MB, free: 29.09 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:221:3-248:15:writable] Warning: Pure function 'ExternData.XLSXFile' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1925, allocations: 55.7 kB / 409.9 MB, free: 29.03 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/Examples/package.mo:139:5-159:22:writable] Warning: Pure function 'ExternData.Examples.XLSXTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.1929, allocations: 163.3 kB / 410 MB, free: 28.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.1931, allocations: 88.28 kB / 410.1 MB, free: 28.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.1932, allocations: 99.67 kB / 410.2 MB, free: 28.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.1933, allocations: 8.234 kB / 410.2 MB, free: 28.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.1934, allocations: 43.86 kB / 410.3 MB, free: 28.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1935, allocations: 43.77 kB / 410.3 MB, free: 28.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1935, allocations: 8 kB / 410.3 MB, free: 28.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.1938, allocations: 255.7 kB / 410.6 MB, free: 28.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.1938, allocations: 27.86 kB / 410.6 MB, free: 28.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.1939, allocations: 43.72 kB / 410.6 MB, free: 28.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.1942, allocations: 291.2 kB / 410.9 MB, free: 27.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1942, allocations: 0 / 410.9 MB, free: 27.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1942, allocations: 0 / 410.9 MB, free: 27.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1942, allocations: 0 / 410.9 MB, free: 27.98 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.0004273/0.1947, allocations: 482.6 kB / 411.4 MB, free: 27.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.1947, allocations: 11.89 kB / 411.4 MB, free: 27.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1947, allocations: 12.84 kB / 411.4 MB, free: 27.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1949, allocations: 204.1 kB / 411.6 MB, free: 27.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1949, allocations: 8.359 kB / 411.6 MB, free: 27.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.195, allocations: 12.06 kB / 411.6 MB, free: 27.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1951, allocations: 95.31 kB / 411.7 MB, free: 27.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1951, allocations: 4 kB / 411.7 MB, free: 27.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1952, allocations: 4 kB / 411.7 MB, free: 27.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1952, allocations: 0 / 411.7 MB, free: 27.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1953, allocations: 47.97 kB / 411.8 MB, free: 27.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.1956, allocations: 309.7 kB / 412.1 MB, free: 26.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1958, allocations: 97.28 kB / 412.2 MB, free: 26.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.1959, allocations: 61.72 kB / 412.2 MB, free: 26.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1959, allocations: 0 / 412.2 MB, free: 26.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.1961, allocations: 142.7 kB / 412.4 MB, free: 26.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1961, allocations: 0 / 412.4 MB, free: 26.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.00037/0.1965, allocations: 231.3 kB / 412.6 MB, free: 26.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1965, allocations: 106.8 kB / 412.7 MB, free: 25.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.1966, allocations: 148.8 kB / 412.9 MB, free: 25.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.1966, allocations: 33.7 kB / 412.9 MB, free: 25.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.1966, allocations: 92.06 kB / 413 MB, free: 25.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.1967, allocations: 31.62 kB / 413 MB, free: 25.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.1967, allocations: 29.7 kB / 413 MB, free: 25.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.1968, allocations: 322.8 kB / 413.4 MB, free: 25.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.1968, allocations: 39.98 kB / 413.4 MB, free: 25.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.1969, allocations: 57.62 kB / 413.5 MB, free: 25.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1971, allocations: 149 kB / 413.6 MB, free: 25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1971, allocations: 4 kB / 413.6 MB, free: 25 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002348/0.1973, allocations: 187.5 kB / 413.8 MB, free: 24.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.1973, allocations: 40.5 kB / 413.8 MB, free: 24.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1973, allocations: 3.984 kB / 413.8 MB, free: 24.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1974, allocations: 0 / 413.8 MB, free: 24.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.1974, allocations: 12 kB / 413.8 MB, free: 24.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1974, allocations: 3.984 kB / 413.8 MB, free: 24.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.1975, allocations: 11.84 kB / 413.9 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1975, allocations: 11.94 kB / 413.9 MB, free: 24.72 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 7.072e-05/0.1976, allocations: 163.5 kB / 414 MB, free: 24.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.1976, allocations: 11.91 kB / 414 MB, free: 24.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.1977, allocations: 8.719 kB / 414 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1977, allocations: 4 kB / 414 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1977, allocations: 0 / 414 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1977, allocations: 3.984 kB / 414.1 MB, free: 24.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.678e-05/0.1978, allocations: 205.5 kB / 414.3 MB, free: 24.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1978, allocations: 0 / 414.3 MB, free: 24.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.1978, allocations: 8 kB / 414.3 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1978, allocations: 4 kB / 414.3 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1979, allocations: 4 kB / 414.3 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1979, allocations: 3.984 kB / 414.3 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1979, allocations: 0 / 414.3 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1982, allocations: 251.4 kB / 414.5 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.1982, allocations: 88.95 kB / 414.6 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1982, allocations: 8 kB / 414.6 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.796e-05/0.1983, allocations: 7.984 kB / 414.6 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.1983, allocations: 8 kB / 414.6 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.1983, allocations: 7.938 kB / 414.6 MB, free: 23.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.103e-05/0.1984, allocations: 117.9 kB / 414.8 MB, free: 23.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1984, allocations: 0 / 414.8 MB, free: 23.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000301/0.1987, allocations: 91.98 kB / 414.8 MB, free: 23.63 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.00119/0.1999, allocations: 0.5892 MB / 415.4 MB, free: 23.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.2002, allocations: 187.3 kB / 415.6 MB, free: 23.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2002, allocations: 0 / 415.6 MB, free: 23.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.2003, allocations: 135.4 kB / 415.7 MB, free: 22.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.2005, allocations: 22.3 kB / 415.8 MB, free: 22.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.2009, allocations: 255.1 kB / 416 MB, free: 22.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.585e-05/0.201, allocations: 0.704 MB / 416.7 MB, free: 21.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.201, allocations: 15.97 kB / 416.7 MB, free: 21.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.2011, allocations: 11.44 kB / 416.7 MB, free: 21.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2011, allocations: 4 kB / 416.8 MB, free: 21.84 MB / 302.1 MB Notification: Performance of Templates: time 0.004926/0.206, allocations: 2.95 MB / 419.7 MB, free: 18.89 MB / 302.1 MB make -j1 -f ExternData_ExternData.Examples.XLSXTest.makefile (rm -f ExternData_ExternData.Examples.XLSXTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSXTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSXTest.pipe >> ../files/ExternData_ExternData.Examples.XLSXTest.sim & ./ExternData_ExternData.Examples.XLSXTest -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1)