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.001048/0.001048, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 286.6 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.915/0.915, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 95.36 kB / 0.5952 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1499, allocations: 86.99 MB / 0.6802 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002786/0.1527, allocations: 1.662 MB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1546, allocations: 1.509 MB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.1547, allocations: 0 / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.155, allocations: 35.77 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1552, allocations: 67.62 kB / 0.6834 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1555, allocations: 117.8 kB / 0.6835 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.1557, allocations: 123.6 kB / 0.6836 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.1557, allocations: 9.703 kB / 0.6836 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1558, allocations: 64.58 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007078/0.1566, allocations: 52.28 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.1566, allocations: 8 kB / 0.6837 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1567, allocations: 57.2 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.1568, allocations: 27.91 kB / 0.6838 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.1569, allocations: 47.67 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1571, allocations: 148.6 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1571, allocations: 0 / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1571, allocations: 4 kB / 0.684 GB, free: 12.78 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1571, allocations: 0 / 0.684 GB, free: 12.78 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.0005636/0.1577, allocations: 442.9 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1577, allocations: 12.03 kB / 0.6844 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.1578, allocations: 16.78 kB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.158, allocations: 216 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.158, allocations: 4.375 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1581, allocations: 4.125 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.1583, allocations: 105 kB / 0.6848 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1583, allocations: 3.938 kB / 0.6848 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1583, allocations: 4 kB / 0.6848 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1583, allocations: 0 / 0.6848 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1585, allocations: 51.89 kB / 0.6848 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.1587, allocations: 207.5 kB / 0.685 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.159, allocations: 119.8 kB / 0.6851 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.1591, allocations: 54.55 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1592, allocations: 7.984 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.1594, allocations: 109.9 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.1594, allocations: 4 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004808/0.1599, allocations: 161.4 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.16, allocations: 128.5 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1602, allocations: 180 kB / 0.6858 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1602, allocations: 29.7 kB / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.1602, allocations: 108.4 kB / 0.6859 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.1603, allocations: 19.66 kB / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.1603, allocations: 29.7 kB / 0.6859 GB, free: 10.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1604, allocations: 322.8 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1606, allocations: 27.98 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1607, allocations: 68.27 kB / 0.6863 GB, free: 10.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.1609, allocations: 95.33 kB / 0.6864 GB, free: 9.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1609, allocations: 0 / 0.6864 GB, free: 9.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002952/0.1612, allocations: 137.5 kB / 0.6866 GB, free: 9.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1612, allocations: 4 kB / 0.6866 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.1612, allocations: 0 / 0.6866 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1613, allocations: 4 kB / 0.6866 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1614, allocations: 23.92 kB / 0.6866 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1614, allocations: 3.984 kB / 0.6866 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.1615, allocations: 16.16 kB / 0.6866 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1615, allocations: 0 / 0.6866 GB, free: 9.797 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.0001042/0.1616, allocations: 139.2 kB / 0.6867 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.1616, allocations: 11.91 kB / 0.6868 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.1617, allocations: 13.41 kB / 0.6868 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1617, allocations: 4 kB / 0.6868 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1617, allocations: 3.984 kB / 0.6868 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1617, allocations: 0 / 0.6868 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.1619, allocations: 209.7 kB / 0.687 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1619, allocations: 0 / 0.687 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.162, allocations: 19.88 kB / 0.687 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.162, allocations: 7.984 kB / 0.687 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.162, allocations: 4 kB / 0.687 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.162, allocations: 0 / 0.687 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.162, allocations: 0 / 0.687 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.1623, allocations: 166.5 kB / 0.6872 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.1624, allocations: 88.95 kB / 0.6872 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1624, allocations: 11.94 kB / 0.6873 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.1625, allocations: 7.984 kB / 0.6873 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1625, allocations: 11.98 kB / 0.6873 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1626, allocations: 4 kB / 0.6873 GB, free: 9.008 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1627, allocations: 132.8 kB / 0.6874 GB, free: 8.879 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1627, allocations: 0 / 0.6874 GB, free: 8.879 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1629, allocations: 31.98 kB / 0.6874 GB, free: 8.848 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.0009444/0.1639, allocations: 460.7 kB / 0.6879 GB, free: 8.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.1642, allocations: 91.94 kB / 0.688 GB, free: 8.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1642, allocations: 0 / 0.688 GB, free: 8.477 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.1643, allocations: 39.92 kB / 0.688 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1646, allocations: 35.91 kB / 0.688 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.165, allocations: 237.1 kB / 0.6883 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.1653, allocations: 0.7002 MB / 0.6889 GB, free: 7.414 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.339e-05/0.1654, allocations: 21.12 kB / 0.689 GB, free: 7.391 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.1654, allocations: 23.44 kB / 0.689 GB, free: 7.367 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1654, allocations: 0 / 0.689 GB, free: 7.367 MB / 494.1 MB Notification: Performance of Templates: time 0.004821/0.1703, allocations: 2.042 MB / 0.691 GB, free: 5.352 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)