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.001259/0.001259, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001431/0.001431, allocations: 214.5 kB / 23.03 MB, free: 4.949 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.01983/0.01983, allocations: 3.279 MB / 316.5 MB, free: 15.63 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.001933/0.001933, allocations: 59.91 kB / 440.3 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09663, allocations: 54.39 MB / 494.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSXTest): time 0.003174/0.09981, allocations: 1.658 MB / 496.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.1025, allocations: 1.753 MB / 498.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.1026, allocations: 4 kB / 498.1 MB, free: 2.074 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.000318/0.1029, allocations: 55.64 kB / 498.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005237/0.1034, allocations: 163.3 kB / 498.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.1037, allocations: 83.78 kB / 498.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1038, allocations: 87.77 kB / 498.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.1039, allocations: 12.22 kB / 498.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.949e-05/0.104, allocations: 47.78 kB / 498.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1041, allocations: 39.84 kB / 498.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1041, allocations: 4 kB / 498.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.1045, allocations: 235.7 kB / 498.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.1046, allocations: 19.97 kB / 498.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.377e-05/0.1046, allocations: 39.73 kB / 498.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.105, allocations: 275.1 kB / 499.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.105, allocations: 0 / 499.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.105, allocations: 0 / 499.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.105, allocations: 4 kB / 499.1 MB, free: 1.023 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.0006699/0.1057, allocations: 422.9 kB / 499.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1057, allocations: 12.03 kB / 499.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.654e-05/0.1058, allocations: 4.188 kB / 499.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.1058, allocations: 46.67 kB / 499.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1058, allocations: 12.84 kB / 499.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1061, allocations: 154.3 kB / 499.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1061, allocations: 8.125 kB / 499.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1061, allocations: 4 kB / 499.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.1064, allocations: 129.1 kB / 499.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1064, allocations: 0 / 499.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1064, allocations: 7.938 kB / 499.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1064, allocations: 0 / 499.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1065, allocations: 85.67 kB / 500 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.107, allocations: 276.8 kB / 0.4885 GB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1072, allocations: 122.9 kB / 0.4886 GB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1073, allocations: 79.45 kB / 0.4887 GB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1074, allocations: 0 / 0.4887 GB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.1076, allocations: 176.4 kB / 0.4889 GB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1076, allocations: 0 / 0.4889 GB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005346/0.1081, allocations: 306.6 kB / 0.4892 GB, free: 14.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.1082, allocations: 110.8 kB / 0.4893 GB, free: 14.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1084, allocations: 168.7 kB / 0.4895 GB, free: 14.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1084, allocations: 29.7 kB / 0.4895 GB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.1085, allocations: 100.1 kB / 0.4896 GB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1085, allocations: 31.73 kB / 0.4896 GB, free: 14.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.1086, allocations: 21.72 kB / 0.4896 GB, free: 14.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1087, allocations: 322.8 kB / 0.4899 GB, free: 14.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1088, allocations: 77.67 kB / 0.49 GB, free: 14.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1089, allocations: 83.39 kB / 0.4901 GB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.1091, allocations: 153.2 kB / 0.4902 GB, free: 13.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1091, allocations: 4 kB / 0.4902 GB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003513/0.1095, allocations: 228.9 kB / 0.4905 GB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.1095, allocations: 41.69 kB / 0.4905 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1095, allocations: 0 / 0.4905 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1095, allocations: 4 kB / 0.4905 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.1096, allocations: 15.94 kB / 0.4905 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1096, allocations: 0 / 0.4905 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.1097, allocations: 11.98 kB / 0.4905 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.1097, allocations: 4 kB / 0.4905 GB, free: 13.49 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.0001378/0.1099, allocations: 155.5 kB / 0.4907 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.1099, allocations: 15.91 kB / 0.4907 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.1099, allocations: 12.72 kB / 0.4907 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1099, allocations: 7.875 kB / 0.4907 GB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1099, allocations: 7.922 kB / 0.4907 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1099, allocations: 0 / 0.4907 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.1101, allocations: 168.7 kB / 0.4909 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1101, allocations: 0 / 0.4909 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.1102, allocations: 12 kB / 0.4909 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1102, allocations: 0 / 0.4909 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1102, allocations: 8 kB / 0.4909 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1102, allocations: 7.875 kB / 0.4909 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1102, allocations: 4 kB / 0.4909 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.1106, allocations: 273.3 kB / 0.4912 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.1107, allocations: 23.83 kB / 0.4912 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.1107, allocations: 7.938 kB / 0.4912 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.1108, allocations: 19.92 kB / 0.4912 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.1108, allocations: 4 kB / 0.4912 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1108, allocations: 4 kB / 0.4912 GB, free: 12.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.111, allocations: 128.9 kB / 0.4914 GB, free: 12.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.111, allocations: 0 / 0.4914 GB, free: 12.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.1113, allocations: 91.67 kB / 0.4914 GB, free: 12.46 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.003301/0.1146, allocations: 1.307 MB / 0.4927 GB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.115, allocations: 230.7 kB / 0.4929 GB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.115, allocations: 0 / 0.4929 GB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.1151, allocations: 145 kB / 0.4931 GB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.1154, allocations: 15.98 kB / 0.4931 GB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.118, allocations: 2.098 MB / 0.4951 GB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.808e-05/0.1181, allocations: 88.98 kB / 0.4952 GB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.98e-05/0.1182, allocations: 20.42 kB / 0.4952 GB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.1183, allocations: 43.41 kB / 0.4953 GB, free: 8.477 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1183, allocations: 0 / 0.4953 GB, free: 8.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/0.1532, allocations: 5.168 MB / 0.5003 GB, free: 3.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.41, allocations: 4.062 kB / 0.5003 GB, free: 3.336 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 & /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.993204890051857] Failed to read output from testmodel.py, exit status != 0: 11.583691599895246 11.601696232 11.493258257 Calling exit ...