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.001631/0.001631, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001742/0.001742, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.01797/0.01797, allocations: 3.269 MB / 316.4 MB, free: 15.65 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.002198/0.002198, allocations: 67.91 kB / 440.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1029, allocations: 54.38 MB / 495.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003573/0.1065, allocations: 1.652 MB / 496.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.1097, allocations: 1.769 MB / 498.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.54e-05/0.1098, allocations: 0 / 498.6 MB, free: 1.586 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.0003665/0.1102, allocations: 47.7 kB / 498.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000643/0.1108, allocations: 171.3 kB / 498.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.1111, allocations: 79.73 kB / 498.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.1114, allocations: 103.7 kB / 498.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1115, allocations: 12.22 kB / 499 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1116, allocations: 35.86 kB / 499 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.1118, allocations: 39.83 kB / 499 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1119, allocations: 8 kB / 499 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.1123, allocations: 223.7 kB / 499.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.992e-05/0.1124, allocations: 19.92 kB / 499.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.663e-05/0.1125, allocations: 27.86 kB / 499.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006505/0.1132, allocations: 271.1 kB / 499.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1132, allocations: 0 / 499.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1132, allocations: 0 / 499.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1132, allocations: 4 kB / 499.6 MB, free: 0.5586 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.0007951/0.114, allocations: 399 kB / 500 MB, free: 136 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.114, allocations: 8.031 kB / 500 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.1141, allocations: 8.891 kB / 500 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1144, allocations: 150.3 kB / 0.4884 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1144, allocations: 384 / 0.4884 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1144, allocations: 8.125 kB / 0.4884 GB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.1147, allocations: 133 kB / 0.4885 GB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1147, allocations: 0 / 0.4885 GB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1147, allocations: 8 kB / 0.4885 GB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1147, allocations: 0 / 0.4885 GB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.1149, allocations: 77.67 kB / 0.4886 GB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.1154, allocations: 249.3 kB / 0.4889 GB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.1157, allocations: 115 kB / 0.489 GB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.1158, allocations: 83.44 kB / 0.4891 GB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1158, allocations: 3.938 kB / 0.4891 GB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.1161, allocations: 172.5 kB / 0.4892 GB, free: 14.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.1161, allocations: 0 / 0.4892 GB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005948/0.1167, allocations: 302.7 kB / 0.4895 GB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.1167, allocations: 106.8 kB / 0.4896 GB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1169, allocations: 145.1 kB / 0.4897 GB, free: 14.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1169, allocations: 37.62 kB / 0.4898 GB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.117, allocations: 88.14 kB / 0.4899 GB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.117, allocations: 31.73 kB / 0.4899 GB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.1171, allocations: 25.72 kB / 0.4899 GB, free: 14.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1172, allocations: 334.7 kB / 0.4902 GB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1174, allocations: 65.69 kB / 0.4903 GB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1175, allocations: 83.33 kB / 0.4904 GB, free: 13.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.1177, allocations: 157 kB / 0.4905 GB, free: 13.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1177, allocations: 0 / 0.4905 GB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000398/0.1181, allocations: 228.9 kB / 0.4908 GB, free: 13.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.1182, allocations: 37.7 kB / 0.4908 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1182, allocations: 4 kB / 0.4908 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1182, allocations: 3.984 kB / 0.4908 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.1183, allocations: 12 kB / 0.4908 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1183, allocations: 320 / 0.4908 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.1184, allocations: 8 kB / 0.4908 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1184, allocations: 11.92 kB / 0.4908 GB, free: 13.2 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.0001624/0.1185, allocations: 163.5 kB / 0.491 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.1186, allocations: 7.953 kB / 0.491 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.1186, allocations: 12.72 kB / 0.491 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1186, allocations: 0 / 0.491 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1186, allocations: 0 / 0.491 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1186, allocations: 4 kB / 0.491 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.1188, allocations: 141.2 kB / 0.4911 GB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1188, allocations: 3.984 kB / 0.4911 GB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.1188, allocations: 12 kB / 0.4912 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1188, allocations: 0 / 0.4912 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1189, allocations: 4 kB / 0.4912 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1189, allocations: 0 / 0.4912 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1189, allocations: 7.938 kB / 0.4912 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.1193, allocations: 285.1 kB / 0.4914 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.1193, allocations: 19.83 kB / 0.4915 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.1194, allocations: 3.984 kB / 0.4915 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.1194, allocations: 12 kB / 0.4915 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1195, allocations: 7.984 kB / 0.4915 GB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1195, allocations: 4 kB / 0.4915 GB, free: 12.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1196, allocations: 107.3 kB / 0.4916 GB, free: 12.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1196, allocations: 0 / 0.4916 GB, free: 12.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.1199, allocations: 91.72 kB / 0.4917 GB, free: 12.24 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.002312/0.1222, allocations: 0.5942 MB / 0.4923 GB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.1227, allocations: 234.6 kB / 0.4925 GB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1227, allocations: 0 / 0.4925 GB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.1229, allocations: 141 kB / 0.4926 GB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1231, allocations: 19.11 kB / 0.4926 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006126/0.1237, allocations: 278.3 kB / 0.4929 GB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.83e-05/0.1238, allocations: 83.53 kB / 0.493 GB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.1239, allocations: 23.42 kB / 0.493 GB, free: 10.97 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1239, allocations: 0 / 0.493 GB, free: 10.97 MB / 366.1 MB Notification: Performance of Templates: time 0.005936/0.1298, allocations: 2.929 MB / 0.4959 GB, free: 8.047 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.637092725839466] Failed to read output from testmodel.py, exit status != 0: 0.13756214594468474 0.326982361 0.21079687400000002 Calling exit ...