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.0009512/0.0009512, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001042/0.001042, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 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.9438/0.9438, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.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.008967/0.008967, allocations: 2.254 MB / 262.2 MB, free: 10.8 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.623e-06/1.623e-06, allocations: 0 / 332.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.346e-05, allocations: 2.312 kB / 332.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.001976/0.002, allocations: 1.716 MB / 334.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.003352, allocations: 1.823 MB / 336.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.003409, allocations: 0 / 336.3 MB, free: 12.88 MB / 266.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.0002972/0.003706, allocations: 43.66 kB / 336.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.004039, allocations: 179.1 kB / 336.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.004183, allocations: 87.7 kB / 336.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.004278, allocations: 87.7 kB / 336.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.004346, allocations: 12.23 kB / 336.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.665e-05/0.004412, allocations: 47.89 kB / 336.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.004496, allocations: 39.83 kB / 336.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.004518, allocations: 4 kB / 336.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.004718, allocations: 223.6 kB / 337 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.004765, allocations: 19.92 kB / 337.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.004802, allocations: 31.92 kB / 337.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.005051, allocations: 279.1 kB / 337.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.005053, allocations: 0 / 337.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005054, allocations: 0 / 337.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.005057, allocations: 0 / 337.4 MB, free: 11.84 MB / 266.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.0003792/0.005436, allocations: 497.3 kB / 337.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.005467, allocations: 12.03 kB / 337.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.005518, allocations: 24.83 kB / 337.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.005641, allocations: 136.5 kB / 338 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.00565, allocations: 12.38 kB / 338 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.005662, allocations: 384 / 338 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.005791, allocations: 127.9 kB / 338.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.0058, allocations: 3.938 kB / 338.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.00581, allocations: 4 kB / 338.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.005817, allocations: 0 / 338.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.833e-05/0.005865, allocations: 57.67 kB / 338.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.006096, allocations: 307.3 kB / 338.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.006231, allocations: 111.9 kB / 338.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.006271, allocations: 69.11 kB / 338.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.006285, allocations: 0 / 338.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.681e-05/0.006381, allocations: 159.8 kB / 338.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 7.62e-07/0.006382, allocations: 0 / 338.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002316/0.006614, allocations: 226.8 kB / 339.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.006635, allocations: 110.8 kB / 339.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.006699, allocations: 197.9 kB / 339.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.994e-06/0.006706, allocations: 25.7 kB / 339.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.006731, allocations: 142.9 kB / 339.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.006752, allocations: 31.89 kB / 339.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.006782, allocations: 39.3 kB / 339.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.641e-05/0.006818, allocations: 0.4923 MB / 340.1 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.006847, allocations: 41.7 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.006878, allocations: 69.05 kB / 340.2 MB, free: 8.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.00694, allocations: 122.7 kB / 340.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006942, allocations: 3.938 kB / 340.3 MB, free: 8.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001172/0.007059, allocations: 184.9 kB / 340.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.00708, allocations: 41.69 kB / 340.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.007084, allocations: 0 / 340.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.007097, allocations: 0 / 340.5 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.886e-05/0.007136, allocations: 8 kB / 340.6 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.00714, allocations: 4 kB / 340.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.007173, allocations: 8 kB / 340.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.007182, allocations: 7.984 kB / 340.6 MB, free: 8.242 MB / 266.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 4.995e-05/0.007232, allocations: 202.7 kB / 340.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.007249, allocations: 19.89 kB / 340.8 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.00727, allocations: 12.78 kB / 340.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.007271, allocations: 0 / 340.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.007275, allocations: 0 / 340.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.007278, allocations: 4 kB / 340.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.902e-05/0.007337, allocations: 144.5 kB / 341 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007338, allocations: 7.938 kB / 341 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.007359, allocations: 11.98 kB / 341 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.00736, allocations: 0 / 341 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.007373, allocations: 8 kB / 341 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.007374, allocations: 0 / 341 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007374, allocations: 0 / 341 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.007523, allocations: 255.6 kB / 341.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.007536, allocations: 15.89 kB / 341.2 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.007555, allocations: 7.984 kB / 341.3 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.627e-05/0.007581, allocations: 4 kB / 341.3 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.007608, allocations: 8 kB / 341.3 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.00762, allocations: 7.984 kB / 341.3 MB, free: 7.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.198e-05/0.007652, allocations: 143.2 kB / 341.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007652, allocations: 0 / 341.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.007846, allocations: 91.67 kB / 341.5 MB, free: 7.227 MB / 266.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.001226/0.009072, allocations: 0.6359 MB / 342.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.009213, allocations: 194.4 kB / 342.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.009214, allocations: 0 / 342.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.009263, allocations: 136.7 kB / 342.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.009426, allocations: 35.12 kB / 342.5 MB, free: 6.375 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.009705, allocations: 261.6 kB / 342.8 MB, free: 6.082 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.079e-05/0.009726, allocations: 63.34 kB / 342.8 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.423e-05/0.00975, allocations: 7.984 kB / 342.8 MB, free: 5.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.009776, allocations: 16.5 kB / 342.8 MB, free: 5.977 MB / 266.7 MB Notification: Performance of SimCode: time 4.6e-07/0.009777, allocations: 0 / 342.8 MB, free: 5.977 MB / 266.7 MB Notification: Performance of Templates: time 0.003674/0.01345, allocations: 2.92 MB / 345.8 MB, free: 3.07 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.8022428029216826]