Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009908/0.0009909, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.00101, allocations: 192.6 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9868/0.9868, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 64.55 kB / 0.505 GB, free: 5.574 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1859, allocations: 80.93 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.00345/0.1894, allocations: 1.727 MB / 0.5857 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1916, allocations: 1.475 MB / 0.5871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1917, allocations: 0 / 0.5871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.192, allocations: 31.84 kB / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1924, allocations: 55.77 kB / 0.5872 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.1927, allocations: 102.6 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1929, allocations: 127.6 kB / 0.5874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.193, allocations: 13.11 kB / 0.5874 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1932, allocations: 67.7 kB / 0.5875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.1934, allocations: 58.05 kB / 0.5875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.1934, allocations: 4 kB / 0.5876 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1936, allocations: 63.97 kB / 0.5876 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.1936, allocations: 19.92 kB / 0.5876 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.1937, allocations: 47.72 kB / 0.5877 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.194, allocations: 139.9 kB / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.194, allocations: 0 / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.194, allocations: 0 / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.194, allocations: 7.938 kB / 0.5878 GB, free: 0.8633 MB / 494.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.0007498/0.1948, allocations: 442.8 kB / 0.5882 GB, free: 392 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1948, allocations: 8.031 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.1949, allocations: 42.73 kB / 0.5883 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.195, allocations: 12.75 kB / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1953, allocations: 221.6 kB / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1953, allocations: 384 / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1953, allocations: 7.938 kB / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.1956, allocations: 101 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1956, allocations: 4 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1956, allocations: 0 / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1956, allocations: 0 / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1958, allocations: 51.89 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.1961, allocations: 219.4 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1964, allocations: 111.7 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.1965, allocations: 54.61 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1965, allocations: 3.938 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.1968, allocations: 121.8 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1969, allocations: 0 / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.000509/0.1974, allocations: 157.5 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.1975, allocations: 128.5 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1976, allocations: 179.9 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1977, allocations: 29.95 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.1977, allocations: 108.1 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.1978, allocations: 19.7 kB / 0.5898 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.1979, allocations: 25.72 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.198, allocations: 322.8 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1981, allocations: 35.91 kB / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1982, allocations: 64.28 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.1984, allocations: 99.58 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1984, allocations: 3.938 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003014/0.1988, allocations: 133.4 kB / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1988, allocations: 4 kB / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1988, allocations: 3.984 kB / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1988, allocations: 4 kB / 0.5904 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1989, allocations: 23.92 kB / 0.5904 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.199, allocations: 192 / 0.5904 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.304e-05/0.199, allocations: 11.94 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1991, allocations: 12.03 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001096/0.1992, allocations: 132 kB / 0.5906 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.1992, allocations: 11.81 kB / 0.5906 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.1993, allocations: 17.39 kB / 0.5906 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.1993, allocations: 4 kB / 0.5906 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1993, allocations: 0 / 0.5906 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1993, allocations: 3.984 kB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1995, allocations: 205.5 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1995, allocations: 4 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.1996, allocations: 15.98 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1996, allocations: 3.938 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1996, allocations: 4 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1996, allocations: 0 / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1996, allocations: 4 kB / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.1999, allocations: 170.6 kB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.2, allocations: 84.92 kB / 0.5911 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2, allocations: 8 kB / 0.5911 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.2001, allocations: 7.984 kB / 0.5911 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.2002, allocations: 12.05 kB / 0.5911 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.2002, allocations: 11.94 kB / 0.5911 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001165/0.2003, allocations: 135.2 kB / 0.5913 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2003, allocations: 0 / 0.5913 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002465/0.2006, allocations: 32 kB / 0.5913 GB, free: 12.87 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001566/0.2021, allocations: 1.031 MB / 0.5923 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.2025, allocations: 87.81 kB / 0.5924 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2025, allocations: 192 / 0.5924 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.2026, allocations: 51.91 kB / 0.5924 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.2029, allocations: 32.47 kB / 0.5925 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.205, allocations: 1.717 MB / 0.5941 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.2052, allocations: 0.7002 MB / 0.5948 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.116e-05/0.2053, allocations: 24.53 kB / 0.5948 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.2054, allocations: 43.41 kB / 0.5949 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2054, allocations: 0 / 0.5949 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.2226, allocations: 3.604 MB / 0.5984 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.2228, allocations: 251.8 kB / 0.5987 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.165, allocations: 0 / 0.5987 GB, free: 5.453 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)