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.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/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007382/0.007382, allocations: 96.83 kB / 15.73 MB, free: 6.055 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.00177/0.00177, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7625/0.7625, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 61.44 kB / 0.5809 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1787, allocations: 80.21 MB / 0.6592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003735/0.1825, allocations: 1.663 MB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002547/0.1851, allocations: 1.506 MB / 0.6623 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1853, allocations: 4 kB / 0.6623 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.1857, allocations: 39.77 kB / 0.6623 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.186, allocations: 71.61 kB / 0.6624 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.1865, allocations: 121.3 kB / 0.6625 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.1867, allocations: 123.6 kB / 0.6626 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.218e-05/0.1868, allocations: 17.09 kB / 0.6626 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.187, allocations: 55.72 kB / 0.6627 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.1873, allocations: 47.77 kB / 0.6627 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1873, allocations: 8 kB / 0.6628 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.1875, allocations: 67.95 kB / 0.6628 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.497e-05/0.1876, allocations: 19.92 kB / 0.6628 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.1876, allocations: 43.73 kB / 0.6629 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.188, allocations: 155.5 kB / 0.663 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.188, allocations: 8 kB / 0.663 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.188, allocations: 0 / 0.663 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.188, allocations: 0 / 0.663 GB, free: 10.1 MB / 0.4981 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.0007478/0.1888, allocations: 442.5 kB / 0.6635 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1889, allocations: 8.031 kB / 0.6635 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.1889, allocations: 38.75 kB / 0.6635 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.189, allocations: 20.77 kB / 0.6635 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.1893, allocations: 216.6 kB / 0.6637 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1894, allocations: 8.375 kB / 0.6637 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1894, allocations: 3.938 kB / 0.6637 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.1896, allocations: 101 kB / 0.6638 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1897, allocations: 0 / 0.6638 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1897, allocations: 4 kB / 0.6638 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1897, allocations: 0 / 0.6638 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.1899, allocations: 55.89 kB / 0.6639 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.1901, allocations: 203.5 kB / 0.6641 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1904, allocations: 123.7 kB / 0.6642 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1905, allocations: 46.61 kB / 0.6642 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.1906, allocations: 4 kB / 0.6643 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.1908, allocations: 113.9 kB / 0.6644 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.1908, allocations: 0 / 0.6644 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004878/0.1913, allocations: 161.5 kB / 0.6645 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.1914, allocations: 128.8 kB / 0.6646 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1916, allocations: 185 kB / 0.6648 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1916, allocations: 29.7 kB / 0.6648 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.1917, allocations: 104.1 kB / 0.6649 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.1917, allocations: 23.8 kB / 0.665 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.1918, allocations: 25.7 kB / 0.665 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1919, allocations: 330.8 kB / 0.6653 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-05/0.192, allocations: 23.98 kB / 0.6653 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1921, allocations: 68.27 kB / 0.6654 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1924, allocations: 103.6 kB / 0.6655 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1924, allocations: 3.938 kB / 0.6655 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002852/0.1927, allocations: 129.5 kB / 0.6656 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1927, allocations: 4 kB / 0.6656 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1927, allocations: 0 / 0.6656 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1927, allocations: 7.938 kB / 0.6656 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1929, allocations: 23.92 kB / 0.6657 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1929, allocations: 96 / 0.6657 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/0.193, allocations: 19.98 kB / 0.6657 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.193, allocations: 0 / 0.6657 GB, free: 7.066 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.0001119/0.1931, allocations: 128.7 kB / 0.6658 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.1931, allocations: 20.08 kB / 0.6658 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.1932, allocations: 17.41 kB / 0.6658 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1932, allocations: 7.938 kB / 0.6658 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1932, allocations: 0 / 0.6658 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1932, allocations: 3.984 kB / 0.6658 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.1934, allocations: 209.5 kB / 0.666 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1934, allocations: 0 / 0.666 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.1935, allocations: 15.94 kB / 0.6661 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1935, allocations: 0 / 0.6661 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.1935, allocations: 7.984 kB / 0.6661 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1935, allocations: 0 / 0.6661 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1935, allocations: 0 / 0.6661 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.1939, allocations: 170.6 kB / 0.6662 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.1939, allocations: 89 kB / 0.6663 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.194, allocations: 7.938 kB / 0.6663 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.1941, allocations: 7.984 kB / 0.6663 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.1941, allocations: 11.98 kB / 0.6663 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.1942, allocations: 8.062 kB / 0.6663 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001143/0.1943, allocations: 133.2 kB / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1943, allocations: 0 / 0.6665 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002496/0.1945, allocations: 31.98 kB / 0.6665 GB, free: 6.109 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.00157/0.1961, allocations: 1.05 MB / 0.6675 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.1964, allocations: 95.94 kB / 0.6676 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1964, allocations: 0 / 0.6676 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1966, allocations: 35.98 kB / 0.6677 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.1969, allocations: 35.31 kB / 0.6677 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1988, allocations: 1.694 MB / 0.6693 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1991, allocations: 0.708 MB / 0.67 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.302e-05/0.1992, allocations: 24.47 kB / 0.6701 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.1993, allocations: 35.42 kB / 0.6701 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.864e-06/0.1993, allocations: 4 kB / 0.6701 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.2219, allocations: 3.839 MB / 0.6738 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/7.861, allocations: 0.6562 kB / 0.6738 GB, free: 14.72 MB / 0.5137 GB (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)