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.00137/0.00137, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001567/0.001567, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 290.4 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9091/0.9091, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002706, allocations: 88.39 kB / 0.5947 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2196, allocations: 86.99 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003574/0.2233, allocations: 1.732 MB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.2251, allocations: 1.481 MB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.2252, allocations: 0 / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.2255, allocations: 31.83 kB / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.2257, allocations: 56.39 kB / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.226, allocations: 98.31 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.2262, allocations: 128.3 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.2263, allocations: 17.92 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.2264, allocations: 59.77 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.2266, allocations: 60.31 kB / 0.6832 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.2266, allocations: 5.312 kB / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.2267, allocations: 59.98 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.2268, allocations: 27.91 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.2268, allocations: 39.73 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.2271, allocations: 148.5 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2271, allocations: 0 / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2271, allocations: 4 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.2271, allocations: 0 / 0.6835 GB, free: 13.13 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.0006435/0.2277, allocations: 442.8 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2278, allocations: 8.031 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.2278, allocations: 16.78 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.2281, allocations: 216.5 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2281, allocations: 8.375 kB / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.2281, allocations: 8.125 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.2284, allocations: 105 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2284, allocations: 0 / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2284, allocations: 0 / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2284, allocations: 4 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.2286, allocations: 47.95 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.2288, allocations: 207.5 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.2291, allocations: 115.8 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.2292, allocations: 58.42 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.2293, allocations: 7.984 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.2295, allocations: 105.9 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.2295, allocations: 0 / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004845/0.23, allocations: 165.3 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.2301, allocations: 132.5 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.2303, allocations: 173.4 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2303, allocations: 29.95 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.2304, allocations: 108.1 kB / 0.6853 GB, free: 10.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.2304, allocations: 23.66 kB / 0.6854 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.2305, allocations: 25.7 kB / 0.6854 GB, free: 10.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2306, allocations: 322.8 kB / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.2308, allocations: 31.98 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.2309, allocations: 72.14 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.2311, allocations: 91.39 kB / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.2311, allocations: 0 / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002968/0.2314, allocations: 137.4 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2314, allocations: 8 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2315, allocations: 0 / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2315, allocations: 4 kB / 0.686 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.2316, allocations: 15.98 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2316, allocations: 7.984 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.2317, allocations: 11.84 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2317, allocations: 8.406 kB / 0.6861 GB, free: 10.15 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 0.00011/0.2318, allocations: 139 kB / 0.6862 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.2319, allocations: 15.91 kB / 0.6862 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.2319, allocations: 13.41 kB / 0.6862 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2319, allocations: 3.984 kB / 0.6862 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2319, allocations: 4 kB / 0.6862 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2319, allocations: 0 / 0.6862 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.2321, allocations: 205.5 kB / 0.6864 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2321, allocations: 0 / 0.6864 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.2322, allocations: 19.98 kB / 0.6864 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2322, allocations: 0 / 0.6864 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2322, allocations: 8 kB / 0.6865 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2323, allocations: 0 / 0.6865 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2323, allocations: 0 / 0.6865 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.2326, allocations: 170.5 kB / 0.6866 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.2326, allocations: 88.95 kB / 0.6867 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.2327, allocations: 8 kB / 0.6867 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.2327, allocations: 7.984 kB / 0.6867 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.2328, allocations: 7.984 kB / 0.6867 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.2328, allocations: 4 kB / 0.6867 GB, free: 9.367 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.2329, allocations: 135.5 kB / 0.6869 GB, free: 9.234 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2329, allocations: 0 / 0.6869 GB, free: 9.234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000241/0.2332, allocations: 35.98 kB / 0.6869 GB, free: 9.199 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.001018/0.2342, allocations: 450.8 kB / 0.6873 GB, free: 8.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.2345, allocations: 95.88 kB / 0.6874 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2345, allocations: 0 / 0.6874 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.2347, allocations: 39.92 kB / 0.6875 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.235, allocations: 37.94 kB / 0.6875 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.2355, allocations: 269.2 kB / 0.6877 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.2357, allocations: 0.708 MB / 0.6884 GB, free: 7.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.639e-05/0.2358, allocations: 16.88 kB / 0.6885 GB, free: 7.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.2359, allocations: 15.44 kB / 0.6885 GB, free: 7.695 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2359, allocations: 0 / 0.6885 GB, free: 7.695 MB / 494.1 MB Notification: Performance of Templates: time 0.004762/0.2406, allocations: 1.986 MB / 0.6904 GB, free: 5.734 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)