Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSTest.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.001339/0.001339, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001572/0.001572, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.961 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.01579/0.01579, allocations: 3.267 MB / 315.7 MB, free: 15.8 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.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",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.002/0.002, allocations: 67.91 kB / 439.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1069, allocations: 54.39 MB / 494 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.00321/0.1101, allocations: 1.683 MB / 495.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.1131, allocations: 1.842 MB / 497.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.1132, allocations: 0 / 497.5 MB, free: 2.191 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:179:3-207:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.1135, allocations: 51.66 kB / 497.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005484/0.1141, allocations: 173.1 kB / 497.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1143, allocations: 87.78 kB / 497.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.1145, allocations: 91.77 kB / 497.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.1146, allocations: 7.984 kB / 497.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.1147, allocations: 47.78 kB / 497.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.1149, allocations: 39.84 kB / 498 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1149, allocations: 8 kB / 498 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.1153, allocations: 247.6 kB / 498.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.1153, allocations: 27.92 kB / 498.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.1154, allocations: 39.73 kB / 498.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.1158, allocations: 291 kB / 498.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1159, allocations: 4 kB / 498.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1159, allocations: 0 / 498.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1159, allocations: 0 / 498.6 MB, free: 1.098 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.0006969/0.1166, allocations: 426.8 kB / 499 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1166, allocations: 8.031 kB / 499 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.1166, allocations: 38.75 kB / 499 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.1167, allocations: 12.84 kB / 499 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.117, allocations: 168 kB / 499.2 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.117, allocations: 4 kB / 499.2 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.117, allocations: 4 kB / 499.2 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.1173, allocations: 95.31 kB / 499.3 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1173, allocations: 0 / 499.3 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1173, allocations: 4 kB / 499.3 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1173, allocations: 0 / 499.3 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1174, allocations: 51.95 kB / 499.4 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.1179, allocations: 292.7 kB / 499.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.1182, allocations: 85.28 kB / 499.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1183, allocations: 65.61 kB / 499.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1183, allocations: 3.984 kB / 499.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.1186, allocations: 134.8 kB / 499.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1186, allocations: 0 / 499.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005115/0.1191, allocations: 243.2 kB / 0.4884 GB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.1192, allocations: 118.7 kB / 0.4886 GB, free: 15.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1194, allocations: 164.7 kB / 0.4887 GB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.1194, allocations: 25.7 kB / 0.4887 GB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.1195, allocations: 104.1 kB / 0.4888 GB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.1195, allocations: 27.75 kB / 0.4889 GB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.1196, allocations: 25.7 kB / 0.4889 GB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1197, allocations: 322.8 kB / 0.4892 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.141e-05/0.1198, allocations: 39.92 kB / 0.4892 GB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.161e-05/0.1199, allocations: 57.62 kB / 0.4893 GB, free: 14.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.1201, allocations: 145.1 kB / 0.4894 GB, free: 14.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1201, allocations: 0 / 0.4894 GB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003429/0.1205, allocations: 195.2 kB / 0.4896 GB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.1205, allocations: 33.7 kB / 0.4897 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1205, allocations: 4 kB / 0.4897 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1206, allocations: 7.938 kB / 0.4897 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.1206, allocations: 15.92 kB / 0.4897 GB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1206, allocations: 0 / 0.4897 GB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.1207, allocations: 8 kB / 0.4897 GB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1207, allocations: 4 kB / 0.4897 GB, free: 13.93 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.0001688/0.1209, allocations: 159.5 kB / 0.4898 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.1209, allocations: 19.84 kB / 0.4899 GB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.121, allocations: 20.64 kB / 0.4899 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.121, allocations: 0 / 0.4899 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.121, allocations: 4 kB / 0.4899 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.121, allocations: 4 kB / 0.4899 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.1212, allocations: 176.7 kB / 0.4901 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1212, allocations: 0 / 0.4901 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.1212, allocations: 12 kB / 0.4901 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1212, allocations: 3.984 kB / 0.4901 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.1213, allocations: 11.94 kB / 0.4901 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1213, allocations: 0 / 0.4901 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1213, allocations: 0 / 0.4901 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.1217, allocations: 251.5 kB / 0.4903 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.1217, allocations: 15.94 kB / 0.4903 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.1218, allocations: 7.938 kB / 0.4903 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.929e-05/0.1218, allocations: 7.938 kB / 0.4904 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.1219, allocations: 11.98 kB / 0.4904 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.1219, allocations: 4.062 kB / 0.4904 GB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.122, allocations: 134.4 kB / 0.4905 GB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.122, allocations: 3.938 kB / 0.4905 GB, free: 13.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.1224, allocations: 91.67 kB / 0.4906 GB, free: 12.92 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.001995/0.1244, allocations: 1.129 MB / 0.4917 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.1247, allocations: 163.3 kB / 0.4918 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1247, allocations: 0 / 0.4918 GB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1249, allocations: 103.4 kB / 0.4919 GB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.1251, allocations: 14.66 kB / 0.492 GB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.1278, allocations: 1.936 MB / 0.4938 GB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.1281, allocations: 0.7002 MB / 0.4945 GB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.013e-05/0.1282, allocations: 24.41 kB / 0.4946 GB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.1283, allocations: 39.41 kB / 0.4946 GB, free: 8.738 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1283, allocations: 0 / 0.4946 GB, free: 8.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.1707, allocations: 4.867 MB / 0.4993 GB, free: 3.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.53, allocations: 5.781 kB / 0.4994 GB, free: 3.906 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ExternData_ExternData.Examples.XLSTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSTest.pipe >> ../files/ExternData_ExternData.Examples.XLSTest.sim & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.XLSTest_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_XLSTest.fmu > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.478308546997141] Failed to read output from testmodel.py, exit status != 0: 11.64157394599897 11.902248723 11.783502003 Calling exit ...