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.001768/0.001768, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.002125/0.002125, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.02353/0.02353, allocations: 3.266 MB / 312.1 MB, free: 0.9688 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.XLSTest,fileNamePrefix="ExternData_ExternData_Examples_XLSTest",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.001968/0.001968, allocations: 63.89 kB / 434.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/0.09415, allocations: 54.34 MB / 488.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.003036/0.09718, allocations: 1.694 MB / 490.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.09983, allocations: 1.736 MB / 492.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.0999, allocations: 0 / 492.1 MB, free: 4.836 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.0003744/0.1003, allocations: 55.72 kB / 492.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006078/0.1009, allocations: 171.2 kB / 492.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1012, allocations: 90.14 kB / 492.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1014, allocations: 87.77 kB / 492.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.1015, allocations: 11.98 kB / 492.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.252e-05/0.1016, allocations: 43.78 kB / 492.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.1018, allocations: 43.84 kB / 492.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1018, allocations: 8 kB / 492.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004049/0.1022, allocations: 239.7 kB / 492.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.1023, allocations: 19.92 kB / 492.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.1024, allocations: 47.72 kB / 492.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.1028, allocations: 283.1 kB / 493.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1028, allocations: 0 / 493.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1028, allocations: 0 / 493.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1029, allocations: 0 / 493.2 MB, free: 3.758 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.000772/0.1036, allocations: 0.496 MB / 493.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1037, allocations: 12.03 kB / 493.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.1037, allocations: 34.75 kB / 493.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.1038, allocations: 16.84 kB / 493.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.1041, allocations: 216.5 kB / 494 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1041, allocations: 4 kB / 494 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1041, allocations: 4 kB / 494 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1043, allocations: 99.31 kB / 494.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1044, allocations: 0 / 494.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1044, allocations: 4 kB / 494.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1044, allocations: 4 kB / 494.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1045, allocations: 51.94 kB / 494.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.105, allocations: 321.6 kB / 494.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1053, allocations: 89.28 kB / 494.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1054, allocations: 53.73 kB / 494.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1054, allocations: 3.938 kB / 494.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.1056, allocations: 134.8 kB / 494.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1056, allocations: 0 / 494.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005268/0.1062, allocations: 243.2 kB / 495 MB, free: 1.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.1062, allocations: 114.7 kB / 495.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1064, allocations: 164.7 kB / 495.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1065, allocations: 33.64 kB / 495.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.1065, allocations: 100.1 kB / 495.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.1066, allocations: 31.75 kB / 495.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.1066, allocations: 25.7 kB / 495.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1068, allocations: 326.8 kB / 495.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.39e-05/0.1069, allocations: 35.98 kB / 495.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.866e-05/0.107, allocations: 53.62 kB / 495.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.1072, allocations: 149.1 kB / 496 MB, free: 0.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1072, allocations: 4 kB / 496 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003426/0.1075, allocations: 191.2 kB / 496.2 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.1076, allocations: 37.7 kB / 496.2 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1076, allocations: 0 / 496.2 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1076, allocations: 3.938 kB / 496.2 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.1077, allocations: 11.98 kB / 496.2 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1077, allocations: 4 kB / 496.2 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.1077, allocations: 4 kB / 496.2 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1078, allocations: 7.938 kB / 496.3 MB, free: 400 kB / 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 0.0001549/0.1079, allocations: 169.1 kB / 496.4 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.108, allocations: 15.91 kB / 496.4 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.108, allocations: 16.66 kB / 496.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.108, allocations: 0 / 496.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.108, allocations: 4 kB / 496.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.108, allocations: 0 / 496.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.1082, allocations: 205.6 kB / 496.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1082, allocations: 4 kB / 496.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/0.1083, allocations: 19.92 kB / 496.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1083, allocations: 4 kB / 496.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1083, allocations: 11.94 kB / 496.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1083, allocations: 0 / 496.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1083, allocations: 3.938 kB / 496.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/0.1087, allocations: 247.8 kB / 496.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.1088, allocations: 96.98 kB / 497 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.1088, allocations: 11.94 kB / 497 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.1089, allocations: 7.984 kB / 497.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.1089, allocations: 7.984 kB / 497.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.109, allocations: 8 kB / 497.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1091, allocations: 130.2 kB / 497.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1091, allocations: 0 / 497.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.1095, allocations: 87.73 kB / 497.3 MB, free: 15.25 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.001926/0.1114, allocations: 1.119 MB / 498.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.1117, allocations: 167.3 kB / 498.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1117, allocations: 0 / 498.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.1119, allocations: 111.3 kB / 498.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.1121, allocations: 18.64 kB / 498.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.1147, allocations: 1.92 MB / 0.4889 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.115, allocations: 0.7002 MB / 0.4896 GB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.049e-05/0.115, allocations: 16.42 kB / 0.4896 GB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.1151, allocations: 43.41 kB / 0.4896 GB, free: 11.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1151, allocations: 0 / 0.4896 GB, free: 11.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.1455, allocations: 4.679 MB / 0.4942 GB, free: 6.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.299, allocations: 6.328 kB / 0.4942 GB, free: 6.398 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.XLSTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ExternData_ExternData_Examples_XLSTest.fmu > ExternData_ExternData.Examples.XLSTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.991642820008565] Failed to read output from testmodel.py, exit status != 0: 8.374941525005852 8.398658918 8.291320364 Calling exit ...