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.00128/0.00128, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001454/0.001454, allocations: 215 kB / 22.25 MB, free: 5.129 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.957 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.0203/0.0203, allocations: 3.27 MB / 315.7 MB, free: 15.79 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.001994/0.001994, allocations: 75.88 kB / 439.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09974, allocations: 54.37 MB / 493.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003477/0.1032, allocations: 1.697 MB / 495.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.1061, allocations: 1.823 MB / 497.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.1062, allocations: 4 kB / 497.5 MB, free: 2.238 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.0003313/0.1065, allocations: 55.7 kB / 497.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.1071, allocations: 167.3 kB / 497.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.1073, allocations: 83.78 kB / 497.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1075, allocations: 91.7 kB / 497.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.1076, allocations: 12.22 kB / 497.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.78e-05/0.1077, allocations: 43.8 kB / 497.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1078, allocations: 39.83 kB / 497.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1079, allocations: 8 kB / 498 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.1083, allocations: 251.7 kB / 498.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.1084, allocations: 27.86 kB / 498.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.1084, allocations: 39.73 kB / 498.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.1089, allocations: 283.1 kB / 498.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1089, allocations: 0 / 498.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1089, allocations: 0 / 498.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1089, allocations: 3.938 kB / 498.5 MB, free: 1.148 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.0006957/0.1096, allocations: 419 kB / 499 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1096, allocations: 15.97 kB / 499 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.1096, allocations: 38.75 kB / 499 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.1097, allocations: 20.83 kB / 499 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.11, allocations: 146.4 kB / 499.2 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.11, allocations: 8.375 kB / 499.2 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.11, allocations: 3.938 kB / 499.2 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.1102, allocations: 99.25 kB / 499.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1102, allocations: 0 / 499.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1102, allocations: 11.98 kB / 499.3 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1102, allocations: 7.984 kB / 499.3 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.1104, allocations: 47.97 kB / 499.3 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.1108, allocations: 292.8 kB / 499.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1111, allocations: 89.22 kB / 499.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1112, allocations: 53.73 kB / 499.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.1112, allocations: 0 / 499.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.1114, allocations: 138.7 kB / 499.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1114, allocations: 8 kB / 499.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004924/0.1119, allocations: 235.1 kB / 0.4884 GB, free: 15.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.112, allocations: 102.8 kB / 0.4885 GB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1122, allocations: 172.1 kB / 0.4887 GB, free: 15.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.339e-05/0.1122, allocations: 25.7 kB / 0.4887 GB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.1123, allocations: 96.12 kB / 0.4888 GB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.1123, allocations: 39.75 kB / 0.4888 GB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.1124, allocations: 29.7 kB / 0.4889 GB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1125, allocations: 326.8 kB / 0.4892 GB, free: 14.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.1126, allocations: 35.98 kB / 0.4892 GB, free: 14.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.1127, allocations: 53.69 kB / 0.4893 GB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.1129, allocations: 149 kB / 0.4894 GB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1129, allocations: 0 / 0.4894 GB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00033/0.1133, allocations: 199.2 kB / 0.4896 GB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.1133, allocations: 33.7 kB / 0.4896 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1133, allocations: 4 kB / 0.4896 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1133, allocations: 0 / 0.4896 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.1134, allocations: 11.98 kB / 0.4896 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1134, allocations: 3.938 kB / 0.4896 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.1135, allocations: 12 kB / 0.4897 GB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1135, allocations: 4 kB / 0.4897 GB, free: 13.99 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.0001389/0.1136, allocations: 159.4 kB / 0.4898 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.1137, allocations: 19.91 kB / 0.4898 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.1137, allocations: 16.7 kB / 0.4899 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1137, allocations: 0 / 0.4899 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1137, allocations: 3.938 kB / 0.4899 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1137, allocations: 0 / 0.4899 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1139, allocations: 180.7 kB / 0.49 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1139, allocations: 0 / 0.49 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.1139, allocations: 8 kB / 0.49 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1139, allocations: 0 / 0.49 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.114, allocations: 7.984 kB / 0.49 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.114, allocations: 4 kB / 0.49 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.114, allocations: 7.938 kB / 0.4901 GB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.1144, allocations: 243.8 kB / 0.4903 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.1144, allocations: 27.83 kB / 0.4903 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1144, allocations: 3.984 kB / 0.4903 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1145, allocations: 12 kB / 0.4903 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1145, allocations: 11.92 kB / 0.4903 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1146, allocations: 8 kB / 0.4903 GB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.1147, allocations: 123.2 kB / 0.4905 GB, free: 13.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1147, allocations: 0 / 0.4905 GB, free: 13.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.115, allocations: 95.72 kB / 0.4906 GB, free: 12.98 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.002635/0.1177, allocations: 1.248 MB / 0.4918 GB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.118, allocations: 163.4 kB / 0.4919 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.118, allocations: 0 / 0.4919 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1181, allocations: 107.3 kB / 0.492 GB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1184, allocations: 23.45 kB / 0.4921 GB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1208, allocations: 1.925 MB / 0.4939 GB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1211, allocations: 0.6963 MB / 0.4946 GB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.408e-05/0.1212, allocations: 20.42 kB / 0.4946 GB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.1213, allocations: 35.59 kB / 0.4947 GB, free: 8.766 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1213, allocations: 0 / 0.4947 GB, free: 8.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.156, allocations: 5.013 MB / 0.4996 GB, free: 3.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.25, allocations: 10.88 kB / 0.4996 GB, free: 3.742 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 sys.exit(0), Time elapsed: 13.995421623112634] Failed to read output from testmodel.py, exit status != 0: 11.373735087923706 11.566050591 11.453068446 Calling exit ...