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.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001696/0.001696, allocations: 194.2 kB / 16.14 MB, free: 6.734 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 278.9 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9719/0.9719, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 93.45 kB / 0.5945 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1641, allocations: 86.98 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003088/0.1672, allocations: 1.729 MB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1692, allocations: 1.483 MB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.1693, allocations: 0 / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1696, allocations: 39.84 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.1698, allocations: 51.77 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1701, allocations: 95.83 kB / 0.6828 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1703, allocations: 127.5 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.1704, allocations: 13.11 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1705, allocations: 47.78 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1706, allocations: 48.62 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1707, allocations: 4 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1708, allocations: 67.89 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.1709, allocations: 19.92 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.1709, allocations: 43.67 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1712, allocations: 139.9 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1712, allocations: 0 / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1712, allocations: 0 / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1712, allocations: 0 / 0.6832 GB, free: 13.28 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.0006222/0.1718, allocations: 442.8 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1718, allocations: 12.03 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.1719, allocations: 12.84 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.1721, allocations: 224.4 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1722, allocations: 8.375 kB / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1722, allocations: 4.125 kB / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.1724, allocations: 105 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1724, allocations: 0 / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1725, allocations: 8 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1725, allocations: 3.938 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.1726, allocations: 43.97 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.1729, allocations: 203.5 kB / 0.6843 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.1731, allocations: 123.8 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1732, allocations: 46.56 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1733, allocations: 7.938 kB / 0.6844 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.1735, allocations: 109.9 kB / 0.6845 GB, free: 11.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1735, allocations: 0 / 0.6845 GB, free: 11.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.000461/0.174, allocations: 169.7 kB / 0.6847 GB, free: 11.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.1741, allocations: 136.5 kB / 0.6848 GB, free: 11.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1743, allocations: 169.4 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1743, allocations: 37.69 kB / 0.685 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.1743, allocations: 96.14 kB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.1744, allocations: 31.62 kB / 0.6851 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.1744, allocations: 29.66 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.1745, allocations: 322.8 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.1746, allocations: 35.97 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1748, allocations: 60.27 kB / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.175, allocations: 95.38 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.175, allocations: 0 / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002866/0.1753, allocations: 141.4 kB / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1753, allocations: 4 kB / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1753, allocations: 0 / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1753, allocations: 4 kB / 0.6858 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1755, allocations: 24.08 kB / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1755, allocations: 0 / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.959e-05/0.1755, allocations: 15.89 kB / 0.6858 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1756, allocations: 0 / 0.6858 GB, free: 10.29 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 ($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.781e-05/0.1757, allocations: 133.1 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.1757, allocations: 11.91 kB / 0.686 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.1757, allocations: 17.39 kB / 0.686 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1758, allocations: 4 kB / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1758, allocations: 4 kB / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1758, allocations: 192 / 0.686 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.176, allocations: 201.5 kB / 0.6862 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.176, allocations: 3.938 kB / 0.6862 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.176, allocations: 15.98 kB / 0.6862 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1761, allocations: 0 / 0.6862 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1761, allocations: 8 kB / 0.6862 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1761, allocations: 4.125 kB / 0.6862 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1761, allocations: 0 / 0.6862 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.1764, allocations: 174.5 kB / 0.6864 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.1765, allocations: 92.94 kB / 0.6865 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.1765, allocations: 8 kB / 0.6865 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.1766, allocations: 4 kB / 0.6865 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1766, allocations: 11.98 kB / 0.6865 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1766, allocations: 4 kB / 0.6865 GB, free: 9.512 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1767, allocations: 135.5 kB / 0.6866 GB, free: 9.379 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1768, allocations: 0 / 0.6866 GB, free: 9.379 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.177, allocations: 35.94 kB / 0.6867 GB, free: 9.344 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 (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.0009463/0.1779, allocations: 446.2 kB / 0.6871 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.1782, allocations: 79.89 kB / 0.6872 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1783, allocations: 4 kB / 0.6872 GB, free: 8.992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1784, allocations: 43.91 kB / 0.6872 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1787, allocations: 34.73 kB / 0.6873 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.1791, allocations: 274.5 kB / 0.6875 GB, free: 8.617 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1794, allocations: 0.7083 MB / 0.6882 GB, free: 7.883 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.841e-05/0.1795, allocations: 16.86 kB / 0.6882 GB, free: 7.863 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.1796, allocations: 23.42 kB / 0.6883 GB, free: 7.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1796, allocations: 0 / 0.6883 GB, free: 7.84 MB / 494.1 MB Notification: Performance of Templates: time 0.005586/0.1852, allocations: 1.92 MB / 0.6901 GB, free: 5.941 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)