Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_Buildings_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.001034/0.001034, 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.001105/0.001105, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.556/1.556, allocations: 292.3 MB / 0.5489 GB, free: 13.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 72.53 kB / 0.6716 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1776, allocations: 114.6 MB / 0.7835 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002747/0.1804, allocations: 1.667 MB / 0.7851 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1821, allocations: 1.435 MB / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.1822, allocations: 3.938 kB / 0.7865 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.1824, allocations: 39.77 kB / 0.7866 GB, free: 10.32 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1826, allocations: 55.7 kB / 0.7866 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1828, allocations: 87.69 kB / 0.7867 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.183, allocations: 127.6 kB / 0.7868 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.1831, allocations: 17.09 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1832, allocations: 59.78 kB / 0.7869 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1833, allocations: 51.7 kB / 0.7869 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1834, allocations: 8 kB / 0.7869 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1835, allocations: 63.95 kB / 0.787 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.1835, allocations: 23.92 kB / 0.787 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.1836, allocations: 35.75 kB / 0.7871 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1838, allocations: 151.8 kB / 0.7872 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1838, allocations: 0 / 0.7872 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1838, allocations: 0 / 0.7872 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1838, allocations: 0 / 0.7872 GB, free: 9.656 MB / 0.6075 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.0005492/0.1844, allocations: 446.9 kB / 0.7876 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.1844, allocations: 8.031 kB / 0.7876 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.1845, allocations: 34.69 kB / 0.7877 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1845, allocations: 20.75 kB / 0.7877 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1847, allocations: 224 kB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1847, allocations: 8.297 kB / 0.7879 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.1848, allocations: 7.938 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.185, allocations: 105 kB / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.185, allocations: 0 / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.185, allocations: 0 / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.185, allocations: 4 kB / 0.788 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.1852, allocations: 51.89 kB / 0.7881 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.1854, allocations: 207.5 kB / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.1856, allocations: 115.7 kB / 0.7884 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1857, allocations: 50.62 kB / 0.7884 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1858, allocations: 7.984 kB / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.186, allocations: 101.9 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.186, allocations: 4 kB / 0.7885 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004393/0.1865, allocations: 165.4 kB / 0.7887 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1865, allocations: 132.5 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1867, allocations: 170.4 kB / 0.789 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1867, allocations: 29.7 kB / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.1867, allocations: 104.4 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.1868, allocations: 23.66 kB / 0.7891 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.1868, allocations: 29.7 kB / 0.7892 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.1869, allocations: 322.8 kB / 0.7895 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.187, allocations: 31.92 kB / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1871, allocations: 68.27 kB / 0.7896 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1873, allocations: 95.34 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1874, allocations: 3.938 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002748/0.1876, allocations: 129.5 kB / 0.7898 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1877, allocations: 8 kB / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1877, allocations: 3.984 kB / 0.7898 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.1877, allocations: 0 / 0.7898 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1878, allocations: 23.92 kB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1878, allocations: 4 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.1879, allocations: 12.2 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1879, allocations: 4 kB / 0.7898 GB, free: 6.625 MB / 0.6075 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 8.859e-05/0.188, allocations: 136.8 kB / 0.79 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.188, allocations: 15.89 kB / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1881, allocations: 17.34 kB / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1881, allocations: 3.938 kB / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1881, allocations: 0 / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1881, allocations: 4 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.1883, allocations: 209.4 kB / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1883, allocations: 0 / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.1883, allocations: 15.98 kB / 0.7902 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1884, allocations: 11.94 kB / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1884, allocations: 0 / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1884, allocations: 7.984 kB / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1884, allocations: 0 / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.1887, allocations: 162.6 kB / 0.7904 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.1887, allocations: 92.86 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.1888, allocations: 7.984 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.1888, allocations: 11.98 kB / 0.7905 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.1889, allocations: 4 kB / 0.7905 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1889, allocations: 15.92 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.688e-05/0.189, allocations: 136.2 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.189, allocations: 0 / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002278/0.1892, allocations: 27.98 kB / 0.7907 GB, free: 5.66 MB / 0.6075 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.001301/0.1905, allocations: 1.042 MB / 0.7917 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1908, allocations: 87.83 kB / 0.7918 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1908, allocations: 0 / 0.7918 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.191, allocations: 40.22 kB / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1912, allocations: 35.97 kB / 0.7919 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.193, allocations: 1.689 MB / 0.7935 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.1932, allocations: 0.7041 MB / 0.7942 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.223e-05/0.1933, allocations: 28.77 kB / 0.7942 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.1933, allocations: 39.42 kB / 0.7943 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1933, allocations: 0 / 0.7943 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3012/0.4946, allocations: 3.744 MB / 0.7979 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.741, allocations: 10.34 kB / 0.7979 GB, free: 14.34 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)