Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009746/0.0009743, allocations: 170.5 kB / 327 MB, free: 2.133 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000682/0.000682, allocations: 79.95 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002783, allocations: 7.938 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1764, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001671/0.1781, allocations: 1.402 MB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1795, allocations: 1.387 MB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.1796, allocations: 0 / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.1798, allocations: 31.83 kB / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.18, allocations: 55.77 kB / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1802, allocations: 83.83 kB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1804, allocations: 119.6 kB / 0.9039 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.1804, allocations: 13.11 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.1805, allocations: 51.66 kB / 0.904 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1807, allocations: 51.77 kB / 0.904 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1807, allocations: 4 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1808, allocations: 59.95 kB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.1808, allocations: 19.92 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.1809, allocations: 69.38 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1811, allocations: 147.8 kB / 0.9043 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1811, allocations: 0 / 0.9043 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1811, allocations: 0 / 0.9043 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.1811, allocations: 0 / 0.9043 GB, free: 59.92 MB / 0.6042 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.0005033/0.1816, allocations: 419.1 kB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1817, allocations: 12.03 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.1817, allocations: 34.75 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.1817, allocations: 20.75 kB / 0.9048 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.1819, allocations: 224 kB / 0.905 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1819, allocations: 4.312 kB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.182, allocations: 7.938 kB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1822, allocations: 105.1 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1822, allocations: 0 / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1822, allocations: 0 / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1822, allocations: 0 / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1824, allocations: 55.91 kB / 0.9052 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.1825, allocations: 219.4 kB / 0.9054 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.1828, allocations: 119.7 kB / 0.9055 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/0.1829, allocations: 54.62 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1829, allocations: 0 / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.1831, allocations: 117.9 kB / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1831, allocations: 3.938 kB / 0.9057 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004052/0.1835, allocations: 177.6 kB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1836, allocations: 132.5 kB / 0.906 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1837, allocations: 170.9 kB / 0.9061 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1837, allocations: 37.69 kB / 0.9062 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.1838, allocations: 96.14 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1838, allocations: 31.62 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.1838, allocations: 4 kB / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.453e-05/0.1839, allocations: 326.9 kB / 0.9066 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.184, allocations: 31.98 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.569e-05/0.1841, allocations: 64.27 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1842, allocations: 107.4 kB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1843, allocations: 3.938 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002424/0.1845, allocations: 145.7 kB / 0.9069 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1845, allocations: 10.91 kB / 0.9069 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1845, allocations: 4 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1846, allocations: 4 kB / 0.9069 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1847, allocations: 24.08 kB / 0.907 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1847, allocations: 0 / 0.907 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.1848, allocations: 15.98 kB / 0.907 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1848, allocations: 0 / 0.907 GB, free: 56.87 MB / 0.6042 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 7.976e-05/0.1849, allocations: 135.8 kB / 0.9071 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.1849, allocations: 15.81 kB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.1849, allocations: 13.41 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.185, allocations: 12.12 kB / 0.9072 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.185, allocations: 3.984 kB / 0.9072 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.185, allocations: 3.938 kB / 0.9072 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.1851, allocations: 201.5 kB / 0.9074 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1851, allocations: 0 / 0.9074 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/0.1852, allocations: 12 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1852, allocations: 7.984 kB / 0.9074 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1852, allocations: 4 kB / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1852, allocations: 4 kB / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1852, allocations: 0 / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.1855, allocations: 178.5 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.1855, allocations: 89.02 kB / 0.9076 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.1856, allocations: 15.91 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.1857, allocations: 8 kB / 0.9077 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.1857, allocations: 11.98 kB / 0.9077 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1858, allocations: 4 kB / 0.9077 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.369e-05/0.1858, allocations: 131.2 kB / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1858, allocations: 0 / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002189/0.1861, allocations: 32 kB / 0.9078 GB, free: 55.91 MB / 0.6042 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.001337/0.1874, allocations: 1.068 MB / 0.9089 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.1877, allocations: 92.02 kB / 0.909 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1877, allocations: 0 / 0.909 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1878, allocations: 47.91 kB / 0.909 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.1881, allocations: 24.23 kB / 0.909 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.1897, allocations: 1.732 MB / 0.9107 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.1898, allocations: 0.7004 MB / 0.9114 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.275e-05/0.1899, allocations: 28.42 kB / 0.9114 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.19, allocations: 43.41 kB / 0.9115 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.19, allocations: 0 / 0.9115 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.2034, allocations: 3.324 MB / 0.9147 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.2036, allocations: 259.1 kB / 0.915 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.804, allocations: 3.938 kB / 0.915 GB, free: 48.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)