Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 108 kB / 15.6 MB, free: 132 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.00106/0.00106, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.087/1.087, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.462/1.462, allocations: 292.3 MB / 0.5489 GB, free: 13.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.02 kB / 0.6715 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1603, allocations: 114.5 MB / 0.7834 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002651/0.1629, allocations: 1.605 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000884/0.1638, allocations: 0.6526 MB / 0.7856 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.1639, allocations: 0 / 0.7856 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1641, allocations: 23.8 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1643, allocations: 39.77 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.1646, allocations: 111.8 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1648, allocations: 203.6 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.1649, allocations: 29.09 kB / 0.786 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1651, allocations: 83.75 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1652, allocations: 83.72 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.1652, allocations: 16 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.1653, allocations: 24 kB / 0.7862 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.1654, allocations: 31.8 kB / 0.7862 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.1655, allocations: 75.7 kB / 0.7863 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1657, allocations: 163.7 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1657, allocations: 8 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1657, allocations: 0 / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1657, allocations: 0 / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005486/0.1662, allocations: 0.5563 MB / 0.787 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.637e-05/0.1663, allocations: 8.031 kB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.1663, allocations: 20.75 kB / 0.787 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1666, allocations: 236.1 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1666, allocations: 8.375 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1666, allocations: 16.38 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1668, allocations: 117.7 kB / 0.7874 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1669, allocations: 0 / 0.7874 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1669, allocations: 0 / 0.7874 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1669, allocations: 4 kB / 0.7874 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.1671, allocations: 71.88 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.1676, allocations: 416.6 kB / 0.7878 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1678, allocations: 90.56 kB / 0.7879 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.168, allocations: 68.81 kB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.168, allocations: 4 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.1682, allocations: 178.9 kB / 0.7882 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1682, allocations: 4 kB / 0.7882 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006045/0.1688, allocations: 352.7 kB / 0.7885 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.1689, allocations: 162.2 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1691, allocations: 179.4 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1691, allocations: 33.7 kB / 0.7888 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.1692, allocations: 112.3 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1692, allocations: 27.59 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.1692, allocations: 41.69 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.1693, allocations: 334.8 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1695, allocations: 47.97 kB / 0.7894 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1696, allocations: 121.6 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.1699, allocations: 305 kB / 0.7898 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1699, allocations: 0 / 0.7898 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004636/0.1704, allocations: 356.1 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/0.1705, allocations: 115.7 kB / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1705, allocations: 0 / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1705, allocations: 4 kB / 0.7902 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.879e-05/0.1706, allocations: 23.92 kB / 0.7903 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1706, allocations: 4.078 kB / 0.7903 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.789e-05/0.1707, allocations: 8 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1707, allocations: 11.98 kB / 0.7903 GB, free: 6.051 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001283/0.1709, allocations: 209.4 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.1709, allocations: 19.75 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.1709, allocations: 13.41 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1709, allocations: 3.984 kB / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.171, allocations: 4 kB / 0.7905 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.171, allocations: 3.984 kB / 0.7905 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/0.1716, allocations: 0.5836 MB / 0.7911 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1716, allocations: 0 / 0.7911 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.1716, allocations: 11.98 kB / 0.7911 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1717, allocations: 4 kB / 0.7911 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1717, allocations: 8 kB / 0.7911 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1717, allocations: 0 / 0.7911 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1717, allocations: 3.938 kB / 0.7911 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.1722, allocations: 410.6 kB / 0.7915 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.1722, allocations: 88.92 kB / 0.7916 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.1723, allocations: 7.938 kB / 0.7916 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1724, allocations: 8 kB / 0.7916 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1724, allocations: 15.92 kB / 0.7916 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1724, allocations: 4 kB / 0.7916 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.865e-05/0.1725, allocations: 136.3 kB / 0.7918 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.283e-06/0.1725, allocations: 0 / 0.7918 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002688/0.1728, allocations: 35.94 kB / 0.7918 GB, free: 4.363 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * 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: 2 * 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 Backend phase and start with SimCode phase: time 0.000194/0.173, allocations: 133.3 kB / 0.7919 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.1734, allocations: 365.8 kB / 0.7923 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1734, allocations: 4.062 kB / 0.7923 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.1736, allocations: 206.8 kB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1739, allocations: 23.98 kB / 0.7925 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.1744, allocations: 295.8 kB / 0.7928 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.1746, allocations: 0.7041 MB / 0.7935 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.352e-05/0.1747, allocations: 20.53 kB / 0.7935 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1747, allocations: 23.42 kB / 0.7935 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1747, allocations: 0 / 0.7935 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.004385/0.1791, allocations: 2.058 MB / 0.7955 GB, free: 460 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)