Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.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.001304/0.001304, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001435/0.001435, allocations: 215.5 kB / 22.25 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.777 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.01767/0.01767, allocations: 3.274 MB / 315.7 MB, free: 15.6 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.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",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.002021/0.002021, allocations: 63.91 kB / 439.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1146, allocations: 54.38 MB / 493.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003287/0.1179, allocations: 1.522 MB / 495.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.1201, allocations: 1.348 MB / 496.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.1201, allocations: 0 / 496.7 MB, free: 2.578 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:35:3-59:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.1206, allocations: 47.78 kB / 496.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.1207, allocations: 39.72 kB / 496.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.121, allocations: 83.78 kB / 496.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1211, allocations: 63.83 kB / 497 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.1211, allocations: 0 / 497 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.1212, allocations: 27.92 kB / 497 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.1216, allocations: 23.86 kB / 497 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1216, allocations: 4 kB / 497 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1218, allocations: 95.84 kB / 497.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.1218, allocations: 19.92 kB / 497.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.1219, allocations: 23.86 kB / 497.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1222, allocations: 143.5 kB / 497.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1222, allocations: 0 / 497.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1222, allocations: 4 kB / 497.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1222, allocations: 0 / 497.3 MB, free: 2.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005968/0.1228, allocations: 351.4 kB / 497.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1228, allocations: 12.03 kB / 497.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.1229, allocations: 38.73 kB / 497.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1229, allocations: 8.891 kB / 497.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1232, allocations: 146.3 kB / 497.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1232, allocations: 384 / 497.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1232, allocations: 12.38 kB / 497.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1234, allocations: 91.5 kB / 498 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1234, allocations: 4 kB / 498 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1234, allocations: 0 / 498 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1234, allocations: 0 / 498 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1236, allocations: 69.62 kB / 498 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.1238, allocations: 140.7 kB / 498.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.1239, allocations: 72.27 kB / 498.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.336e-05/0.124, allocations: 62.59 kB / 498.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.124, allocations: 4 kB / 498.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.1242, allocations: 142.7 kB / 498.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1242, allocations: 0 / 498.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004442/0.1247, allocations: 270.7 kB / 498.7 MB, free: 424 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.1247, allocations: 85.11 kB / 498.8 MB, free: 320 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.1249, allocations: 152.8 kB / 498.9 MB, free: 160 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1249, allocations: 25.7 kB / 499 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.125, allocations: 92.14 kB / 499.1 MB, free: 32 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.125, allocations: 23.84 kB / 499.1 MB, free: 8 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.1251, allocations: 17.72 kB / 499.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1252, allocations: 322.8 kB / 499.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.1253, allocations: 61.62 kB / 499.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.1254, allocations: 69.56 kB / 499.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1255, allocations: 120.2 kB / 499.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1255, allocations: 0 / 499.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002612/0.1258, allocations: 208.9 kB / 499.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.1258, allocations: 41.69 kB / 499.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1258, allocations: 0 / 499.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1259, allocations: 0 / 499.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.1259, allocations: 4 kB / 499.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1259, allocations: 0 / 499.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.126, allocations: 7.938 kB / 499.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.126, allocations: 4 kB / 499.9 MB, free: 15.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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.0001374/0.1261, allocations: 155.5 kB / 0.4883 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.1262, allocations: 19.84 kB / 0.4884 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.1262, allocations: 12.7 kB / 0.4884 GB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1262, allocations: 4 kB / 0.4884 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1262, allocations: 0 / 0.4884 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1262, allocations: 144 / 0.4884 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1264, allocations: 152.7 kB / 0.4885 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1264, allocations: 0 / 0.4885 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.1264, allocations: 7.984 kB / 0.4885 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1264, allocations: 3.984 kB / 0.4885 GB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1264, allocations: 0 / 0.4885 GB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1264, allocations: 8 kB / 0.4885 GB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1264, allocations: 0 / 0.4885 GB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.1267, allocations: 252.3 kB / 0.4888 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.1267, allocations: 16.03 kB / 0.4888 GB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.1268, allocations: 11.94 kB / 0.4888 GB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.1268, allocations: 8 kB / 0.4888 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1269, allocations: 3.984 kB / 0.4888 GB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1269, allocations: 4 kB / 0.4888 GB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.127, allocations: 123.2 kB / 0.4889 GB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.127, allocations: 0 / 0.4889 GB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.1272, allocations: 35.94 kB / 0.489 GB, free: 14.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * 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.001701/0.1289, allocations: 0.9088 MB / 0.4899 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.1293, allocations: 202.8 kB / 0.4901 GB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1293, allocations: 0 / 0.4901 GB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1294, allocations: 129.1 kB / 0.4902 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.1296, allocations: 7.938 kB / 0.4902 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1317, allocations: 1.874 MB / 0.492 GB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.399e-05/0.1318, allocations: 75.33 kB / 0.4921 GB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.194e-05/0.1318, allocations: 11.98 kB / 0.4921 GB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.1319, allocations: 27.42 kB / 0.4921 GB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1319, allocations: 0 / 0.4921 GB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.167, allocations: 3.641 MB / 0.4957 GB, free: 7.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.28, allocations: 6.5 kB / 0.4957 GB, free: 7.289 MB / 366.1 MB " [Timeout remaining time 649] (rm -f ExternData_ExternData.Examples.CSVTest.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest.pipe >> ../files/ExternData_ExternData.Examples.CSVTest.sim & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.CSVTest_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_CSVTest.fmu > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.883148407097906] Failed to read output from testmodel.py, exit status != 0: 11.38812400214374 11.406901508 11.281023036 Calling exit ...