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.001981/0.001981, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.002942/0.002942, allocations: 219.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.01828/0.01828, allocations: 3.269 MB / 316.5 MB, free: 15.82 MB / 254.1 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: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 440.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1278, allocations: 54.38 MB / 495.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.00446/0.1323, allocations: 1.687 MB / 496.9 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.136, allocations: 1.827 MB / 498.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.499e-05/0.1361, allocations: 4 kB / 498.7 MB, free: 1.75 MB / 350.1 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.0004222/0.1366, allocations: 43.72 kB / 498.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005755/0.1371, allocations: 174.9 kB / 498.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1374, allocations: 83.78 kB / 499 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1376, allocations: 91.77 kB / 499.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1377, allocations: 8.219 kB / 499.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.064e-05/0.1378, allocations: 47.78 kB / 499.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.138, allocations: 39.84 kB / 499.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.138, allocations: 8 kB / 499.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.1384, allocations: 243.7 kB / 499.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.15e-05/0.1385, allocations: 23.86 kB / 499.5 MB, free: 1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.1386, allocations: 43.8 kB / 499.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.139, allocations: 267.2 kB / 499.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.139, allocations: 0 / 499.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.139, allocations: 3.938 kB / 499.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.139, allocations: 3.938 kB / 499.8 MB, free: 0.6875 MB / 350.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.0007014/0.1397, allocations: 403 kB / 0.4884 GB, free: 264 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1398, allocations: 8.031 kB / 0.4885 GB, free: 256 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.1398, allocations: 8.891 kB / 0.4885 GB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.1401, allocations: 150.3 kB / 0.4886 GB, free: 72 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1402, allocations: 4.375 kB / 0.4886 GB, free: 68 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1402, allocations: 8.125 kB / 0.4886 GB, free: 60 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.1404, allocations: 99.38 kB / 0.4887 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1404, allocations: 3.938 kB / 0.4887 GB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1405, allocations: 4 kB / 0.4887 GB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1405, allocations: 0 / 0.4887 GB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1406, allocations: 51.95 kB / 0.4888 GB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.1411, allocations: 280.8 kB / 0.489 GB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.1413, allocations: 89.22 kB / 0.4891 GB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1415, allocations: 53.75 kB / 0.4892 GB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.1415, allocations: 0 / 0.4892 GB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.1417, allocations: 138.7 kB / 0.4893 GB, free: 15.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1417, allocations: 0 / 0.4893 GB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000503/0.1422, allocations: 231.3 kB / 0.4895 GB, free: 15.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/0.1423, allocations: 114.8 kB / 0.4896 GB, free: 14.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.1425, allocations: 145.4 kB / 0.4898 GB, free: 14.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.1425, allocations: 29.7 kB / 0.4898 GB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.1426, allocations: 88.14 kB / 0.4899 GB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.1426, allocations: 35.73 kB / 0.4899 GB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.1427, allocations: 21.72 kB / 0.4899 GB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1428, allocations: 322.8 kB / 0.4903 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.1429, allocations: 39.97 kB / 0.4903 GB, free: 14.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.143, allocations: 57.64 kB / 0.4903 GB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.1432, allocations: 148.9 kB / 0.4905 GB, free: 13.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1432, allocations: 0 / 0.4905 GB, free: 13.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003295/0.1435, allocations: 203.1 kB / 0.4907 GB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.1436, allocations: 37.69 kB / 0.4907 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1436, allocations: 0 / 0.4907 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1436, allocations: 0 / 0.4907 GB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.1437, allocations: 16 kB / 0.4907 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1437, allocations: 0 / 0.4907 GB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.1438, allocations: 11.98 kB / 0.4907 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1438, allocations: 7.938 kB / 0.4908 GB, free: 13.65 MB / 366.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 0.0001464/0.1439, allocations: 151.5 kB / 0.4909 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1439, allocations: 11.95 kB / 0.4909 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.144, allocations: 16.98 kB / 0.4909 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.144, allocations: 0 / 0.4909 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.144, allocations: 8 kB / 0.4909 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.144, allocations: 3.984 kB / 0.4909 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.1442, allocations: 184.5 kB / 0.4911 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1442, allocations: 0 / 0.4911 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.1442, allocations: 8 kB / 0.4911 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1443, allocations: 4 kB / 0.4911 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1443, allocations: 4 kB / 0.4911 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1443, allocations: 4 kB / 0.4911 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1443, allocations: 3.984 kB / 0.4911 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.1447, allocations: 247.5 kB / 0.4914 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.1447, allocations: 15.83 kB / 0.4914 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.1447, allocations: 4 kB / 0.4914 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.291e-05/0.1448, allocations: 11.98 kB / 0.4914 GB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1448, allocations: 4 kB / 0.4914 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.1448, allocations: 7.938 kB / 0.4914 GB, free: 12.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1449, allocations: 115.2 kB / 0.4915 GB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1449, allocations: 4 kB / 0.4915 GB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003481/0.1453, allocations: 83.73 kB / 0.4916 GB, free: 12.69 MB / 366.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.003174/0.1485, allocations: 0.5639 MB / 0.4922 GB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.1488, allocations: 163.3 kB / 0.4923 GB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1488, allocations: 0 / 0.4923 GB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.149, allocations: 103.4 kB / 0.4924 GB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.1492, allocations: 26.69 kB / 0.4924 GB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.1498, allocations: 252.5 kB / 0.4927 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1502, allocations: 0.7001 MB / 0.4934 GB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.1502, allocations: 15.44 kB / 0.4934 GB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1502, allocations: 0 / 0.4934 GB, free: 10.96 MB / 366.1 MB Notification: Performance of Templates: time 0.006034/0.1563, allocations: 2.898 MB / 0.4962 GB, free: 8.066 MB / 366.1 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: 7.8214564269874245] Failed to read output from testmodel.py, exit status != 0: 0.16514931712299585 0.40199688299999997 0.25975359499999995 Calling exit ...