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.001188/0.001189, allocations: 107.7 kB / 16.37 MB, free: 6.477 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.001171/0.001171, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 285.4 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8958/0.8958, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 94.11 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1536, allocations: 86.98 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003097/0.1568, allocations: 1.679 MB / 0.6832 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1588, allocations: 1.507 MB / 0.6847 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.159, allocations: 0 / 0.6847 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.1593, allocations: 39.77 kB / 0.6848 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1596, allocations: 63.64 kB / 0.6848 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.1599, allocations: 119.6 kB / 0.6849 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1601, allocations: 123.6 kB / 0.685 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.1602, allocations: 13.11 kB / 0.6851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1603, allocations: 55.77 kB / 0.6851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1605, allocations: 63.62 kB / 0.6852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1606, allocations: 4 kB / 0.6852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1607, allocations: 59.98 kB / 0.6852 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.1608, allocations: 27.91 kB / 0.6853 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.1608, allocations: 47.67 kB / 0.6853 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1611, allocations: 147.6 kB / 0.6854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1611, allocations: 0 / 0.6854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1611, allocations: 0 / 0.6854 GB, free: 3.477 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1611, allocations: 0 / 0.6854 GB, free: 3.477 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.0006122/0.1617, allocations: 450.7 kB / 0.6859 GB, free: 2.988 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1618, allocations: 8.031 kB / 0.6859 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.1618, allocations: 12.84 kB / 0.6859 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.1621, allocations: 216 kB / 0.6861 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1622, allocations: 4.375 kB / 0.6861 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1622, allocations: 12.11 kB / 0.6861 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.1624, allocations: 93.03 kB / 0.6862 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1624, allocations: 0 / 0.6862 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1624, allocations: 8 kB / 0.6862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1624, allocations: 4 kB / 0.6862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.1626, allocations: 47.95 kB / 0.6863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.1628, allocations: 207.4 kB / 0.6865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.1631, allocations: 115.8 kB / 0.6866 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1632, allocations: 54.55 kB / 0.6866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1633, allocations: 11.98 kB / 0.6866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.1635, allocations: 109.9 kB / 0.6867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 3.216e-06/0.1635, allocations: 0 / 0.6867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004928/0.164, allocations: 157.4 kB / 0.6869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.1641, allocations: 136.8 kB / 0.687 GB, free: 1.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1643, allocations: 180.5 kB / 0.6872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1643, allocations: 29.7 kB / 0.6872 GB, free: 1.391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.1643, allocations: 104.1 kB / 0.6873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.1644, allocations: 23.73 kB / 0.6873 GB, free: 1.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.1645, allocations: 25.72 kB / 0.6874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1646, allocations: 322.8 kB / 0.6877 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1647, allocations: 35.97 kB / 0.6877 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1648, allocations: 64.22 kB / 0.6878 GB, free: 0.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.165, allocations: 99.55 kB / 0.6879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.165, allocations: 0 / 0.6879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003072/0.1654, allocations: 133.3 kB / 0.688 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1654, allocations: 8 kB / 0.688 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1654, allocations: 0 / 0.688 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1654, allocations: 7.969 kB / 0.688 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1655, allocations: 28.08 kB / 0.688 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1656, allocations: 4 kB / 0.688 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-05/0.1656, allocations: 4 kB / 0.688 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1657, allocations: 7.938 kB / 0.6881 GB, free: 500 kB / 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.000102/0.1658, allocations: 131.1 kB / 0.6882 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1658, allocations: 15.81 kB / 0.6882 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.1659, allocations: 17.39 kB / 0.6882 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1659, allocations: 0 / 0.6882 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.1659, allocations: 8.312 kB / 0.6882 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1659, allocations: 0 / 0.6882 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1661, allocations: 205.5 kB / 0.6884 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1661, allocations: 4 kB / 0.6884 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.051e-05/0.1661, allocations: 15.98 kB / 0.6884 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1662, allocations: 0 / 0.6884 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1662, allocations: 4 kB / 0.6884 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1662, allocations: 4 kB / 0.6884 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.1662, allocations: 3.938 kB / 0.6884 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2589/0.4251, allocations: 162.4 kB / 0.6886 GB, free: 18.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.4252, allocations: 91.61 kB / 0.6887 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.4252, allocations: 3.547 kB / 0.6887 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.4253, allocations: 9.781 kB / 0.6887 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.4254, allocations: 8.375 kB / 0.6887 GB, free: 18.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.4254, allocations: 7.094 kB / 0.6887 GB, free: 18.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.4255, allocations: 134.2 kB / 0.6888 GB, free: 18.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4255, allocations: 4.422 kB / 0.6888 GB, free: 18.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000318/0.4259, allocations: 31.22 kB / 0.6889 GB, free: 18.02 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.0009219/0.4268, allocations: 441.3 kB / 0.6893 GB, free: 17.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.4271, allocations: 97.7 kB / 0.6894 GB, free: 17.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4271, allocations: 0 / 0.6894 GB, free: 17.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.4272, allocations: 41.11 kB / 0.6894 GB, free: 17.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.4275, allocations: 34.39 kB / 0.6895 GB, free: 17.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.428, allocations: 242.2 kB / 0.6897 GB, free: 17.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.4281, allocations: 0.7043 MB / 0.6904 GB, free: 17.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.398e-05/0.4282, allocations: 22.78 kB / 0.6904 GB, free: 17.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.4282, allocations: 26.78 kB / 0.6904 GB, free: 17.03 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4282, allocations: 0.6562 kB / 0.6904 GB, free: 17.03 MB / 494.1 MB Notification: Performance of Templates: time 0.005155/0.4334, allocations: 2.032 MB / 0.6924 GB, free: 16.89 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)