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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 111.5 kB / 16.41 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 245.1 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.1773/0.1773, allocations: 2.941 MB / 300.2 MB, free: 4.207 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 63.91 kB / 414.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2841, allocations: 50.34 MB / 464.8 MB, free: 21.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002473/0.2866, allocations: 1.668 MB / 466.5 MB, free: 20.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2887, allocations: 1.718 MB / 468.2 MB, free: 19.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.2888, allocations: 0 / 468.2 MB, free: 19.56 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:191:3-219:14:writable] Warning: Pure function 'ExternData.XLSFile' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.2891, allocations: 48.39 kB / 468.3 MB, free: 19.53 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/Examples/package.mo:101:5-121:22:writable] Warning: Pure function 'ExternData.Examples.XLSTest.computeColSum' contains a call to impure function 'ExternData.Types.ExternXLSFile.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0004648/0.2896, allocations: 180 kB / 468.4 MB, free: 19.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.2898, allocations: 82.16 kB / 468.5 MB, free: 19.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.29, allocations: 94.05 kB / 468.6 MB, free: 19.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.2901, allocations: 15.92 kB / 468.6 MB, free: 19.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.2901, allocations: 39.3 kB / 468.7 MB, free: 19.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.2903, allocations: 46 kB / 468.7 MB, free: 19.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.2903, allocations: 6 kB / 468.7 MB, free: 19.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.2907, allocations: 269.7 kB / 469 MB, free: 19.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.2908, allocations: 18.25 kB / 469 MB, free: 19.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.2908, allocations: 52.2 kB / 469 MB, free: 19.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.2913, allocations: 323.1 kB / 469.4 MB, free: 19.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2913, allocations: 3.125 kB / 469.4 MB, free: 19.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2913, allocations: 3.938 kB / 469.4 MB, free: 19.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2913, allocations: 0 / 469.4 MB, free: 19.06 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.0005749/0.2919, allocations: 0.4928 MB / 469.9 MB, free: 18.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.292, allocations: 13.17 kB / 469.9 MB, free: 18.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.292, allocations: 38.94 kB / 469.9 MB, free: 18.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.292, allocations: 19.16 kB / 469.9 MB, free: 18.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.2923, allocations: 225.3 kB / 470.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.2923, allocations: 0.75 kB / 470.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.2923, allocations: 6.062 kB / 470.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.2925, allocations: 99.12 kB / 470.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2925, allocations: 0 / 470.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2925, allocations: 3.938 kB / 470.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2925, allocations: 0 / 470.2 MB, free: 18.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.2927, allocations: 55.25 kB / 470.3 MB, free: 18.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.293, allocations: 325.2 kB / 470.6 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.2932, allocations: 92.98 kB / 470.7 MB, free: 17.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.2933, allocations: 67.67 kB / 470.8 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.2934, allocations: 3.938 kB / 470.8 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.2935, allocations: 136.7 kB / 470.9 MB, free: 17.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.2936, allocations: 0 / 470.9 MB, free: 17.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004193/0.294, allocations: 233.4 kB / 471.1 MB, free: 17.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.294, allocations: 111.3 kB / 471.3 MB, free: 17.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.2942, allocations: 173.4 kB / 471.4 MB, free: 17.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2943, allocations: 27.59 kB / 471.4 MB, free: 17.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.2943, allocations: 97.84 kB / 471.5 MB, free: 17.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.2944, allocations: 30.53 kB / 471.6 MB, free: 17.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.2944, allocations: 29.5 kB / 471.6 MB, free: 17.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.2945, allocations: 320.4 kB / 471.9 MB, free: 16.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.2946, allocations: 43.48 kB / 472 MB, free: 16.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-05/0.2947, allocations: 48.88 kB / 472 MB, free: 16.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.2949, allocations: 158.4 kB / 472.2 MB, free: 16.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2949, allocations: 0 / 472.2 MB, free: 16.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002769/0.2951, allocations: 194 kB / 472.3 MB, free: 16.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.2952, allocations: 40.06 kB / 472.4 MB, free: 16.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2952, allocations: 4 kB / 472.4 MB, free: 16.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2952, allocations: 5.25 kB / 472.4 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.2953, allocations: 10.72 kB / 472.4 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2953, allocations: 6.891 kB / 472.4 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.2954, allocations: 10.25 kB / 472.4 MB, free: 16.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.2954, allocations: 4.562 kB / 472.4 MB, free: 16.52 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.182e-05/0.2955, allocations: 160.6 kB / 472.6 MB, free: 16.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.2955, allocations: 15.92 kB / 472.6 MB, free: 16.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.2956, allocations: 21.98 kB / 472.6 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2956, allocations: 1.344 kB / 472.6 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2956, allocations: 0 / 472.6 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2956, allocations: 1.734 kB / 472.6 MB, free: 16.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2957, allocations: 203.1 kB / 472.8 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2957, allocations: 1.156 kB / 472.8 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.2958, allocations: 13.98 kB / 472.8 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2958, allocations: 0 / 472.8 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.2958, allocations: 8.188 kB / 472.8 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2958, allocations: 4.688 kB / 472.9 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2958, allocations: 2.031 kB / 472.9 MB, free: 16.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.2962, allocations: 253.5 kB / 473.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.2963, allocations: 92.66 kB / 473.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.2963, allocations: 8.016 kB / 473.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.2964, allocations: 6.844 kB / 473.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.2965, allocations: 9.984 kB / 473.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.2965, allocations: 8.766 kB / 473.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.2966, allocations: 135.6 kB / 473.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2966, allocations: 0 / 473.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.297, allocations: 97.03 kB / 473.5 MB, free: 15.73 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.001788/0.2988, allocations: 1.151 MB / 474.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.2992, allocations: 191.8 kB / 474.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2992, allocations: 0 / 474.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.2993, allocations: 139.5 kB / 474.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.2996, allocations: 17.91 kB / 474.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.3016, allocations: 1.93 MB / 476.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.3017, allocations: 0.7039 MB / 477.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.3018, allocations: 20.19 kB / 477.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.3019, allocations: 40.84 kB / 477.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3019, allocations: 0 / 477.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.3338, allocations: 4.879 MB / 482.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/8.725, allocations: 4.312 kB / 482.5 MB, free: 11.66 MB / 350.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 & 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: 11.371443549054675] Failed to read output from testmodel.py, exit status != 0: 8.796655073063448 8.809171274 8.515253888 Calling exit ...