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.001026/0.001026, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007723/0.0007723, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8503/0.8503, allocations: 177.1 MB / 203.5 MB, free: 5.395 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.008974/0.008974, allocations: 2.256 MB / 262.2 MB, free: 10.84 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.052e-06/1.052e-06, allocations: 0 / 386.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.48e-05, allocations: 2.281 kB / 386.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.001849/0.001864, allocations: 1.668 MB / 388.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.003438, allocations: 1.765 MB / 390 MB, free: 8.445 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.003492, allocations: 3.938 kB / 390 MB, free: 8.441 MB / 362.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.0002655/0.003757, allocations: 43.7 kB / 390 MB, free: 8.398 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.004083, allocations: 183 kB / 390.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.00422, allocations: 91.77 kB / 390.3 MB, free: 8.129 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.004328, allocations: 79.78 kB / 390.4 MB, free: 8.051 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.004415, allocations: 20.14 kB / 390.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.004488, allocations: 51.83 kB / 390.5 MB, free: 7.977 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.00458, allocations: 35.89 kB / 390.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.004595, allocations: 8 kB / 390.5 MB, free: 7.934 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.004806, allocations: 223.6 kB / 390.7 MB, free: 7.715 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.004852, allocations: 19.92 kB / 390.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.004891, allocations: 19.94 kB / 390.8 MB, free: 7.676 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.005176, allocations: 291.2 kB / 391 MB, free: 7.391 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005178, allocations: 4 kB / 391 MB, free: 7.387 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005178, allocations: 0 / 391 MB, free: 7.387 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.005182, allocations: 0 / 391 MB, free: 7.387 MB / 362.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.0006265/0.005808, allocations: 411 kB / 391.4 MB, free: 6.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.005846, allocations: 8.031 kB / 391.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.005896, allocations: 8.891 kB / 391.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.006119, allocations: 149.6 kB / 391.6 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.00613, allocations: 384 / 391.6 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.006143, allocations: 4.375 kB / 391.6 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.006355, allocations: 133.6 kB / 391.7 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.006363, allocations: 7.938 kB / 391.7 MB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.006375, allocations: 4 kB / 391.8 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.006379, allocations: 0 / 391.8 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.528e-05/0.006475, allocations: 81.61 kB / 391.8 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.006773, allocations: 245.4 kB / 392.1 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.006965, allocations: 118.9 kB / 392.2 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.007043, allocations: 83.44 kB / 392.3 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.007058, allocations: 7.984 kB / 392.3 MB, free: 5.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.007227, allocations: 172.4 kB / 392.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.007228, allocations: 0 / 392.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003401/0.007568, allocations: 298.8 kB / 392.7 MB, free: 5.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.007618, allocations: 110.8 kB / 392.8 MB, free: 5.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.007714, allocations: 140.7 kB / 393 MB, free: 5.199 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.007729, allocations: 29.7 kB / 393 MB, free: 5.164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.007769, allocations: 99.98 kB / 393.1 MB, free: 5.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.007798, allocations: 27.75 kB / 393.1 MB, free: 5.035 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.007837, allocations: 29.7 kB / 393.2 MB, free: 5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.007916, allocations: 322.8 kB / 393.5 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.869e-05/0.007985, allocations: 65.69 kB / 393.5 MB, free: 4.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.008046, allocations: 87.39 kB / 393.6 MB, free: 4.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.008172, allocations: 157 kB / 393.8 MB, free: 4.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.008175, allocations: 3.938 kB / 393.8 MB, free: 4.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002012/0.008376, allocations: 236.8 kB / 394 MB, free: 4.082 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.008406, allocations: 33.7 kB / 394.1 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.008413, allocations: 8 kB / 394.1 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.008426, allocations: 0 / 394.1 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.008475, allocations: 11.98 kB / 394.1 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.008481, allocations: 0 / 394.1 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.008525, allocations: 12 kB / 394.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.008536, allocations: 7.984 kB / 394.1 MB, free: 4.004 MB / 362.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 9.885e-05/0.008634, allocations: 160.1 kB / 394.2 MB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.008652, allocations: 11.91 kB / 394.3 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.008683, allocations: 12.78 kB / 394.3 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.008686, allocations: 0 / 394.3 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.008694, allocations: 8 kB / 394.3 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.0087, allocations: 0 / 394.3 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.008823, allocations: 133.2 kB / 394.4 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.008826, allocations: 3.938 kB / 394.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.008855, allocations: 15.92 kB / 394.4 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.008858, allocations: 4 kB / 394.4 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.008869, allocations: 4 kB / 394.4 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.008871, allocations: 4 kB / 394.4 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008873, allocations: 0 / 394.4 MB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.009118, allocations: 277.5 kB / 394.7 MB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.009134, allocations: 15.89 kB / 394.7 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.009155, allocations: 7.984 kB / 394.7 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.13e-05/0.009186, allocations: 8 kB / 394.7 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.009218, allocations: 7.922 kB / 394.8 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.009233, allocations: 7.938 kB / 394.8 MB, free: 3.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.47e-05/0.009287, allocations: 112.4 kB / 394.9 MB, free: 3.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009287, allocations: 0 / 394.9 MB, free: 3.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.009531, allocations: 91.66 kB / 395 MB, free: 3.055 MB / 362.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.001047/0.01058, allocations: 0.6195 MB / 395.6 MB, free: 2.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.01083, allocations: 226.7 kB / 395.8 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01084, allocations: 0 / 395.8 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.01093, allocations: 141.1 kB / 395.9 MB, free: 2.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.01113, allocations: 17.83 kB / 396 MB, free: 2.203 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.01157, allocations: 277.5 kB / 396.2 MB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.063e-05/0.01164, allocations: 91.59 kB / 396.3 MB, free: 1.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.01167, allocations: 16.5 kB / 396.3 MB, free: 1.762 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01167, allocations: 0 / 396.3 MB, free: 1.762 MB / 362.7 MB Notification: Performance of Templates: time 0.004042/0.01571, allocations: 2.946 MB / 399.3 MB, free: 14.82 MB / 378.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=480 -lv LOG_STATS > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.868665930815041] Failed to read output from testmodel.py, exit status != 0: 0.020619641058146954 0.029760168000000004 0.022644972000000003 Calling exit ...