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.001756/0.001756, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001946/0.001946, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.471/1.471, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.01692/0.01692, allocations: 3.274 MB / 312.8 MB, free: 2.148 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSXTest,fileNamePrefix="ExternData_ExternData_Examples_XLSXTest",fmuType="cs",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.002119/0.002119, allocations: 66.78 kB / 435.1 MB, free: 39.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1057, allocations: 54.34 MB / 489.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.00362/0.1093, allocations: 1.679 MB / 491.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.113, allocations: 1.733 MB / 492.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.1132, allocations: 1.344 kB / 492.8 MB, free: 11.05 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.0005416/0.1137, allocations: 49.19 kB / 492.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007821/0.1145, allocations: 167.9 kB / 493.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.1149, allocations: 86.17 kB / 493.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.1151, allocations: 92.89 kB / 493.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1152, allocations: 8.953 kB / 493.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1153, allocations: 40.78 kB / 493.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1155, allocations: 45.73 kB / 493.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1155, allocations: 6.906 kB / 493.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.116, allocations: 236.4 kB / 493.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.116, allocations: 21.17 kB / 493.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.1161, allocations: 45.94 kB / 493.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005162/0.1166, allocations: 278.1 kB / 493.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1166, allocations: 4 kB / 493.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1166, allocations: 1.625 kB / 493.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1166, allocations: 0 / 493.9 MB, free: 10.4 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.0007147/0.1174, allocations: 0.4909 MB / 494.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1174, allocations: 10.53 kB / 494.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.023e-05/0.1174, allocations: 1.156 kB / 494.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.1175, allocations: 36.72 kB / 494.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.1175, allocations: 15.34 kB / 494.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.118, allocations: 222.2 kB / 494.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.118, allocations: 5.375 kB / 494.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.118, allocations: 2.938 kB / 494.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.1182, allocations: 97.97 kB / 494.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1183, allocations: 3.984 kB / 494.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1183, allocations: 1.562 kB / 494.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1183, allocations: 1.156 kB / 494.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1184, allocations: 63.86 kB / 494.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.1189, allocations: 313.7 kB / 495.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1191, allocations: 89.22 kB / 495.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/0.1192, allocations: 53.73 kB / 495.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1192, allocations: 0 / 495.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.1194, allocations: 138.7 kB / 495.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1194, allocations: 0 / 495.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004598/0.1199, allocations: 243.2 kB / 495.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1199, allocations: 110.8 kB / 495.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1201, allocations: 164.9 kB / 495.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.1201, allocations: 25.7 kB / 496 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.1201, allocations: 100.1 kB / 496.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1202, allocations: 35.62 kB / 496.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.1202, allocations: 25.7 kB / 496.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.1203, allocations: 322.8 kB / 496.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.1203, allocations: 39.98 kB / 496.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.1204, allocations: 57.69 kB / 496.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1206, allocations: 145.1 kB / 496.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1206, allocations: 0 / 496.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002584/0.1208, allocations: 191.2 kB / 496.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.1209, allocations: 41.64 kB / 496.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1209, allocations: 4 kB / 496.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1209, allocations: 0 / 496.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.121, allocations: 23.86 kB / 496.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.121, allocations: 0 / 496.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.121, allocations: 7.938 kB / 496.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.121, allocations: 4 kB / 496.9 MB, free: 7.211 MB / 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 9.127e-05/0.1211, allocations: 159.5 kB / 497.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.1212, allocations: 15.89 kB / 497.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.1212, allocations: 12.72 kB / 497.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1212, allocations: 11.94 kB / 497.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1212, allocations: 0 / 497.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1212, allocations: 4 kB / 497.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.1214, allocations: 205.6 kB / 497.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1214, allocations: 4 kB / 497.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.1214, allocations: 8 kB / 497.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1214, allocations: 336 / 497.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1214, allocations: 7.984 kB / 497.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1214, allocations: 3.938 kB / 497.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1214, allocations: 7.875 kB / 497.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.1217, allocations: 255.5 kB / 497.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.1218, allocations: 93 kB / 497.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.1218, allocations: 8 kB / 497.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1219, allocations: 11.92 kB / 497.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.1219, allocations: 4 kB / 497.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1219, allocations: 8 kB / 497.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.122, allocations: 130.2 kB / 497.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.122, allocations: 0 / 497.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.1224, allocations: 95.66 kB / 498 MB, free: 6.074 MB / 350.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.003145/0.1255, allocations: 1.239 MB / 499.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.1258, allocations: 163.3 kB / 499.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1258, allocations: 0 / 499.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1259, allocations: 103.4 kB / 499.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.1261, allocations: 25.52 kB / 499.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.1279, allocations: 1.917 MB / 0.4896 GB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.128, allocations: 0.7002 MB / 0.4903 GB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.727e-05/0.1281, allocations: 16.42 kB / 0.4903 GB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.1282, allocations: 43.41 kB / 0.4904 GB, free: 1.863 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1282, allocations: 4 kB / 0.4904 GB, free: 1.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.1529, allocations: 4.832 MB / 0.4951 GB, free: 12.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.401, allocations: 10.34 kB / 0.4951 GB, free: 12.96 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XLSXTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XLSXTest.fmu > ExternData_ExternData.Examples.XLSXTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.109156678023282] Failed to read output from testmodel.py, exit status != 0: 8.540995055052917 8.561380046 8.44136869 Calling exit ...