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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007196/0.0007196, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008963/0.001616, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006789/0.0006789, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008248/0.001504, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9978/0.9978, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08127/1.079, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01006/0.01006, allocations: 2.259 MB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001969/0.01203, allocations: 1.424 MB / 247.6 MB, free: 11.16 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") translateModel(ExternData.Examples.XLSXTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSXTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 248.9 MB, free: 9.906 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033e-05/1.141e-05, allocations: 10.25 kB / 248.9 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.001749/0.00176, allocations: 1.768 MB / 250.7 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.003524, allocations: 1.858 MB / 252.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.003569, allocations: 0 / 252.5 MB, free: 6.25 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:209:3-236:15:writable] Warning: Pure function 'ExternData.XLSXFile' contains a call to impure function 'ExternData.Types.ExternXLSXFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.003742, allocations: 43.78 kB / 252.6 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.004, allocations: 163.1 kB / 252.7 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.004123, allocations: 87.64 kB / 252.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.004224, allocations: 83.77 kB / 252.9 MB, free: 5.879 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.938e-05/0.004283, allocations: 12.22 kB / 252.9 MB, free: 5.863 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.004367, allocations: 67.83 kB / 253 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.004439, allocations: 35.91 kB / 253 MB, free: 5.762 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.004452, allocations: 4 kB / 253 MB, free: 5.758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.004684, allocations: 247.5 kB / 253.3 MB, free: 5.516 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.00472, allocations: 19.98 kB / 253.3 MB, free: 5.496 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.004749, allocations: 15.94 kB / 253.3 MB, free: 5.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.004988, allocations: 247.2 kB / 253.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.004999, allocations: 0 / 253.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005, allocations: 0 / 253.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.005016, allocations: 0 / 253.5 MB, free: 5.238 MB / 250.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.0003982/0.005414, allocations: 409.2 kB / 253.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.249e-05/0.005437, allocations: 8.031 kB / 254 MB, free: 4.801 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.005468, allocations: 12.92 kB / 254 MB, free: 4.789 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.005593, allocations: 137.6 kB / 254.1 MB, free: 4.629 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.005601, allocations: 4.375 kB / 254.1 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.005609, allocations: 384 / 254.1 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.005725, allocations: 121.2 kB / 254.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.005732, allocations: 3.938 kB / 254.2 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.005739, allocations: 4 kB / 254.2 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005744, allocations: 4 kB / 254.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.005791, allocations: 60.44 kB / 254.3 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.005965, allocations: 183.9 kB / 254.5 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.006092, allocations: 98.84 kB / 254.6 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.006127, allocations: 59.55 kB / 254.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.006137, allocations: 0 / 254.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.006249, allocations: 155.3 kB / 254.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 6.02e-07/0.006249, allocations: 0 / 254.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001574/0.006407, allocations: 193.5 kB / 255 MB, free: 3.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.006442, allocations: 106.8 kB / 255.1 MB, free: 3.488 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.006504, allocations: 138.7 kB / 255.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.006514, allocations: 29.64 kB / 255.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.223e-05/0.006537, allocations: 92.08 kB / 255.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.00656, allocations: 35.77 kB / 255.4 MB, free: 3.176 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.00659, allocations: 17.72 kB / 255.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003027/0.006893, allocations: 326.8 kB / 255.7 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.006922, allocations: 48.52 kB / 255.7 MB, free: 2.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.006959, allocations: 59.41 kB / 255.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.359e-05/0.007022, allocations: 115.8 kB / 255.9 MB, free: 2.566 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.007023, allocations: 0 / 255.9 MB, free: 2.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.624e-05/0.00711, allocations: 147.8 kB / 256.1 MB, free: 2.402 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.007136, allocations: 37.69 kB / 256.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.00714, allocations: 4 kB / 256.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.007146, allocations: 4.328 kB / 256.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.539e-05/0.007192, allocations: 19.92 kB / 256.1 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.007195, allocations: 4 kB / 256.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.051e-05/0.007225, allocations: 7.953 kB / 256.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.007231, allocations: 0 / 256.1 MB, free: 2.32 MB / 250.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 6.352e-05/0.007295, allocations: 162.3 kB / 256.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.007311, allocations: 15.92 kB / 256.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.782e-05/0.007328, allocations: 12.78 kB / 256.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00733, allocations: 0 / 256.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.007331, allocations: 0 / 256.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.007334, allocations: 4 kB / 256.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.421e-05/0.007398, allocations: 81.88 kB / 256.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.007399, allocations: 0 / 256.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.007424, allocations: 19.92 kB / 256.4 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.007434, allocations: 11.89 kB / 256.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.007437, allocations: 7.938 kB / 256.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.007444, allocations: 3.984 kB / 256.5 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007445, allocations: 4 kB / 256.5 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.007446, allocations: 0 / 256.5 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.007555, allocations: 191 kB / 256.6 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.007573, allocations: 8 kB / 256.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.464e-05/0.007598, allocations: 12 kB / 256.7 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.007618, allocations: 7.984 kB / 256.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.007629, allocations: 8 kB / 256.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.256e-05/0.007651, allocations: 24.22 kB / 256.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007651, allocations: 3.938 kB / 256.7 MB, free: 1.68 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.007819, allocations: 95.62 kB / 256.8 MB, free: 1.586 MB / 250.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.001876/0.009694, allocations: 0.8894 MB / 257.7 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.00983, allocations: 183.6 kB / 257.9 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.009835, allocations: 4 kB / 257.9 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.009898, allocations: 129.9 kB / 258 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.01001, allocations: 27.98 kB / 258 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.0104, allocations: 268.5 kB / 258.3 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.01043, allocations: 63.34 kB / 258.3 MB, free: 252 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.622e-05/0.01046, allocations: 8 kB / 258.4 MB, free: 244 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.01054, allocations: 87.28 kB / 258.4 MB, free: 156 kB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01054, allocations: 0 / 258.4 MB, free: 156 kB / 250.7 MB Notification: Performance of Templates: time 0.004591/0.01513, allocations: 3.265 MB / 261.7 MB, free: 12.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.XLSXTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.449172074906528]