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.001151/0.001151, allocations: 108 kB / 15.6 MB, free: 132 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.001141/0.001141, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9576/0.9576, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001542, allocations: 60.22 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1745, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003325/0.1779, allocations: 1.655 MB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.18, allocations: 1.503 MB / 0.5876 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.1801, allocations: 4 kB / 0.5876 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.1804, allocations: 35.77 kB / 0.5876 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.1807, allocations: 71.61 kB / 0.5877 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.181, allocations: 114.6 kB / 0.5878 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.1812, allocations: 123.6 kB / 0.5879 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.1813, allocations: 13.11 kB / 0.5879 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1814, allocations: 59.66 kB / 0.588 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1816, allocations: 62.41 kB / 0.588 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1817, allocations: 4 kB / 0.588 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.1818, allocations: 63.97 kB / 0.5881 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.1819, allocations: 19.92 kB / 0.5881 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.1819, allocations: 47.72 kB / 0.5882 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.1822, allocations: 147.8 kB / 0.5883 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1822, allocations: 4 kB / 0.5883 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1822, allocations: 0 / 0.5883 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1822, allocations: 3.938 kB / 0.5883 GB, free: 0.5078 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.0006169/0.1828, allocations: 442.8 kB / 0.5887 GB, free: 28 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1829, allocations: 8.031 kB / 0.5887 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.1829, allocations: 38.75 kB / 0.5888 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.183, allocations: 12.75 kB / 0.5888 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.1832, allocations: 216.6 kB / 0.589 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1833, allocations: 12.36 kB / 0.589 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1833, allocations: 3.938 kB / 0.589 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1835, allocations: 97.03 kB / 0.5891 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1836, allocations: 4 kB / 0.5891 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1836, allocations: 0 / 0.5891 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1836, allocations: 0 / 0.5891 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1838, allocations: 55.89 kB / 0.5892 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.184, allocations: 215.4 kB / 0.5894 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.1843, allocations: 119.7 kB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1844, allocations: 50.61 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1844, allocations: 0 / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.1847, allocations: 121.8 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1848, allocations: 3.938 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004787/0.1852, allocations: 157.7 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.1853, allocations: 132.5 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1855, allocations: 177.1 kB / 0.5901 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1855, allocations: 29.7 kB / 0.5901 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.1856, allocations: 104.1 kB / 0.5902 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.1856, allocations: 23.7 kB / 0.5902 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.1857, allocations: 25.66 kB / 0.5903 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1858, allocations: 322.8 kB / 0.5906 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1859, allocations: 32.03 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1861, allocations: 72.27 kB / 0.5907 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.1863, allocations: 91.34 kB / 0.5908 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1863, allocations: 7.969 kB / 0.5908 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003044/0.1866, allocations: 129.4 kB / 0.5909 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1867, allocations: 7.984 kB / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1867, allocations: 0 / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1867, allocations: 4 kB / 0.5909 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1868, allocations: 23.92 kB / 0.5909 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1868, allocations: 192 / 0.5909 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.732e-05/0.1869, allocations: 20.03 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.187, allocations: 7.938 kB / 0.5909 GB, free: 13.47 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.000127/0.1871, allocations: 125.8 kB / 0.5911 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.1871, allocations: 11.81 kB / 0.5911 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.1872, allocations: 21.39 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.1872, allocations: 4 kB / 0.5911 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1872, allocations: 0 / 0.5911 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1872, allocations: 0 / 0.5911 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1874, allocations: 205.5 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1874, allocations: 4 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/0.1875, allocations: 19.92 kB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1875, allocations: 0 / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1875, allocations: 4 kB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1875, allocations: 0 / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.1876, allocations: 4.062 kB / 0.5913 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.1879, allocations: 170.6 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.188, allocations: 84.92 kB / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.188, allocations: 11.92 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.1881, allocations: 4 kB / 0.5916 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.1882, allocations: 19.91 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.1882, allocations: 4 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001239/0.1883, allocations: 140.7 kB / 0.5917 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.1883, allocations: 4 kB / 0.5917 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002632/0.1886, allocations: 24 kB / 0.5918 GB, free: 12.52 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.00167/0.1903, allocations: 1.046 MB / 0.5928 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.1906, allocations: 88.02 kB / 0.5929 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1906, allocations: 0 / 0.5929 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1907, allocations: 43.91 kB / 0.5929 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.191, allocations: 28.53 kB / 0.5929 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.1931, allocations: 1.69 MB / 0.5946 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1934, allocations: 0.7041 MB / 0.5953 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.021e-05/0.1935, allocations: 24.52 kB / 0.5953 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.1936, allocations: 47.41 kB / 0.5954 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1936, allocations: 0 / 0.5954 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.2157, allocations: 3.734 MB / 0.599 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.498, allocations: 8 kB / 0.599 GB, free: 5.211 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)