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.001706/0.001706, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001527/0.001527, allocations: 210.1 kB / 22.25 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.781 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.01549/0.01549, allocations: 3.27 MB / 315.7 MB, free: 15.7 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: "" <> buildModelFMU(ExternData.Examples.XLSXTest,fileNamePrefix="ExternData_ExternData_Examples_XLSXTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSXTest,fileNamePrefix="ExternData_ExternData_Examples_XLSXTest",fmuType="me",version="2.0",platforms={"static"}) [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.002155/0.002155, allocations: 67.91 kB / 439.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09397/0.09612, allocations: 54.39 MB / 493.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003102/0.09922, allocations: 1.652 MB / 495.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.1019, allocations: 1.765 MB / 497.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.102, allocations: 4 kB / 497.3 MB, free: 2.086 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.0003139/0.1023, allocations: 43.77 kB / 497.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005032/0.1028, allocations: 171.3 kB / 497.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.103, allocations: 79.8 kB / 497.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1032, allocations: 95.69 kB / 497.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.1033, allocations: 12.22 kB / 497.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.1034, allocations: 39.86 kB / 497.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1035, allocations: 35.83 kB / 497.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1035, allocations: 8 kB / 497.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.1039, allocations: 223.7 kB / 498 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.104, allocations: 23.92 kB / 498 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.1041, allocations: 31.8 kB / 498.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.1045, allocations: 287 kB / 498.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1045, allocations: 4 kB / 498.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1045, allocations: 0 / 498.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1045, allocations: 0 / 498.3 MB, free: 1.047 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.0007893/0.1053, allocations: 422.9 kB / 498.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1054, allocations: 8.031 kB / 498.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.1054, allocations: 46.67 kB / 498.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.1055, allocations: 12.84 kB / 498.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1059, allocations: 150.4 kB / 499 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1059, allocations: 384 / 499 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1059, allocations: 11.94 kB / 499 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.1062, allocations: 133 kB / 499.1 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1062, allocations: 0 / 499.1 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1062, allocations: 4 kB / 499.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1062, allocations: 0 / 499.1 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.1064, allocations: 77.67 kB / 499.2 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.1069, allocations: 288.7 kB / 499.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.1072, allocations: 119 kB / 499.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.1073, allocations: 83.39 kB / 499.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.1073, allocations: 4 kB / 499.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.1076, allocations: 172.4 kB / 499.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.1076, allocations: 0 / 499.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006056/0.1082, allocations: 306.7 kB / 0.4884 GB, free: 15.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.1083, allocations: 102.8 kB / 0.4885 GB, free: 14.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1085, allocations: 172.5 kB / 0.4887 GB, free: 14.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1085, allocations: 33.69 kB / 0.4887 GB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.1086, allocations: 100.1 kB / 0.4888 GB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.1087, allocations: 35.88 kB / 0.4888 GB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.1087, allocations: 21.72 kB / 0.4889 GB, free: 14.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.1089, allocations: 322.8 kB / 0.4892 GB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.109, allocations: 73.61 kB / 0.4892 GB, free: 14.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.1091, allocations: 83.39 kB / 0.4893 GB, free: 14.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.1094, allocations: 149.1 kB / 0.4895 GB, free: 13.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1094, allocations: 0 / 0.4895 GB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003632/0.1097, allocations: 236.8 kB / 0.4897 GB, free: 13.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.1098, allocations: 41.69 kB / 0.4897 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1098, allocations: 0 / 0.4897 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1098, allocations: 0 / 0.4897 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.1099, allocations: 15.94 kB / 0.4897 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1099, allocations: 4.25 kB / 0.4897 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.1099, allocations: 11.98 kB / 0.4898 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.11, allocations: 4 kB / 0.4898 GB, free: 13.52 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.000155/0.1101, allocations: 155.5 kB / 0.4899 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1101, allocations: 15.91 kB / 0.4899 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.1102, allocations: 16.72 kB / 0.4899 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1102, allocations: 7.984 kB / 0.49 GB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1102, allocations: 3.938 kB / 0.49 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1102, allocations: 0 / 0.49 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1104, allocations: 168.7 kB / 0.4901 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1104, allocations: 0 / 0.4901 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.1104, allocations: 8 kB / 0.4901 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1104, allocations: 0 / 0.4901 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1105, allocations: 4 kB / 0.4901 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1105, allocations: 3.984 kB / 0.4901 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1105, allocations: 3.938 kB / 0.4901 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.1109, allocations: 289.2 kB / 0.4904 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.1109, allocations: 23.83 kB / 0.4904 GB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.111, allocations: 8 kB / 0.4904 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.111, allocations: 7.984 kB / 0.4904 GB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1111, allocations: 7.938 kB / 0.4905 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1111, allocations: 8 kB / 0.4905 GB, free: 12.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1112, allocations: 128.9 kB / 0.4906 GB, free: 12.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1112, allocations: 0 / 0.4906 GB, free: 12.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.1116, allocations: 91.67 kB / 0.4907 GB, free: 12.49 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.003104/0.1147, allocations: 1.316 MB / 0.492 GB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.1151, allocations: 226.7 kB / 0.4922 GB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1151, allocations: 0 / 0.4922 GB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1153, allocations: 141.1 kB / 0.4923 GB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1155, allocations: 12 kB / 0.4923 GB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.1183, allocations: 2.09 MB / 0.4944 GB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.83e-05/0.1184, allocations: 84.98 kB / 0.4944 GB, free: 8.582 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.014e-05/0.1185, allocations: 20.36 kB / 0.4945 GB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.1185, allocations: 39.41 kB / 0.4945 GB, free: 8.523 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1186, allocations: 0 / 0.4945 GB, free: 8.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.1546, allocations: 5.51 MB / 0.4999 GB, free: 3.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.4, allocations: 9.156 kB / 0.4999 GB, free: 3.031 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.XLSXTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ExternData_ExternData_Examples_XLSXTest.fmu > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.09026713995263] Failed to read output from testmodel.py, exit status != 0: 11.517092587891966 11.534887452 11.426971695 Calling exit ...