Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XLSTest.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.001235/0.001235, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001356/0.001356, allocations: 210.3 kB / 20.13 MB, free: 2.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.51/1.51, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.01566/0.01566, allocations: 3.27 MB / 312.8 MB, free: 2.121 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.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",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.002022/0.002022, allocations: 63.67 kB / 435.1 MB, free: 39.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09562, allocations: 54.33 MB / 489.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002668/0.09829, allocations: 1.696 MB / 491.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.1004, allocations: 1.726 MB / 492.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.1005, allocations: 9.312 kB / 492.9 MB, free: 10.9 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:179:3-207:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.1009, allocations: 41.84 kB / 492.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004364/0.1014, allocations: 172.5 kB / 493.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.1016, allocations: 85.94 kB / 493.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1017, allocations: 97.81 kB / 493.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1018, allocations: 12.14 kB / 493.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.1019, allocations: 38.33 kB / 493.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.1021, allocations: 45.55 kB / 493.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.1021, allocations: 9.594 kB / 493.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.1025, allocations: 237.8 kB / 493.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.1025, allocations: 24.17 kB / 493.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.1026, allocations: 44.23 kB / 493.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.103, allocations: 286.6 kB / 493.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.103, allocations: 3.938 kB / 493.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.103, allocations: 0 / 493.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.103, allocations: 1.344 kB / 493.9 MB, free: 10.24 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.0007339/0.1038, allocations: 0.4912 MB / 494.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1038, allocations: 13.78 kB / 494.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.697e-05/0.1038, allocations: 1.5 kB / 494.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.591e-05/0.1038, allocations: 37.53 kB / 494.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.1039, allocations: 14.25 kB / 494.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1041, allocations: 217.5 kB / 494.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1042, allocations: 2.312 kB / 494.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1042, allocations: 2.969 kB / 494.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.1044, allocations: 97.56 kB / 494.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1044, allocations: 0.5625 kB / 494.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1044, allocations: 2.375 kB / 494.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1044, allocations: 3.984 kB / 494.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.1046, allocations: 60.17 kB / 494.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.1049, allocations: 321.7 kB / 495.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1052, allocations: 92.12 kB / 495.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.943e-05/0.1053, allocations: 48.36 kB / 495.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1053, allocations: 1 kB / 495.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1055, allocations: 146.7 kB / 495.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.1055, allocations: 1.375 kB / 495.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004311/0.1059, allocations: 232.5 kB / 495.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1059, allocations: 118.7 kB / 495.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1061, allocations: 160.3 kB / 496 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1061, allocations: 29.7 kB / 496 MB, free: 8.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.1061, allocations: 104.1 kB / 496.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.1061, allocations: 31.81 kB / 496.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.1062, allocations: 37.7 kB / 496.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.1063, allocations: 318.8 kB / 496.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.1063, allocations: 35.98 kB / 496.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.1064, allocations: 53.69 kB / 496.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1066, allocations: 153 kB / 496.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1066, allocations: 0 / 496.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002556/0.1068, allocations: 195.2 kB / 496.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.1069, allocations: 33.7 kB / 496.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1069, allocations: 3.938 kB / 496.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1069, allocations: 4 kB / 496.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.1069, allocations: 11.98 kB / 497 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1069, allocations: 320 / 497 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.107, allocations: 12 kB / 497 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1071, allocations: 8 kB / 497 MB, free: 7.148 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.631e-05/0.1072, allocations: 157.7 kB / 497.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.1072, allocations: 15.91 kB / 497.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.1072, allocations: 16.66 kB / 497.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1072, allocations: 0 / 497.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1072, allocations: 0 / 497.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1072, allocations: 0 / 497.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.1074, allocations: 209.6 kB / 497.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1074, allocations: 0 / 497.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.1074, allocations: 15.92 kB / 497.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1074, allocations: 4 kB / 497.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1074, allocations: 7.938 kB / 497.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1074, allocations: 3.984 kB / 497.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1074, allocations: 4 kB / 497.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.1077, allocations: 243.8 kB / 497.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.1078, allocations: 96.98 kB / 497.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1078, allocations: 11.94 kB / 497.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.1079, allocations: 19.97 kB / 497.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.1079, allocations: 0 / 497.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1079, allocations: 8.062 kB / 497.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.749e-05/0.108, allocations: 138.4 kB / 497.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.108, allocations: 0 / 497.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003347/0.1084, allocations: 87.73 kB / 498 MB, free: 6.02 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.001612/0.11, allocations: 1.121 MB / 499.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.1103, allocations: 167.3 kB / 499.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1103, allocations: 3.938 kB / 499.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1104, allocations: 107.3 kB / 499.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1106, allocations: 17.7 kB / 499.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.1126, allocations: 1.915 MB / 0.4896 GB, free: 2.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.1128, allocations: 0.7002 MB / 0.4903 GB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.16e-05/0.1128, allocations: 16.42 kB / 0.4903 GB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.1129, allocations: 43.41 kB / 0.4903 GB, free: 1.848 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1129, allocations: 0 / 0.4903 GB, free: 1.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.1388, allocations: 4.705 MB / 0.4949 GB, free: 13.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/8.435, allocations: 13.98 kB / 0.4949 GB, free: 13.14 MB / 366.1 MB " [Timeout remaining time 651] (rm -f ExternData_ExternData.Examples.XLSTest.pipe ; mkfifo ExternData_ExternData.Examples.XLSTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XLSTest.pipe >> ../files/ExternData_ExternData.Examples.XLSTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_XLSTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_XLSTest.fmu > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.10186827997677] Failed to read output from testmodel.py, exit status != 0: 8.566117796988692 8.587997946 8.481074851 Calling exit ...