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.001253/0.001253, allocations: 107.5 kB / 16.27 MB, free: 6.355 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.001245/0.001245, allocations: 192.3 kB / 17.2 MB, free: 5.953 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.271/1.271, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 276.9 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8878/0.8878, allocations: 169.2 MB / 0.4988 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 109.6 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.149, allocations: 86.97 MB / 0.6808 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.003171/0.1522, allocations: 1.669 MB / 0.6825 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.1544, allocations: 1.507 MB / 0.6839 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.236e-05/0.1546, allocations: 4 kB / 0.6839 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.1549, allocations: 31.78 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.1551, allocations: 71.62 kB / 0.684 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.1555, allocations: 111.6 kB / 0.6842 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1557, allocations: 127.6 kB / 0.6843 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.945e-05/0.1558, allocations: 13.11 kB / 0.6843 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1559, allocations: 55.72 kB / 0.6843 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004711/0.1564, allocations: 51.77 kB / 0.6844 GB, free: 4.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.1564, allocations: 4 kB / 0.6844 GB, free: 4.516 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1565, allocations: 67.95 kB / 0.6845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.1566, allocations: 19.92 kB / 0.6845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.1567, allocations: 47.69 kB / 0.6845 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1569, allocations: 151.8 kB / 0.6847 GB, free: 4.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1569, allocations: 4 kB / 0.6847 GB, free: 4.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1569, allocations: 0 / 0.6847 GB, free: 4.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1569, allocations: 0 / 0.6847 GB, free: 4.23 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.0006821/0.1576, allocations: 442.9 kB / 0.6851 GB, free: 3.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1577, allocations: 8.031 kB / 0.6851 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.1577, allocations: 16.78 kB / 0.6851 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.158, allocations: 216 kB / 0.6853 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.158, allocations: 8.359 kB / 0.6853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.1581, allocations: 8.125 kB / 0.6853 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.1583, allocations: 101 kB / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1583, allocations: 0 / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1583, allocations: 0 / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1583, allocations: 0 / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.1585, allocations: 59.88 kB / 0.6855 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.1588, allocations: 211.5 kB / 0.6857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.159, allocations: 111.8 kB / 0.6858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1592, allocations: 54.55 kB / 0.6859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1592, allocations: 0 / 0.6859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.1595, allocations: 113.9 kB / 0.686 GB, free: 2.691 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.1595, allocations: 3.938 kB / 0.686 GB, free: 2.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.000469/0.1599, allocations: 157.5 kB / 0.6861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.16, allocations: 136.8 kB / 0.6862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1602, allocations: 184.5 kB / 0.6864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1602, allocations: 25.7 kB / 0.6864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.1603, allocations: 104.1 kB / 0.6865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.1604, allocations: 23.72 kB / 0.6866 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.1604, allocations: 25.72 kB / 0.6866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1605, allocations: 322.8 kB / 0.6869 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1606, allocations: 31.97 kB / 0.6869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1608, allocations: 68.27 kB / 0.687 GB, free: 1.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.161, allocations: 91.38 kB / 0.6871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.161, allocations: 8 kB / 0.6871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003132/0.1613, allocations: 137.6 kB / 0.6872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1613, allocations: 8 kB / 0.6872 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1613, allocations: 0 / 0.6872 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1614, allocations: 0 / 0.6872 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1615, allocations: 23.92 kB / 0.6873 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1615, allocations: 7.984 kB / 0.6873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.1616, allocations: 12.03 kB / 0.6873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1616, allocations: 7.984 kB / 0.6873 GB, free: 1.238 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.906e-05/0.1617, allocations: 127.2 kB / 0.6874 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.1617, allocations: 15.81 kB / 0.6874 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.1618, allocations: 17.39 kB / 0.6874 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1618, allocations: 0 / 0.6874 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1618, allocations: 0 / 0.6874 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1618, allocations: 4 kB / 0.6874 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.162, allocations: 209.5 kB / 0.6876 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.162, allocations: 0 / 0.6876 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.34e-05/0.1621, allocations: 15.92 kB / 0.6877 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1621, allocations: 4 kB / 0.6877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.1621, allocations: 0 / 0.6877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1621, allocations: 4 kB / 0.6877 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1621, allocations: 0 / 0.6877 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1625, allocations: 166.5 kB / 0.6878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1625, allocations: 88.95 kB / 0.6879 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1626, allocations: 12.11 kB / 0.6879 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.1626, allocations: 8 kB / 0.6879 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.1627, allocations: 15.92 kB / 0.6879 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1627, allocations: 4 kB / 0.6879 GB, free: 472 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1629, allocations: 141.2 kB / 0.6881 GB, free: 332 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1629, allocations: 0 / 0.6881 GB, free: 332 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1631, allocations: 24 kB / 0.6881 GB, free: 308 kB / 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.0009482/0.1641, allocations: 453.6 kB / 0.6885 GB, free: 28 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2302/0.3943, allocations: 84.06 kB / 0.6886 GB, free: 18.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3944, allocations: 4.781 kB / 0.6886 GB, free: 18.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.3945, allocations: 37.48 kB / 0.6887 GB, free: 18.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3949, allocations: 38.56 kB / 0.6887 GB, free: 18.26 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.3954, allocations: 275.2 kB / 0.689 GB, free: 18.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3955, allocations: 0.7032 MB / 0.6896 GB, free: 17.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.3956, allocations: 19.98 kB / 0.6897 GB, free: 17.38 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3956, allocations: 0.8438 kB / 0.6897 GB, free: 17.38 MB / 494.1 MB Notification: Performance of Templates: time 0.004147/0.3997, allocations: 2.195 MB / 0.6918 GB, free: 17.28 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)