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.001729/0.001729, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002248/0.002248, allocations: 215.6 kB / 22.25 MB, free: 5.078 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 8.02 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.02709/0.02709, allocations: 3.271 MB / 315.7 MB, free: 15.8 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.001976/0.001976, allocations: 71.89 kB / 439.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1072, allocations: 54.38 MB / 493.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003855/0.1111, allocations: 1.533 MB / 495.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1133, allocations: 1.402 MB / 496.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.1134, allocations: 4 kB / 496.9 MB, free: 2.812 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.0003834/0.1137, allocations: 47.77 kB / 496.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.535e-05/0.1138, allocations: 31.84 kB / 497 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.1141, allocations: 79.8 kB / 497 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1142, allocations: 59.78 kB / 497.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.1143, allocations: 7.984 kB / 497.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.1144, allocations: 27.92 kB / 497.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.1147, allocations: 27.8 kB / 497.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1147, allocations: 4 kB / 497.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.1149, allocations: 103.9 kB / 497.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.115, allocations: 23.86 kB / 497.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.105e-05/0.115, allocations: 23.88 kB / 497.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1153, allocations: 147.5 kB / 497.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1153, allocations: 0 / 497.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1153, allocations: 4 kB / 497.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1153, allocations: 0 / 497.5 MB, free: 2.234 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.0007053/0.116, allocations: 355.5 kB / 497.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.116, allocations: 8.031 kB / 497.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.1161, allocations: 34.75 kB / 497.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.1161, allocations: 8.891 kB / 497.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1164, allocations: 146.3 kB / 498 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1164, allocations: 8.375 kB / 498 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.1164, allocations: 8.297 kB / 498 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1166, allocations: 61.81 kB / 498.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1166, allocations: 0 / 498.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1166, allocations: 0 / 498.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1166, allocations: 0 / 498.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.1167, allocations: 31.97 kB / 498.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.1169, allocations: 156.7 kB / 498.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.864e-05/0.117, allocations: 46.56 kB / 498.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.1171, allocations: 36.83 kB / 498.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.1171, allocations: 0 / 498.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.1173, allocations: 112.9 kB / 498.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1173, allocations: 0 / 498.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003793/0.1176, allocations: 191.2 kB / 498.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.1177, allocations: 85.09 kB / 498.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1179, allocations: 156.7 kB / 498.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1179, allocations: 29.7 kB / 498.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.118, allocations: 92.12 kB / 499 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.118, allocations: 19.86 kB / 499 MB, free: 496 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.118, allocations: 25.7 kB / 499 MB, free: 464 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1182, allocations: 318.8 kB / 499.3 MB, free: 136 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.1183, allocations: 27.98 kB / 499.4 MB, free: 108 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.1183, allocations: 23.98 kB / 499.4 MB, free: 84 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.1185, allocations: 124.5 kB / 499.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1185, allocations: 0 / 499.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002426/0.1188, allocations: 163.2 kB / 499.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.1188, allocations: 37.69 kB / 499.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1188, allocations: 0 / 499.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1188, allocations: 0 / 499.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.1189, allocations: 4 kB / 499.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1189, allocations: 4 kB / 499.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.309e-05/0.119, allocations: 11.92 kB / 499.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.119, allocations: 4 kB / 499.7 MB, free: 15.71 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.0001548/0.1191, allocations: 163.5 kB / 499.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.1192, allocations: 19.84 kB / 499.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.1192, allocations: 8.812 kB / 499.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1192, allocations: 3.938 kB / 499.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1192, allocations: 0 / 499.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1192, allocations: 0 / 499.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1194, allocations: 168.6 kB / 0.4884 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1194, allocations: 3.938 kB / 0.4884 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.1194, allocations: 7.938 kB / 0.4884 GB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1194, allocations: 4 kB / 0.4884 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1194, allocations: 4 kB / 0.4884 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1194, allocations: 0 / 0.4884 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1194, allocations: 0 / 0.4884 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.1197, allocations: 214.9 kB / 0.4886 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.1198, allocations: 11.95 kB / 0.4886 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.1198, allocations: 192 / 0.4886 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.451e-05/0.1199, allocations: 7.984 kB / 0.4886 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.1199, allocations: 15.98 kB / 0.4886 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1199, allocations: 0 / 0.4886 GB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.12, allocations: 119.2 kB / 0.4887 GB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.12, allocations: 0 / 0.4887 GB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.1204, allocations: 39.94 kB / 0.4888 GB, free: 14.84 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.001552/0.1219, allocations: 0.8782 MB / 0.4896 GB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.1222, allocations: 131.4 kB / 0.4898 GB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1222, allocations: 0 / 0.4898 GB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1223, allocations: 99.31 kB / 0.4899 GB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1225, allocations: 8 kB / 0.4899 GB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1245, allocations: 1.693 MB / 0.4915 GB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1248, allocations: 0.7002 MB / 0.4922 GB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.289e-05/0.1248, allocations: 11.98 kB / 0.4922 GB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.1249, allocations: 23.42 kB / 0.4922 GB, free: 11.17 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1249, allocations: 96 / 0.4922 GB, free: 11.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04117/0.1661, allocations: 3.181 MB / 0.4953 GB, free: 8.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.35, allocations: 13.84 kB / 0.4954 GB, free: 8.117 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: 14.274682518996997] Failed to read output from testmodel.py, exit status != 0: 11.460811391996685 11.673870157 11.555470941 Calling exit ...