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.0007679/0.0007679, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.004697/0.004697, allocations: 168.8 kB / 16.26 MB, free: 6.66 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 254.7 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 8.719 kB / 0.5987 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.001722/0.1497, allocations: 1.387 MB / 0.6865 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1514, allocations: 1.458 MB / 0.6879 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.1515, allocations: 0 / 0.6879 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.1517, allocations: 35.83 kB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.1519, allocations: 59.7 kB / 0.688 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.1522, allocations: 95.83 kB / 0.6881 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1524, allocations: 123.5 kB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1524, allocations: 10.86 kB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1525, allocations: 51.77 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1527, allocations: 47.78 kB / 0.6883 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1527, allocations: 8.438 kB / 0.6883 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1528, allocations: 60.58 kB / 0.6884 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.1529, allocations: 19.92 kB / 0.6884 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.1529, allocations: 71.3 kB / 0.6885 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1531, allocations: 139.8 kB / 0.6886 GB, free: 11.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1531, allocations: 0 / 0.6886 GB, free: 11.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1532, allocations: 3.984 kB / 0.6886 GB, free: 11.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1532, allocations: 0 / 0.6886 GB, free: 11.51 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.0005266/0.1537, allocations: 427.1 kB / 0.689 GB, free: 11.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1537, allocations: 12.03 kB / 0.689 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.1538, allocations: 14.41 kB / 0.689 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.154, allocations: 229.1 kB / 0.6893 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.154, allocations: 4.359 kB / 0.6893 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1541, allocations: 8.75 kB / 0.6893 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1543, allocations: 96.53 kB / 0.6894 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1543, allocations: 7.938 kB / 0.6894 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1543, allocations: 3.984 kB / 0.6894 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1543, allocations: 0 / 0.6894 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1545, allocations: 57.7 kB / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.1547, allocations: 209 kB / 0.6896 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.155, allocations: 121.7 kB / 0.6897 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.1551, allocations: 58.48 kB / 0.6898 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1551, allocations: 4 kB / 0.6898 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.1554, allocations: 109.9 kB / 0.6899 GB, free: 9.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1554, allocations: 0 / 0.6899 GB, free: 9.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004749/0.1559, allocations: 177.5 kB / 0.6901 GB, free: 9.793 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.1559, allocations: 136.5 kB / 0.6902 GB, free: 9.629 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1561, allocations: 172.6 kB / 0.6904 GB, free: 9.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1561, allocations: 25.7 kB / 0.6904 GB, free: 9.422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.1562, allocations: 104.3 kB / 0.6905 GB, free: 9.316 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1562, allocations: 35.62 kB / 0.6905 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.1563, allocations: 13.72 kB / 0.6905 GB, free: 9.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1564, allocations: 326.8 kB / 0.6909 GB, free: 8.934 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1565, allocations: 35.97 kB / 0.6909 GB, free: 8.898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1566, allocations: 68.22 kB / 0.691 GB, free: 8.816 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.1569, allocations: 107.4 kB / 0.6911 GB, free: 8.699 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1569, allocations: 0 / 0.6911 GB, free: 8.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002902/0.1572, allocations: 145.3 kB / 0.6912 GB, free: 8.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1572, allocations: 5.875 kB / 0.6912 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1572, allocations: 4.094 kB / 0.6912 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1572, allocations: 4 kB / 0.6912 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1573, allocations: 19.98 kB / 0.6912 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1573, allocations: 7.984 kB / 0.6912 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.1574, allocations: 12 kB / 0.6912 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1574, allocations: 0 / 0.6912 GB, free: 8.5 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.697e-05/0.1575, allocations: 139 kB / 0.6914 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1576, allocations: 20.12 kB / 0.6914 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.1576, allocations: 17.39 kB / 0.6914 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1576, allocations: 4 kB / 0.6914 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1576, allocations: 4 kB / 0.6914 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1576, allocations: 0 / 0.6914 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1578, allocations: 201.5 kB / 0.6916 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1578, allocations: 0 / 0.6916 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.1579, allocations: 19.98 kB / 0.6916 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1579, allocations: 0 / 0.6916 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1579, allocations: 0 / 0.6916 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1579, allocations: 8 kB / 0.6916 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1579, allocations: 0 / 0.6916 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.1583, allocations: 186.5 kB / 0.6918 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1583, allocations: 92.94 kB / 0.6919 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1583, allocations: 4 kB / 0.6919 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.1584, allocations: 8 kB / 0.6919 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.1585, allocations: 7.984 kB / 0.6919 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1585, allocations: 4 kB / 0.6919 GB, free: 7.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1586, allocations: 143.5 kB / 0.6921 GB, free: 7.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1586, allocations: 4 kB / 0.6921 GB, free: 7.555 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1588, allocations: 28 kB / 0.6921 GB, free: 7.527 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.0009451/0.1598, allocations: 453.3 kB / 0.6925 GB, free: 7.254 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.1601, allocations: 87.89 kB / 0.6926 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1601, allocations: 7.938 kB / 0.6926 GB, free: 7.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1602, allocations: 48.2 kB / 0.6927 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.1605, allocations: 35.92 kB / 0.6927 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.1611, allocations: 274.8 kB / 0.693 GB, free: 6.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1613, allocations: 0.7043 MB / 0.6936 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.1614, allocations: 16.88 kB / 0.6937 GB, free: 6.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.1615, allocations: 23.42 kB / 0.6937 GB, free: 6 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1615, allocations: 4 kB / 0.6937 GB, free: 5.996 MB / 494.1 MB Notification: Performance of Templates: time 0.004873/0.1664, allocations: 1.901 MB / 0.6955 GB, free: 4.121 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)