Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.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.001348/0.001348, allocations: 106.3 kB / 16.45 MB, free: 6.508 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.001462/0.001462, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.417/1.417, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8313/0.8313, allocations: 134 MB / 442.8 MB, free: 11.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001978/0.001978, allocations: 62.44 kB / 0.6134 GB, free: 8.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.175, allocations: 85.86 MB / 0.6973 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003412/0.1784, allocations: 1.697 MB / 0.6989 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1812, allocations: 1.697 MB / 0.7006 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.1813, allocations: 3.938 kB / 0.7006 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.1816, allocations: 39.77 kB / 0.7006 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1819, allocations: 107.5 kB / 0.7007 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.1821, allocations: 91.64 kB / 0.7008 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.1823, allocations: 143.5 kB / 0.7009 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.1824, allocations: 5.453 kB / 0.7009 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.1826, allocations: 79.64 kB / 0.701 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/0.1831, allocations: 51.77 kB / 0.7011 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1831, allocations: 4 kB / 0.7011 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.1834, allocations: 119.9 kB / 0.7012 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.1834, allocations: 31.89 kB / 0.7012 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.1835, allocations: 39.69 kB / 0.7013 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1838, allocations: 215.4 kB / 0.7015 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1838, allocations: 0 / 0.7015 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1838, allocations: 0 / 0.7015 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1838, allocations: 0 / 0.7015 GB, free: 14.75 MB / 0.5294 GB 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.0007624/0.1846, allocations: 478.2 kB / 0.7019 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1846, allocations: 13.11 kB / 0.7019 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.1847, allocations: 34.73 kB / 0.702 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.1849, allocations: 20.88 kB / 0.702 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.1852, allocations: 225 kB / 0.7022 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1852, allocations: 8.312 kB / 0.7022 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1853, allocations: 3.938 kB / 0.7022 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.1855, allocations: 109 kB / 0.7023 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1855, allocations: 0 / 0.7023 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1855, allocations: 0 / 0.7023 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1855, allocations: 4 kB / 0.7023 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.1857, allocations: 51.89 kB / 0.7024 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.186, allocations: 215.4 kB / 0.7026 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.1863, allocations: 115.7 kB / 0.7027 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.1864, allocations: 58.55 kB / 0.7027 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1864, allocations: 0 / 0.7027 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.1867, allocations: 113.9 kB / 0.7029 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1867, allocations: 0 / 0.7029 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0005326/0.1872, allocations: 157.5 kB / 0.703 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.1873, allocations: 140.5 kB / 0.7031 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1875, allocations: 187.7 kB / 0.7033 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1875, allocations: 33.94 kB / 0.7033 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.1876, allocations: 104.1 kB / 0.7034 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.1876, allocations: 27.78 kB / 0.7035 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.1877, allocations: 29.66 kB / 0.7035 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1878, allocations: 326.8 kB / 0.7038 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.188, allocations: 27.98 kB / 0.7038 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1881, allocations: 68.27 kB / 0.7039 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.1883, allocations: 87.34 kB / 0.704 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1883, allocations: 3.938 kB / 0.704 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003265/0.1887, allocations: 141.5 kB / 0.7041 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1887, allocations: 8 kB / 0.7041 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1887, allocations: 0 / 0.7041 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1887, allocations: 3.938 kB / 0.7041 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1888, allocations: 19.98 kB / 0.7042 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.1888, allocations: 7.984 kB / 0.7042 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.1889, allocations: 7.984 kB / 0.7042 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1889, allocations: 8.094 kB / 0.7042 GB, free: 11.64 MB / 0.5294 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.0001244/0.189, allocations: 129.7 kB / 0.7043 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1891, allocations: 19.89 kB / 0.7043 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.1891, allocations: 13.41 kB / 0.7043 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.1891, allocations: 4 kB / 0.7043 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1891, allocations: 320 / 0.7043 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1891, allocations: 3.938 kB / 0.7043 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.1893, allocations: 213.5 kB / 0.7045 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1894, allocations: 8 kB / 0.7046 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.1894, allocations: 15.98 kB / 0.7046 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1894, allocations: 0 / 0.7046 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1894, allocations: 4 kB / 0.7046 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1894, allocations: 0 / 0.7046 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1894, allocations: 7.938 kB / 0.7046 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.1898, allocations: 174.6 kB / 0.7047 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.1899, allocations: 89.02 kB / 0.7048 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.1899, allocations: 3.984 kB / 0.7048 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.19, allocations: 12 kB / 0.7048 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.19, allocations: 7.984 kB / 0.7049 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.19, allocations: 0 / 0.7049 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001357/0.1902, allocations: 144.1 kB / 0.705 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1902, allocations: 0 / 0.705 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002856/0.1905, allocations: 51.86 kB / 0.705 GB, free: 10.64 MB / 0.5294 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.002299/0.1928, allocations: 1.096 MB / 0.7061 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.1931, allocations: 91.86 kB / 0.7062 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1931, allocations: 0 / 0.7062 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1932, allocations: 43.91 kB / 0.7062 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1935, allocations: 42.78 kB / 0.7063 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.1958, allocations: 1.742 MB / 0.708 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1962, allocations: 0.7041 MB / 0.7087 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.858e-05/0.1963, allocations: 24.64 kB / 0.7087 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1964, allocations: 47.41 kB / 0.7087 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1964, allocations: 0 / 0.7087 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.2282, allocations: 4.365 MB / 0.713 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.278, allocations: 4.938 kB / 0.713 GB, free: 2.598 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.944504621002125] Failed to read output from testmodel.py, exit status != 0: 8.403349334999803 8.430198406 8.241133913 Calling exit ...