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.001727/0.001727, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002038/0.002038, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.793 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.01599/0.01599, allocations: 3.279 MB / 315.7 MB, free: 15.61 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.001995/0.001995, allocations: 67.91 kB / 439.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1031, allocations: 54.38 MB / 493.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003754/0.1069, allocations: 1.662 MB / 495.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.1101, allocations: 1.753 MB / 497.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.245e-05/0.1102, allocations: 4 kB / 497.3 MB, free: 2 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.0003699/0.1106, allocations: 47.7 kB / 497.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005639/0.1111, allocations: 169.8 kB / 497.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1114, allocations: 91.7 kB / 497.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1116, allocations: 83.78 kB / 497.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.1117, allocations: 12.22 kB / 497.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.1118, allocations: 47.78 kB / 497.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1119, allocations: 35.84 kB / 497.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1119, allocations: 4 kB / 497.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.1123, allocations: 219.7 kB / 498 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.1124, allocations: 35.84 kB / 498 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.1125, allocations: 35.73 kB / 498.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006022/0.1131, allocations: 275.1 kB / 498.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1131, allocations: 4 kB / 498.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1131, allocations: 0 / 498.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1131, allocations: 0 / 498.3 MB, free: 0.957 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.0007886/0.1139, allocations: 422.9 kB / 498.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1139, allocations: 8.031 kB / 498.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.114, allocations: 42.73 kB / 498.8 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.114, allocations: 20.84 kB / 498.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.1144, allocations: 154.3 kB / 499 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1144, allocations: 384 / 499 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.1144, allocations: 7.938 kB / 499 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.1146, allocations: 133 kB / 499.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1147, allocations: 0 / 499.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1147, allocations: 4 kB / 499.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1147, allocations: 0 / 499.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.1148, allocations: 85.59 kB / 499.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.1153, allocations: 284.8 kB / 499.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.1156, allocations: 118.9 kB / 499.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1157, allocations: 75.45 kB / 499.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1157, allocations: 4 kB / 499.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.116, allocations: 176.4 kB / 499.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.116, allocations: 0 / 499.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000564/0.1165, allocations: 310.5 kB / 0.4884 GB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.1166, allocations: 110.8 kB / 0.4885 GB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1168, allocations: 172.5 kB / 0.4887 GB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1168, allocations: 25.7 kB / 0.4887 GB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.1169, allocations: 100.1 kB / 0.4888 GB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.1169, allocations: 31.73 kB / 0.4888 GB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.117, allocations: 21.72 kB / 0.4889 GB, free: 14.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1171, allocations: 322.8 kB / 0.4892 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.1172, allocations: 69.67 kB / 0.4892 GB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1173, allocations: 87.39 kB / 0.4893 GB, free: 13.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.1176, allocations: 161.2 kB / 0.4895 GB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1176, allocations: 0 / 0.4895 GB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003743/0.1179, allocations: 232.9 kB / 0.4897 GB, free: 13.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.118, allocations: 37.69 kB / 0.4897 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.118, allocations: 0 / 0.4897 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.118, allocations: 0 / 0.4897 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.1181, allocations: 12 kB / 0.4897 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1181, allocations: 7.922 kB / 0.4897 GB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.1181, allocations: 8 kB / 0.4898 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1182, allocations: 4 kB / 0.4898 GB, free: 13.43 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.0001408/0.1183, allocations: 159.5 kB / 0.4899 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1183, allocations: 15.91 kB / 0.4899 GB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.1184, allocations: 16.7 kB / 0.4899 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1184, allocations: 4 kB / 0.4899 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1184, allocations: 3.938 kB / 0.49 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1184, allocations: 0 / 0.49 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.1186, allocations: 164.7 kB / 0.4901 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1186, allocations: 0 / 0.4901 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.1186, allocations: 15.88 kB / 0.4901 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1186, allocations: 0 / 0.4901 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1186, allocations: 12 kB / 0.4901 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1186, allocations: 3.984 kB / 0.4901 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1186, allocations: 3.938 kB / 0.4901 GB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.1191, allocations: 273.4 kB / 0.4904 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.1191, allocations: 27.83 kB / 0.4904 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.1191, allocations: 4 kB / 0.4904 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1192, allocations: 7.984 kB / 0.4904 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1192, allocations: 7.938 kB / 0.4904 GB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.1193, allocations: 15.92 kB / 0.4905 GB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1194, allocations: 120.9 kB / 0.4906 GB, free: 12.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1194, allocations: 8 kB / 0.4906 GB, free: 12.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003697/0.1197, allocations: 87.73 kB / 0.4907 GB, free: 12.4 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.00274/0.1225, allocations: 1.308 MB / 0.4919 GB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003616/0.1228, allocations: 226.7 kB / 0.4922 GB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1228, allocations: 0 / 0.4922 GB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.123, allocations: 145 kB / 0.4923 GB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.1233, allocations: 22.5 kB / 0.4923 GB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.1259, allocations: 2.086 MB / 0.4944 GB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.625e-05/0.126, allocations: 84.98 kB / 0.4944 GB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.996e-05/0.1261, allocations: 20.41 kB / 0.4945 GB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/0.1262, allocations: 43.41 kB / 0.4945 GB, free: 8.426 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1262, allocations: 0 / 0.4945 GB, free: 8.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.1605, allocations: 5.501 MB / 0.4999 GB, free: 2.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.21, allocations: 12.42 kB / 0.4999 GB, free: 2.938 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.765297692269087] Failed to read output from testmodel.py, exit status != 0: 11.32788740703836 11.343800849 11.227666289 Calling exit ...