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.00154/0.00154, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 197 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9266/0.9266, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.25 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1496, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003068/0.1527, allocations: 1.649 MB / 0.5861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1546, allocations: 1.506 MB / 0.5876 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.141e-05/0.1547, allocations: 3.938 kB / 0.5876 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.155, allocations: 39.77 kB / 0.5876 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1553, allocations: 59.69 kB / 0.5877 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1556, allocations: 122.5 kB / 0.5878 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1558, allocations: 127.5 kB / 0.5879 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1558, allocations: 13.11 kB / 0.5879 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.156, allocations: 59.72 kB / 0.588 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.1562, allocations: 55.77 kB / 0.588 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.1562, allocations: 4 kB / 0.588 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1563, allocations: 67.95 kB / 0.5881 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.1564, allocations: 23.86 kB / 0.5881 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.1565, allocations: 43.73 kB / 0.5882 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1567, allocations: 143.9 kB / 0.5883 GB, free: 0.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1567, allocations: 0 / 0.5883 GB, free: 0.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1567, allocations: 0 / 0.5883 GB, free: 0.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1567, allocations: 0 / 0.5883 GB, free: 0.543 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.0005704/0.1573, allocations: 446.9 kB / 0.5887 GB, free: 60 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1573, allocations: 11.97 kB / 0.5887 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.1574, allocations: 34.75 kB / 0.5888 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.1574, allocations: 16.73 kB / 0.5888 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1577, allocations: 220.5 kB / 0.589 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1577, allocations: 4.375 kB / 0.589 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1577, allocations: 7.938 kB / 0.589 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.1579, allocations: 97.08 kB / 0.5891 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1579, allocations: 0 / 0.5891 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.158, allocations: 11.94 kB / 0.5891 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.158, allocations: 0 / 0.5891 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.1581, allocations: 47.95 kB / 0.5892 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.1584, allocations: 207.4 kB / 0.5894 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.1586, allocations: 123.7 kB / 0.5895 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1588, allocations: 50.61 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.1588, allocations: 7.938 kB / 0.5895 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.159, allocations: 121.8 kB / 0.5896 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1591, allocations: 4 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004659/0.1595, allocations: 157.4 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.1596, allocations: 128.5 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1598, allocations: 176.9 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1598, allocations: 29.7 kB / 0.5901 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.1598, allocations: 108.4 kB / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.1599, allocations: 23.7 kB / 0.5902 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1599, allocations: 25.7 kB / 0.5903 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.16, allocations: 322.8 kB / 0.5906 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1602, allocations: 32.23 kB / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1603, allocations: 64.27 kB / 0.5907 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1605, allocations: 99.33 kB / 0.5908 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1605, allocations: 3.938 kB / 0.5908 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002901/0.1608, allocations: 137.4 kB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1608, allocations: 4 kB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1608, allocations: 0 / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1608, allocations: 4 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.161, allocations: 19.98 kB / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.161, allocations: 0 / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.1611, allocations: 19.92 kB / 0.5909 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1611, allocations: 192 / 0.5909 GB, free: 13.5 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 9.914e-05/0.1612, allocations: 139.9 kB / 0.5911 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.1612, allocations: 19.75 kB / 0.5911 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.1613, allocations: 13.41 kB / 0.5911 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1613, allocations: 4 kB / 0.5911 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1613, allocations: 0 / 0.5911 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1613, allocations: 3.984 kB / 0.5911 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1615, allocations: 201.5 kB / 0.5913 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1615, allocations: 0 / 0.5913 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.1615, allocations: 12 kB / 0.5913 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1616, allocations: 4 kB / 0.5913 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1616, allocations: 7.984 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1616, allocations: 0 / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1616, allocations: 0 / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.1619, allocations: 170.6 kB / 0.5915 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.162, allocations: 100.8 kB / 0.5916 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.162, allocations: 4 kB / 0.5916 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.1621, allocations: 11.98 kB / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.1621, allocations: 7.984 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1622, allocations: 4 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001036/0.1623, allocations: 132.8 kB / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1623, allocations: 0 / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002553/0.1625, allocations: 31.98 kB / 0.5918 GB, free: 12.55 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.001427/0.164, allocations: 1.04 MB / 0.5928 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002938/0.1643, allocations: 87.88 kB / 0.5929 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1643, allocations: 0 / 0.5929 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1644, allocations: 44.11 kB / 0.5929 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.1647, allocations: 48.88 kB / 0.593 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.1666, allocations: 1.683 MB / 0.5946 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1669, allocations: 0.708 MB / 0.5953 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.615e-05/0.167, allocations: 28.52 kB / 0.5953 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.1671, allocations: 35.42 kB / 0.5954 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1671, allocations: 0 / 0.5954 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.187, allocations: 3.738 MB / 0.599 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.424, allocations: 11.72 kB / 0.599 GB, free: 5.23 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)