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.00124/0.00124, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001471/0.001471, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.996 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.01715/0.01715, allocations: 3.27 MB / 315.7 MB, free: 15.82 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.002664/0.002664, allocations: 68.17 kB / 439.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1361, allocations: 54.38 MB / 493.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.005281/0.1414, allocations: 1.69 MB / 495.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.1463, allocations: 1.827 MB / 497.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.1464, allocations: 3.938 kB / 497.5 MB, free: 2.262 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.0004016/0.1468, allocations: 39.78 kB / 497.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.1474, allocations: 175.2 kB / 497.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.1478, allocations: 83.78 kB / 497.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.1481, allocations: 99.69 kB / 497.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1482, allocations: 4.234 kB / 497.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1483, allocations: 47.84 kB / 497.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.1486, allocations: 39.78 kB / 497.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.1486, allocations: 8 kB / 498 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.1492, allocations: 243.7 kB / 498.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.1493, allocations: 27.92 kB / 498.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1494, allocations: 47.72 kB / 498.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.1501, allocations: 287 kB / 498.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1501, allocations: 0 / 498.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1501, allocations: 0 / 498.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.1501, allocations: 0 / 498.5 MB, free: 1.176 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.0009956/0.1511, allocations: 415 kB / 499 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.1511, allocations: 12.03 kB / 499 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.1512, allocations: 42.73 kB / 499 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.1513, allocations: 24.78 kB / 499 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.1517, allocations: 154.3 kB / 499.2 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1517, allocations: 4.375 kB / 499.2 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1517, allocations: 7.938 kB / 499.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.152, allocations: 91.38 kB / 499.3 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.152, allocations: 0 / 499.3 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.152, allocations: 4 kB / 499.3 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.152, allocations: 0 / 499.3 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.1522, allocations: 63.89 kB / 499.3 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.1527, allocations: 296.7 kB / 499.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.153, allocations: 89.22 kB / 499.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1531, allocations: 45.75 kB / 499.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1531, allocations: 4 kB / 499.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.1534, allocations: 134.8 kB / 499.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1534, allocations: 0 / 499.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005655/0.1539, allocations: 243.1 kB / 0.4884 GB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.154, allocations: 110.8 kB / 0.4885 GB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1542, allocations: 168 kB / 0.4887 GB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1542, allocations: 25.7 kB / 0.4887 GB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.1543, allocations: 104.1 kB / 0.4888 GB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.1543, allocations: 39.88 kB / 0.4888 GB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.1544, allocations: 25.66 kB / 0.4889 GB, free: 14.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1546, allocations: 326.8 kB / 0.4892 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.1547, allocations: 35.98 kB / 0.4892 GB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1548, allocations: 49.69 kB / 0.4893 GB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.155, allocations: 145.1 kB / 0.4894 GB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.155, allocations: 0 / 0.4894 GB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003451/0.1553, allocations: 191.2 kB / 0.4896 GB, free: 14.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.1554, allocations: 45.69 kB / 0.4896 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1554, allocations: 7.938 kB / 0.4896 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1554, allocations: 0 / 0.4896 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.1555, allocations: 8 kB / 0.4896 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.1555, allocations: 3.938 kB / 0.4896 GB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.1555, allocations: 11.98 kB / 0.4897 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1556, allocations: 4 kB / 0.4897 GB, free: 14.02 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.0001571/0.1557, allocations: 155.5 kB / 0.4898 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1558, allocations: 15.91 kB / 0.4898 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.1558, allocations: 16.72 kB / 0.4898 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1558, allocations: 0 / 0.4898 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1558, allocations: 3.938 kB / 0.4898 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1558, allocations: 0 / 0.4898 GB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.156, allocations: 176.7 kB / 0.49 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.156, allocations: 0 / 0.49 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.1561, allocations: 11.98 kB / 0.49 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1561, allocations: 4 kB / 0.49 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1561, allocations: 11.94 kB / 0.49 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1561, allocations: 7.938 kB / 0.49 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1561, allocations: 7.938 kB / 0.4901 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.1565, allocations: 243.5 kB / 0.4903 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.1565, allocations: 28.16 kB / 0.4903 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.1566, allocations: 4 kB / 0.4903 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1566, allocations: 7.984 kB / 0.4903 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.1567, allocations: 11.92 kB / 0.4903 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.1567, allocations: 15.98 kB / 0.4904 GB, free: 13.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1568, allocations: 119.2 kB / 0.4905 GB, free: 13.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1568, allocations: 0 / 0.4905 GB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003717/0.1572, allocations: 91.73 kB / 0.4906 GB, free: 13.01 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.002782/0.16, allocations: 1.243 MB / 0.4918 GB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003468/0.1603, allocations: 159.3 kB / 0.4919 GB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1603, allocations: 0 / 0.4919 GB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1605, allocations: 107.7 kB / 0.492 GB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1608, allocations: 24.06 kB / 0.492 GB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.1635, allocations: 1.92 MB / 0.4939 GB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1639, allocations: 0.7002 MB / 0.4946 GB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.06e-05/0.1639, allocations: 24.41 kB / 0.4946 GB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.18e-05/0.164, allocations: 43.34 kB / 0.4947 GB, free: 8.789 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.164, allocations: 4 kB / 0.4947 GB, free: 8.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.2013, allocations: 5.008 MB / 0.4996 GB, free: 3.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.58, allocations: 8.062 kB / 0.4996 GB, free: 3.77 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.590237028001866] Failed to read output from testmodel.py, exit status != 0: 11.700888223997026 11.984342568 11.831242258 Calling exit ...