Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSTest.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.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001037/0.001037, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01395/0.01395, allocations: 2.952 MB / 294.1 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 55.91 kB / 356.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2387, allocations: 50.33 MB / 406.5 MB, free: 32.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003247/0.242, allocations: 1.668 MB / 408.1 MB, free: 30.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.2441, allocations: 1.713 MB / 409.8 MB, free: 29.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.2442, allocations: 3.938 kB / 409.8 MB, free: 29.06 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo:191:3-219:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.2446, allocations: 43.78 kB / 409.9 MB, free: 29.02 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/Examples/package.mo:101:5-121:22:writable] Warning: Pure function 'ExternData.Examples.XLSTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.2451, allocations: 171.2 kB / 410 MB, free: 28.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.2454, allocations: 96.39 kB / 410.1 MB, free: 28.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.2455, allocations: 87.77 kB / 410.2 MB, free: 28.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.2456, allocations: 11.98 kB / 410.2 MB, free: 28.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.2457, allocations: 43.78 kB / 410.3 MB, free: 28.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2459, allocations: 47.77 kB / 410.3 MB, free: 28.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2459, allocations: 8 kB / 410.3 MB, free: 28.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.2462, allocations: 267.6 kB / 410.6 MB, free: 28.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.2463, allocations: 23.92 kB / 410.6 MB, free: 28.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.2464, allocations: 43.73 kB / 410.7 MB, free: 28.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.2468, allocations: 307.1 kB / 411 MB, free: 27.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2468, allocations: 0 / 411 MB, free: 27.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2468, allocations: 0 / 411 MB, free: 27.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.2468, allocations: 0 / 411 MB, free: 27.94 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.0005147/0.2473, allocations: 478.6 kB / 411.4 MB, free: 27.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2474, allocations: 11.89 kB / 411.4 MB, free: 27.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.2474, allocations: 8.844 kB / 411.5 MB, free: 27.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.2477, allocations: 216.1 kB / 411.7 MB, free: 27.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2477, allocations: 4.375 kB / 411.7 MB, free: 27.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.2477, allocations: 8.125 kB / 411.7 MB, free: 27.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.2479, allocations: 99.25 kB / 411.8 MB, free: 27.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2479, allocations: 3.984 kB / 411.8 MB, free: 27.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.248, allocations: 4 kB / 411.8 MB, free: 27.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.248, allocations: 0 / 411.8 MB, free: 27.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.2481, allocations: 59.95 kB / 411.8 MB, free: 26.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.2484, allocations: 305.7 kB / 412.1 MB, free: 26.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.2486, allocations: 97.22 kB / 412.2 MB, free: 26.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.685e-05/0.2487, allocations: 61.73 kB / 412.3 MB, free: 26.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.2488, allocations: 4 kB / 412.3 MB, free: 26.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.2489, allocations: 134.6 kB / 412.4 MB, free: 26.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.2489, allocations: 4 kB / 412.4 MB, free: 26.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003903/0.2493, allocations: 231.3 kB / 412.7 MB, free: 26.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2494, allocations: 114.8 kB / 412.8 MB, free: 25.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.2495, allocations: 152.5 kB / 412.9 MB, free: 25.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.2495, allocations: 29.7 kB / 412.9 MB, free: 25.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.2495, allocations: 96.06 kB / 413 MB, free: 25.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.2496, allocations: 23.62 kB / 413.1 MB, free: 25.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.2496, allocations: 33.7 kB / 413.1 MB, free: 25.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.2497, allocations: 326.8 kB / 413.4 MB, free: 25.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.2498, allocations: 43.98 kB / 413.5 MB, free: 25.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.2498, allocations: 53.69 kB / 413.5 MB, free: 25.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.25, allocations: 145 kB / 413.7 MB, free: 24.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.25, allocations: 0 / 413.7 MB, free: 24.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002344/0.2502, allocations: 195 kB / 413.8 MB, free: 24.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.2503, allocations: 37.69 kB / 413.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2503, allocations: 4 kB / 413.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2503, allocations: 0 / 413.9 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.2504, allocations: 11.98 kB / 413.9 MB, free: 24.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2504, allocations: 4.312 kB / 413.9 MB, free: 24.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.2504, allocations: 15.81 kB / 413.9 MB, free: 24.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2505, allocations: 8 kB / 413.9 MB, free: 24.66 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.988e-05/0.2506, allocations: 155.5 kB / 414.1 MB, free: 24.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.2506, allocations: 11.91 kB / 414.1 MB, free: 24.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.2506, allocations: 12.7 kB / 414.1 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2506, allocations: 8 kB / 414.1 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2506, allocations: 0 / 414.1 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2506, allocations: 3.938 kB / 414.1 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2507, allocations: 205.5 kB / 414.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2508, allocations: 0 / 414.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.2508, allocations: 8 kB / 414.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2508, allocations: 3.984 kB / 414.3 MB, free: 24.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2508, allocations: 8 kB / 414.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2508, allocations: 0 / 414.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2508, allocations: 3.984 kB / 414.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.2511, allocations: 251.8 kB / 414.6 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.2512, allocations: 84.95 kB / 414.7 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.2512, allocations: 7.984 kB / 414.7 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.2513, allocations: 4 kB / 414.7 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.2513, allocations: 23.84 kB / 414.7 MB, free: 23.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2513, allocations: 4 kB / 414.7 MB, free: 23.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.198e-05/0.2514, allocations: 121.1 kB / 414.8 MB, free: 23.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2514, allocations: 0 / 414.8 MB, free: 23.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.2517, allocations: 95.97 kB / 414.9 MB, free: 23.55 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.0008635/0.2526, allocations: 465.1 kB / 415.4 MB, free: 23.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.2529, allocations: 199.2 kB / 415.6 MB, free: 23.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2529, allocations: 0 / 415.6 MB, free: 23.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.253, allocations: 135.4 kB / 415.7 MB, free: 22.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.2532, allocations: 18.56 kB / 415.7 MB, free: 22.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.2536, allocations: 247.3 kB / 416 MB, free: 22.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.2538, allocations: 0.7002 MB / 416.7 MB, free: 21.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.2538, allocations: 4 kB / 416.7 MB, free: 21.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.2539, allocations: 19.42 kB / 416.7 MB, free: 21.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2539, allocations: 0 / 416.7 MB, free: 21.84 MB / 302.1 MB Notification: Performance of Templates: time 0.005492/0.2594, allocations: 2.999 MB / 419.7 MB, free: 18.85 MB / 302.1 MB make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile (rm -f ExternData_ExternData.Examples.XLSTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSTest.pipe >> ../files/ExternData_ExternData.Examples.XLSTest.sim & ./ExternData_ExternData.Examples.XLSTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ExternData_ExternData.Examples.XLSTest.pipe 2>&1)