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.001351/0.001351, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001495/0.001495, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.01578/0.01578, allocations: 3.272 MB / 316.5 MB, free: 15.84 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="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.001913/0.001913, allocations: 70.55 kB / 440.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.09728, allocations: 54.38 MB / 494.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003051/0.1003, allocations: 1.69 MB / 496.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002885/0.1032, allocations: 1.819 MB / 498.2 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.1033, allocations: 4 kB / 498.2 MB, free: 2.293 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.0003391/0.1036, allocations: 43.77 kB / 498.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.1042, allocations: 173.4 kB / 498.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1044, allocations: 91.75 kB / 498.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1046, allocations: 95.7 kB / 498.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.1047, allocations: 4.234 kB / 498.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/0.1048, allocations: 43.84 kB / 498.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.105, allocations: 43.78 kB / 498.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.105, allocations: 8 kB / 498.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.1054, allocations: 247.6 kB / 499 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.1054, allocations: 19.92 kB / 499 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.1055, allocations: 51.72 kB / 499 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.1059, allocations: 279.1 kB / 499.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.106, allocations: 4 kB / 499.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.106, allocations: 3.938 kB / 499.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.106, allocations: 0 / 499.3 MB, free: 1.203 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.0006848/0.1066, allocations: 421.4 kB / 499.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1067, allocations: 12.03 kB / 499.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.471e-05/0.1067, allocations: 192 / 499.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.1067, allocations: 38.75 kB / 499.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.1068, allocations: 24.83 kB / 499.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.1071, allocations: 158.2 kB / 500 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1071, allocations: 8.125 kB / 500 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1071, allocations: 4 kB / 500 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1073, allocations: 91.38 kB / 0.4883 GB, free: 392 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1073, allocations: 3.984 kB / 0.4884 GB, free: 388 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1073, allocations: 4 kB / 0.4884 GB, free: 384 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1073, allocations: 4 kB / 0.4884 GB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.1075, allocations: 55.91 kB / 0.4884 GB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.1079, allocations: 288.7 kB / 0.4887 GB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1082, allocations: 93.22 kB / 0.4888 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1083, allocations: 45.73 kB / 0.4888 GB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1083, allocations: 4 kB / 0.4888 GB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.1085, allocations: 138.7 kB / 0.489 GB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.1085, allocations: 0 / 0.489 GB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005121/0.109, allocations: 239.3 kB / 0.4892 GB, free: 15.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.1091, allocations: 114.8 kB / 0.4893 GB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1093, allocations: 163.8 kB / 0.4895 GB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1093, allocations: 29.7 kB / 0.4895 GB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.1094, allocations: 100.1 kB / 0.4896 GB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.1094, allocations: 27.75 kB / 0.4896 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.1095, allocations: 25.7 kB / 0.4896 GB, free: 14.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1096, allocations: 326.8 kB / 0.4899 GB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.1097, allocations: 39.92 kB / 0.49 GB, free: 14.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1098, allocations: 53.62 kB / 0.49 GB, free: 14.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.11, allocations: 153 kB / 0.4902 GB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.11, allocations: 0 / 0.4902 GB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003216/0.1104, allocations: 195.2 kB / 0.4904 GB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.1104, allocations: 41.7 kB / 0.4904 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1104, allocations: 0 / 0.4904 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1104, allocations: 0 / 0.4904 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.1105, allocations: 15.92 kB / 0.4904 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1105, allocations: 4 kB / 0.4904 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.1106, allocations: 4.328 kB / 0.4904 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1106, allocations: 4 kB / 0.4904 GB, free: 14.05 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.0001373/0.1107, allocations: 155.5 kB / 0.4906 GB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.1108, allocations: 27.88 kB / 0.4906 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.1108, allocations: 12.72 kB / 0.4906 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1108, allocations: 3.938 kB / 0.4906 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1108, allocations: 0 / 0.4906 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1108, allocations: 4 kB / 0.4906 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.111, allocations: 176.7 kB / 0.4908 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.111, allocations: 0 / 0.4908 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.111, allocations: 11.94 kB / 0.4908 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.111, allocations: 4 kB / 0.4908 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.111, allocations: 7.984 kB / 0.4908 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.309e-05/0.1111, allocations: 15.94 kB / 0.4908 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1111, allocations: 320 / 0.4908 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.1114, allocations: 243.5 kB / 0.4911 GB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.1115, allocations: 23.83 kB / 0.4911 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.1115, allocations: 4 kB / 0.4911 GB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.1116, allocations: 7.938 kB / 0.4911 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1116, allocations: 11.98 kB / 0.4911 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1116, allocations: 8 kB / 0.4911 GB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1118, allocations: 126 kB / 0.4912 GB, free: 13.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1118, allocations: 4 kB / 0.4912 GB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.1121, allocations: 91.72 kB / 0.4913 GB, free: 13.04 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.002628/0.1147, allocations: 1.251 MB / 0.4925 GB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.1151, allocations: 159.3 kB / 0.4927 GB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1151, allocations: 0 / 0.4927 GB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1152, allocations: 115.3 kB / 0.4928 GB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.1155, allocations: 12 kB / 0.4928 GB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.118, allocations: 1.918 MB / 0.4947 GB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1183, allocations: 0.6963 MB / 0.4954 GB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.189e-05/0.1184, allocations: 16.42 kB / 0.4954 GB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.1185, allocations: 47.41 kB / 0.4954 GB, free: 8.82 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1185, allocations: 0 / 0.4954 GB, free: 8.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.1463, allocations: 5.032 MB / 0.5003 GB, free: 3.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.22, allocations: 10.56 kB / 0.5004 GB, free: 3.785 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.974841399001889] Failed to read output from testmodel.py, exit status != 0: 11.391506067942828 11.600863 11.491975101 Calling exit ...