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.001434/0.001434, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001442/0.001442, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.444/1.444, allocations: 230.6 MB / 256 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.01483/0.01483, allocations: 3.277 MB / 315.7 MB, free: 15.62 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.001979/0.001979, allocations: 67.91 kB / 439.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1027, allocations: 54.39 MB / 493.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003219/0.1059, allocations: 1.667 MB / 495.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.1089, allocations: 1.753 MB / 497.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.109, allocations: 4 kB / 497.3 MB, free: 2.012 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.0003381/0.1093, allocations: 47.77 kB / 497.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.1098, allocations: 175.3 kB / 497.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1101, allocations: 83.77 kB / 497.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1102, allocations: 95.7 kB / 497.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.846e-05/0.1103, allocations: 8 kB / 497.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.539e-05/0.1104, allocations: 39.84 kB / 497.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1105, allocations: 47.72 kB / 497.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1105, allocations: 4 kB / 497.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.1109, allocations: 219.7 kB / 498 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.904e-05/0.111, allocations: 23.92 kB / 498 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.1111, allocations: 43.78 kB / 498.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.1115, allocations: 279.1 kB / 498.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1115, allocations: 0 / 498.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1115, allocations: 3.938 kB / 498.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1115, allocations: 0 / 498.4 MB, free: 0.9609 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.0007748/0.1123, allocations: 426.8 kB / 498.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1123, allocations: 8.031 kB / 498.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.1124, allocations: 38.75 kB / 498.8 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.1125, allocations: 12.84 kB / 498.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.1128, allocations: 168.7 kB / 499 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1128, allocations: 8 kB / 499 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1128, allocations: 0 / 499 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.113, allocations: 129.1 kB / 499.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1131, allocations: 3.938 kB / 499.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1131, allocations: 0 / 499.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1131, allocations: 0 / 499.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.1132, allocations: 93.59 kB / 499.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.1137, allocations: 272.8 kB / 499.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.114, allocations: 122.9 kB / 499.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.1141, allocations: 87.42 kB / 499.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1141, allocations: 0 / 499.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.1144, allocations: 164.5 kB / 499.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.1144, allocations: 0 / 499.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005592/0.1149, allocations: 306.6 kB / 0.4884 GB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/0.115, allocations: 118.7 kB / 0.4886 GB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1152, allocations: 168.1 kB / 0.4887 GB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1152, allocations: 25.7 kB / 0.4887 GB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.1153, allocations: 100.1 kB / 0.4888 GB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.1153, allocations: 27.75 kB / 0.4889 GB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.1154, allocations: 29.7 kB / 0.4889 GB, free: 14.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1155, allocations: 322.8 kB / 0.4892 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1156, allocations: 69.67 kB / 0.4893 GB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1158, allocations: 79.41 kB / 0.4893 GB, free: 13.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.116, allocations: 153.1 kB / 0.4895 GB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.116, allocations: 4 kB / 0.4895 GB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003483/0.1163, allocations: 240.8 kB / 0.4897 GB, free: 13.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.1164, allocations: 33.7 kB / 0.4897 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1164, allocations: 12.17 kB / 0.4898 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1164, allocations: 3.938 kB / 0.4898 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.1165, allocations: 8 kB / 0.4898 GB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1165, allocations: 4 kB / 0.4898 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.1165, allocations: 7.984 kB / 0.4898 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1165, allocations: 11.98 kB / 0.4898 GB, free: 13.41 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.0001472/0.1167, allocations: 163.5 kB / 0.4899 GB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.1167, allocations: 11.91 kB / 0.49 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.1168, allocations: 16.66 kB / 0.49 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1168, allocations: 4 kB / 0.49 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.1168, allocations: 0 / 0.49 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1168, allocations: 0 / 0.49 GB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1169, allocations: 168.7 kB / 0.4901 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1169, allocations: 0 / 0.4901 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.117, allocations: 11.98 kB / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.117, allocations: 0 / 0.4902 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.117, allocations: 11.88 kB / 0.4902 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.117, allocations: 4 kB / 0.4902 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.117, allocations: 0 / 0.4902 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.1175, allocations: 293.2 kB / 0.4904 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.1175, allocations: 15.94 kB / 0.4905 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.1175, allocations: 7.938 kB / 0.4905 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.1176, allocations: 4 kB / 0.4905 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.1176, allocations: 7.984 kB / 0.4905 GB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1177, allocations: 8 kB / 0.4905 GB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1178, allocations: 125.7 kB / 0.4906 GB, free: 12.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1178, allocations: 0 / 0.4906 GB, free: 12.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.1181, allocations: 99.66 kB / 0.4907 GB, free: 12.39 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.001957/0.1201, allocations: 1.173 MB / 0.4918 GB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.1205, allocations: 230.7 kB / 0.4921 GB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1205, allocations: 4 kB / 0.4921 GB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.1206, allocations: 141.1 kB / 0.4922 GB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.1209, allocations: 18.81 kB / 0.4922 GB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.1235, allocations: 2.104 MB / 0.4943 GB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.224e-05/0.1235, allocations: 85.33 kB / 0.4944 GB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.909e-05/0.1236, allocations: 24.41 kB / 0.4944 GB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.1237, allocations: 39.42 kB / 0.4944 GB, free: 8.457 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1237, allocations: 3.938 kB / 0.4944 GB, free: 8.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04439/0.1681, allocations: 5.332 MB / 0.4996 GB, free: 3.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.36, allocations: 11.33 kB / 0.4996 GB, free: 3.164 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.942304914351553] Failed to read output from testmodel.py, exit status != 0: 11.466834015212953 11.485583937 11.370536374 Calling exit ...