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.001425/0.001425, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001649/0.001649, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01423/0.01423, allocations: 2.958 MB / 294.1 MB, free: 11.83 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 55.91 kB / 356.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.244, allocations: 50.34 MB / 406.4 MB, free: 32.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003122/0.2472, allocations: 1.676 MB / 408.1 MB, free: 30.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.2495, allocations: 1.712 MB / 409.8 MB, free: 29.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.2497, allocations: 0 / 409.8 MB, free: 29.27 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.0004254/0.2501, allocations: 47.7 kB / 409.9 MB, free: 29.22 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.0006279/0.2507, allocations: 171.2 kB / 410 MB, free: 29.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.251, allocations: 87.53 kB / 410.1 MB, free: 28.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.2512, allocations: 83.78 kB / 410.2 MB, free: 28.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.2514, allocations: 20.2 kB / 410.2 MB, free: 28.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2515, allocations: 39.8 kB / 410.3 MB, free: 28.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.2517, allocations: 43.83 kB / 410.3 MB, free: 28.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.2518, allocations: 8 kB / 410.3 MB, free: 28.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.2522, allocations: 263.6 kB / 410.6 MB, free: 28.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.2523, allocations: 23.92 kB / 410.6 MB, free: 28.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.2524, allocations: 35.73 kB / 410.6 MB, free: 28.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.253, allocations: 293.2 kB / 410.9 MB, free: 28.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.253, allocations: 0 / 410.9 MB, free: 28.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.253, allocations: 0 / 410.9 MB, free: 28.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.253, allocations: 0 / 410.9 MB, free: 28.18 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.0006274/0.2536, allocations: 480.8 kB / 411.4 MB, free: 27.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.2537, allocations: 11.89 kB / 411.4 MB, free: 27.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.2537, allocations: 8.844 kB / 411.4 MB, free: 27.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.2541, allocations: 215.1 kB / 411.6 MB, free: 27.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2541, allocations: 8.375 kB / 411.6 MB, free: 27.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.2541, allocations: 4.125 kB / 411.6 MB, free: 27.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.2543, allocations: 99.3 kB / 411.7 MB, free: 27.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2543, allocations: 0 / 411.7 MB, free: 27.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2544, allocations: 8 kB / 411.7 MB, free: 27.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2544, allocations: 4 kB / 411.7 MB, free: 27.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.2545, allocations: 55.89 kB / 411.8 MB, free: 27.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.2549, allocations: 301.7 kB / 412.1 MB, free: 26.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.2551, allocations: 101.2 kB / 412.2 MB, free: 26.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.2552, allocations: 61.73 kB / 412.2 MB, free: 26.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.2553, allocations: 0 / 412.2 MB, free: 26.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.2555, allocations: 134.7 kB / 412.4 MB, free: 26.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.2555, allocations: 4 kB / 412.4 MB, free: 26.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004296/0.2559, allocations: 231.3 kB / 412.6 MB, free: 26.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.256, allocations: 106.8 kB / 412.7 MB, free: 26.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2561, allocations: 154 kB / 412.9 MB, free: 25.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.2561, allocations: 25.7 kB / 412.9 MB, free: 25.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.2562, allocations: 96.06 kB / 413 MB, free: 25.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.2562, allocations: 23.62 kB / 413 MB, free: 25.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.2563, allocations: 33.7 kB / 413 MB, free: 25.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.2563, allocations: 322.8 kB / 413.3 MB, free: 25.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.2564, allocations: 39.91 kB / 413.4 MB, free: 25.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.2565, allocations: 49.7 kB / 413.4 MB, free: 25.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.2566, allocations: 157 kB / 413.6 MB, free: 25.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2566, allocations: 0 / 413.6 MB, free: 25.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002423/0.2569, allocations: 191.2 kB / 413.8 MB, free: 25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.2569, allocations: 33.69 kB / 413.8 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2569, allocations: 8 kB / 413.8 MB, free: 24.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.257, allocations: 0 / 413.8 MB, free: 24.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.257, allocations: 8 kB / 413.8 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.257, allocations: 0 / 413.8 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.2571, allocations: 19.83 kB / 413.8 MB, free: 24.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.2571, allocations: 11.94 kB / 413.9 MB, free: 24.91 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.818e-05/0.2572, allocations: 159.5 kB / 414 MB, free: 24.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.2572, allocations: 7.906 kB / 414 MB, free: 24.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.2573, allocations: 12.72 kB / 414 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2573, allocations: 0 / 414 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2573, allocations: 0 / 414 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2573, allocations: 4 kB / 414 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.2574, allocations: 205.5 kB / 414.2 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2574, allocations: 0 / 414.2 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.2575, allocations: 11.94 kB / 414.2 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2575, allocations: 4 kB / 414.2 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2575, allocations: 0 / 414.2 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2575, allocations: 8 kB / 414.3 MB, free: 24.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2575, allocations: 0 / 414.3 MB, free: 24.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.2578, allocations: 251.4 kB / 414.5 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.2579, allocations: 89.28 kB / 414.6 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.2579, allocations: 7.938 kB / 414.6 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.258, allocations: 7.984 kB / 414.6 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.258, allocations: 15.94 kB / 414.6 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.258, allocations: 11.92 kB / 414.6 MB, free: 24.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.604e-05/0.2581, allocations: 118.3 kB / 414.7 MB, free: 23.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2581, allocations: 0 / 414.7 MB, free: 23.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.2585, allocations: 91.98 kB / 414.8 MB, free: 23.81 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.001353/0.2598, allocations: 0.5917 MB / 415.4 MB, free: 23.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.2601, allocations: 191.3 kB / 415.6 MB, free: 23.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2601, allocations: 0 / 415.6 MB, free: 23.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.2603, allocations: 131.4 kB / 415.7 MB, free: 23.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.2605, allocations: 15.98 kB / 415.8 MB, free: 23.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.2609, allocations: 251.2 kB / 416 MB, free: 22.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.2611, allocations: 0.7079 MB / 416.7 MB, free: 22.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.74e-05/0.2611, allocations: 4 kB / 416.7 MB, free: 22.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.2612, allocations: 19.42 kB / 416.7 MB, free: 22.03 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2612, allocations: 0 / 416.7 MB, free: 22.03 MB / 302.1 MB Notification: Performance of Templates: time 0.006014/0.2672, allocations: 2.961 MB / 419.7 MB, free: 19.08 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 gbode -lv LOG_STATS > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1)