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.001085/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00109/0.00109, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9651/0.9651, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 61.75 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1911, allocations: 80.93 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003169/0.1943, allocations: 1.715 MB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1965, allocations: 1.475 MB / 0.5869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.1966, allocations: 3.938 kB / 0.5869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.1969, allocations: 31.89 kB / 0.587 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1971, allocations: 55.77 kB / 0.587 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1974, allocations: 102.6 kB / 0.5871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1976, allocations: 123.6 kB / 0.5872 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.1976, allocations: 9.125 kB / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1978, allocations: 51.7 kB / 0.5873 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.198, allocations: 55.75 kB / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.198, allocations: 4 kB / 0.5874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1981, allocations: 51.98 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.1982, allocations: 19.92 kB / 0.5874 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.1983, allocations: 47.66 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1985, allocations: 147.8 kB / 0.5876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1985, allocations: 0 / 0.5876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1985, allocations: 0 / 0.5876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1985, allocations: 4 kB / 0.5876 GB, free: 1.012 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.000689/0.1992, allocations: 431 kB / 0.588 GB, free: 0.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1993, allocations: 12.03 kB / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.1993, allocations: 34.75 kB / 0.5881 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.1993, allocations: 12.75 kB / 0.5881 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1996, allocations: 229.5 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1996, allocations: 384 / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1996, allocations: 11.88 kB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.1999, allocations: 97.09 kB / 0.5884 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1999, allocations: 7.984 kB / 0.5884 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1999, allocations: 3.984 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1999, allocations: 0 / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.2001, allocations: 51.91 kB / 0.5885 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.2004, allocations: 215.4 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.2006, allocations: 111.7 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2008, allocations: 54.61 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.2008, allocations: 0 / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.2011, allocations: 125.8 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2011, allocations: 0 / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004626/0.2016, allocations: 157.5 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.2017, allocations: 136.5 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.2019, allocations: 183.8 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2019, allocations: 25.95 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.202, allocations: 108.1 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.202, allocations: 23.7 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.2021, allocations: 21.72 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2022, allocations: 326.8 kB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2023, allocations: 27.97 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.2024, allocations: 72.27 kB / 0.59 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.2026, allocations: 87.34 kB / 0.5901 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2026, allocations: 7.938 kB / 0.5901 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002849/0.2029, allocations: 133.4 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.203, allocations: 5.875 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.203, allocations: 4 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.203, allocations: 0 / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2031, allocations: 23.92 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2031, allocations: 4 kB / 0.5902 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.2032, allocations: 11.94 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.2032, allocations: 8.078 kB / 0.5903 GB, free: 13.98 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.794e-05/0.2033, allocations: 130 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.2034, allocations: 11.81 kB / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.2034, allocations: 25.39 kB / 0.5904 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2034, allocations: 4 kB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2035, allocations: 0 / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2035, allocations: 4 kB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2036, allocations: 201.5 kB / 0.5906 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2036, allocations: 0 / 0.5906 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.2037, allocations: 19.92 kB / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2037, allocations: 4 kB / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2037, allocations: 0 / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2038, allocations: 4 kB / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2038, allocations: 0 / 0.5906 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.2041, allocations: 170.6 kB / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.2041, allocations: 92.86 kB / 0.5909 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2042, allocations: 3.984 kB / 0.5909 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.2042, allocations: 8 kB / 0.5909 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.2043, allocations: 11.98 kB / 0.5909 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.2043, allocations: 4.188 kB / 0.5909 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001104/0.2044, allocations: 131.2 kB / 0.591 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2044, allocations: 3.938 kB / 0.591 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002418/0.2047, allocations: 32 kB / 0.5911 GB, free: 13.02 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.001507/0.2062, allocations: 1.046 MB / 0.5921 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.2065, allocations: 79.89 kB / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2065, allocations: 0 / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.2066, allocations: 48.16 kB / 0.5922 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.2069, allocations: 27.83 kB / 0.5922 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.2089, allocations: 1.712 MB / 0.5939 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.2093, allocations: 0.7004 MB / 0.5946 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.477e-05/0.2094, allocations: 24.53 kB / 0.5946 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.2094, allocations: 43.41 kB / 0.5947 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.2095, allocations: 0 / 0.5947 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.2252, allocations: 3.528 MB / 0.5981 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.2254, allocations: 235.2 kB / 0.5983 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/1.969, allocations: 3.375 kB / 0.5983 GB, free: 5.711 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)