Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.0008079, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008039/0.0008039, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 266.6 kB / 291.3 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9141/0.9141, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 14.58 kB / 0.598 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.001879/0.1788, allocations: 1.357 MB / 0.6858 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1807, allocations: 1.402 MB / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.1808, allocations: 7.938 kB / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.1811, allocations: 26.38 kB / 0.6872 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1813, allocations: 55.75 kB / 0.6873 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1815, allocations: 92.89 kB / 0.6874 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1817, allocations: 103.6 kB / 0.6875 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.387e-05/0.1818, allocations: 18.97 kB / 0.6875 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1819, allocations: 51.72 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1821, allocations: 47.81 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1821, allocations: 4 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1822, allocations: 56.52 kB / 0.6876 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.1823, allocations: 19.91 kB / 0.6876 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.1823, allocations: 34.27 kB / 0.6877 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1825, allocations: 120.5 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1825, allocations: 0 / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1825, allocations: 1.75 kB / 0.6878 GB, free: 12.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1825, allocations: 0 / 0.6878 GB, free: 12.06 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.0005652/0.1831, allocations: 423.7 kB / 0.6882 GB, free: 11.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1831, allocations: 8.594 kB / 0.6882 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.1832, allocations: 11.91 kB / 0.6882 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1834, allocations: 221.6 kB / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1835, allocations: 0 / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.1835, allocations: 7.938 kB / 0.6884 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.1837, allocations: 108.8 kB / 0.6885 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1837, allocations: 4 kB / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1837, allocations: 0 / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1838, allocations: 0 / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.1839, allocations: 61.73 kB / 0.6886 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.1841, allocations: 212.9 kB / 0.6888 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1844, allocations: 122.2 kB / 0.6889 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1845, allocations: 50.56 kB / 0.689 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1845, allocations: 4 kB / 0.689 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.1848, allocations: 113.9 kB / 0.6891 GB, free: 10.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.1848, allocations: 0 / 0.6891 GB, free: 10.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.000447/0.1852, allocations: 181.6 kB / 0.6893 GB, free: 10.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1853, allocations: 128.5 kB / 0.6894 GB, free: 10.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1855, allocations: 176.6 kB / 0.6895 GB, free: 10.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1855, allocations: 25.7 kB / 0.6896 GB, free: 9.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.1856, allocations: 104.1 kB / 0.6897 GB, free: 9.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1856, allocations: 23.64 kB / 0.6897 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-06/0.1856, allocations: 4 kB / 0.6897 GB, free: 9.848 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.1857, allocations: 330.8 kB / 0.69 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.1858, allocations: 39.91 kB / 0.6901 GB, free: 9.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1859, allocations: 60.28 kB / 0.6901 GB, free: 9.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.186, allocations: 48 kB / 0.6902 GB, free: 9.355 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1861, allocations: 0 / 0.6902 GB, free: 9.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002695/0.1863, allocations: 141.6 kB / 0.6903 GB, free: 9.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1864, allocations: 8 kB / 0.6903 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1864, allocations: 0 / 0.6903 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1864, allocations: 64 / 0.6903 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1865, allocations: 27.98 kB / 0.6903 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1865, allocations: 0 / 0.6903 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.1866, allocations: 20.08 kB / 0.6903 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1866, allocations: 4 kB / 0.6903 GB, free: 9.152 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.1868, allocations: 132.4 kB / 0.6905 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.1868, allocations: 15.81 kB / 0.6905 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.1868, allocations: 21.34 kB / 0.6905 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1868, allocations: 0 / 0.6905 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1869, allocations: 4.188 kB / 0.6905 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1869, allocations: 3.984 kB / 0.6905 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.187, allocations: 205.5 kB / 0.6907 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.187, allocations: 7.984 kB / 0.6907 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/0.1871, allocations: 12 kB / 0.6907 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1871, allocations: 0 / 0.6907 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1871, allocations: 7.984 kB / 0.6907 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1872, allocations: 0 / 0.6907 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1872, allocations: 4 kB / 0.6907 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.1874, allocations: 178.5 kB / 0.6909 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.1875, allocations: 88.95 kB / 0.691 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1875, allocations: 8 kB / 0.691 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.1876, allocations: 11.98 kB / 0.691 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.1877, allocations: 11.98 kB / 0.691 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1877, allocations: 4 kB / 0.691 GB, free: 8.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.916e-05/0.1878, allocations: 135.5 kB / 0.6912 GB, free: 8.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1878, allocations: 0 / 0.6912 GB, free: 8.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.188, allocations: 28 kB / 0.6912 GB, free: 8.191 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000952/0.189, allocations: 462.3 kB / 0.6916 GB, free: 7.906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.1893, allocations: 87.89 kB / 0.6917 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1893, allocations: 4.188 kB / 0.6917 GB, free: 7.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1894, allocations: 43.92 kB / 0.6918 GB, free: 7.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.1897, allocations: 31.92 kB / 0.6918 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.1901, allocations: 263.2 kB / 0.692 GB, free: 7.449 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.1903, allocations: 0.7004 MB / 0.6927 GB, free: 6.723 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.1904, allocations: 25.12 kB / 0.6927 GB, free: 6.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.1905, allocations: 23.42 kB / 0.6928 GB, free: 6.672 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1905, allocations: 0 / 0.6928 GB, free: 6.672 MB / 494.1 MB Notification: Performance of Templates: time 0.004226/0.1947, allocations: 1.875 MB / 0.6946 GB, free: 4.824 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)