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.001408/0.001408, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001465/0.001465, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.01505/0.01505, allocations: 3.262 MB / 312.1 MB, free: 0.9648 MB / 238.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.001993/0.001993, allocations: 67.89 kB / 434.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1078, allocations: 54.35 MB / 488.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003392/0.1112, allocations: 1.69 MB / 490.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.114, allocations: 1.728 MB / 492.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.1141, allocations: 0 / 492.1 MB, free: 4.836 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.0003331/0.1144, allocations: 43.72 kB / 492.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005247/0.1149, allocations: 167.3 kB / 492.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.1152, allocations: 83.72 kB / 492.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1153, allocations: 95.7 kB / 492.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1155, allocations: 16.22 kB / 492.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.1155, allocations: 39.8 kB / 492.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.1157, allocations: 43.83 kB / 492.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1158, allocations: 4 kB / 492.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.1161, allocations: 231.7 kB / 492.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-05/0.1162, allocations: 31.83 kB / 492.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.1163, allocations: 43.69 kB / 492.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.1167, allocations: 275.2 kB / 493.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1167, allocations: 0 / 493.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1167, allocations: 0 / 493.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1167, allocations: 4 kB / 493.2 MB, free: 3.773 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.0007498/0.1175, allocations: 0.4921 MB / 493.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1175, allocations: 8.031 kB / 493.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.1175, allocations: 42.69 kB / 493.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.1176, allocations: 12.84 kB / 493.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.118, allocations: 216.2 kB / 494 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.118, allocations: 384 / 494 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.118, allocations: 11.94 kB / 494 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1182, allocations: 103.3 kB / 494.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1182, allocations: 3.984 kB / 494.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1182, allocations: 0 / 494.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1182, allocations: 3.938 kB / 494.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1184, allocations: 55.95 kB / 494.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.1188, allocations: 317.7 kB / 494.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.1191, allocations: 89.12 kB / 494.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1192, allocations: 49.83 kB / 494.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.1192, allocations: 0 / 494.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.1195, allocations: 142.9 kB / 494.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1195, allocations: 0 / 494.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005812/0.12, allocations: 239.1 kB / 495 MB, free: 1.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.1201, allocations: 110.8 kB / 495.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1203, allocations: 168.3 kB / 495.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1203, allocations: 33.7 kB / 495.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.1204, allocations: 96.12 kB / 495.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1204, allocations: 27.75 kB / 495.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.1205, allocations: 25.7 kB / 495.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1206, allocations: 322.8 kB / 495.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.409e-05/0.1207, allocations: 39.98 kB / 495.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.1208, allocations: 49.69 kB / 495.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.121, allocations: 161 kB / 496 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.121, allocations: 0 / 496 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003363/0.1214, allocations: 191.2 kB / 496.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.1214, allocations: 41.64 kB / 496.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1214, allocations: 0 / 496.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1214, allocations: 0 / 496.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.1215, allocations: 15.98 kB / 496.2 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1215, allocations: 3.938 kB / 496.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.764e-05/0.1216, allocations: 11.94 kB / 496.2 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1216, allocations: 7.984 kB / 496.2 MB, free: 416 kB / 350.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.0001536/0.1218, allocations: 159.5 kB / 496.4 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.1218, allocations: 11.91 kB / 496.4 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.1218, allocations: 16.72 kB / 496.4 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1218, allocations: 4 kB / 496.4 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1219, allocations: 7.875 kB / 496.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1219, allocations: 0 / 496.4 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1221, allocations: 205.6 kB / 496.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1221, allocations: 8 kB / 496.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.1221, allocations: 11.98 kB / 496.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1221, allocations: 0 / 496.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1222, allocations: 8 kB / 496.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1222, allocations: 0 / 496.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1222, allocations: 3.938 kB / 496.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.1226, allocations: 247.9 kB / 496.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.1227, allocations: 97 kB / 497 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.1227, allocations: 4 kB / 497 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.1228, allocations: 11.92 kB / 497 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1228, allocations: 15.92 kB / 497 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.1228, allocations: 4 kB / 497 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.123, allocations: 123.2 kB / 497.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.123, allocations: 0 / 497.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.1233, allocations: 95.66 kB / 497.2 MB, free: 15.28 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.003165/0.1265, allocations: 1.237 MB / 498.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.1269, allocations: 163.3 kB / 498.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1269, allocations: 4 kB / 498.6 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.127, allocations: 111.6 kB / 498.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1273, allocations: 18.89 kB / 498.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.1298, allocations: 1.916 MB / 0.489 GB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1302, allocations: 0.7002 MB / 0.4896 GB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.827e-05/0.1302, allocations: 24.39 kB / 0.4897 GB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.1303, allocations: 35.42 kB / 0.4897 GB, free: 11.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1303, allocations: 0 / 0.4897 GB, free: 11.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.1612, allocations: 4.809 MB / 0.4944 GB, free: 6.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.354, allocations: 11.62 kB / 0.4944 GB, free: 6.188 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.994068542000605] Failed to read output from testmodel.py, exit status != 0: 8.435738330997992 8.454111934 8.333770711 Calling exit ...