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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 289.9 MB / 297.4 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 176.8 kB / 366.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.2 MB / 0.626 GB, free: 7.188 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007708/0.0007707, allocations: 86.53 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.01e-05, allocations: 0 / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5855, allocations: 116.3 MB / 0.9732 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.7637, allocations: 140.4 MB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.7641, allocations: 81.25 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.7775, allocations: 4.967 MB / 1.115 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7775, allocations: 0 / 1.115 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.7775, allocations: 4 kB / 1.115 GB, free: 4.797 MB / 0.7136 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.0006832/0.7782, allocations: 0.5065 MB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.7783, allocations: 12.88 kB / 1.116 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.7784, allocations: 22.38 kB / 1.116 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.7787, allocations: 231.4 kB / 1.116 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.7787, allocations: 8.469 kB / 1.116 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.7787, allocations: 8 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001334/0.7789, allocations: 48.45 kB / 1.116 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.779, allocations: 91.11 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.779, allocations: 0 / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.7791, allocations: 4 kB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.7791, allocations: 1.312 kB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.7797, allocations: 396.8 kB / 1.117 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.7799, allocations: 74.55 kB / 1.117 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.343e-05/0.78, allocations: 64.83 kB / 1.117 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.78, allocations: 5.422 kB / 1.117 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.7802, allocations: 166.7 kB / 1.117 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.7802, allocations: 1.75 kB / 1.117 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004067/0.7806, allocations: 201.6 kB / 1.117 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.7807, allocations: 163.4 kB / 1.117 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.7809, allocations: 155.1 kB / 1.117 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.7809, allocations: 29.7 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.781, allocations: 105.1 kB / 1.117 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.781, allocations: 31.62 kB / 1.118 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.781, allocations: 5.312 kB / 1.118 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7811, allocations: 326.8 kB / 1.118 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.7812, allocations: 37.45 kB / 1.118 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.7813, allocations: 101.7 kB / 1.118 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.586e-05/0.7814, allocations: 43.97 kB / 1.118 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7815, allocations: 0 / 1.118 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003246/0.7818, allocations: 201.3 kB / 1.118 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.7819, allocations: 118.8 kB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7819, allocations: 5.781 kB / 1.118 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.7819, allocations: 4 kB / 1.118 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.782, allocations: 19.92 kB / 1.118 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.782, allocations: 4 kB / 1.118 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.7821, allocations: 12.25 kB / 1.118 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.7822, allocations: 11.94 kB / 1.118 GB, free: 1.336 MB / 0.7136 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 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.7823, allocations: 185.8 kB / 1.119 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.7823, allocations: 15.81 kB / 1.119 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.7824, allocations: 17.83 kB / 1.119 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7824, allocations: 0 / 1.119 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7824, allocations: 0 / 1.119 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7824, allocations: 0 / 1.119 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.7829, allocations: 485 kB / 1.119 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7829, allocations: 3.938 kB / 1.119 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-05/0.783, allocations: 17.39 kB / 1.119 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.783, allocations: 0 / 1.119 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.783, allocations: 8 kB / 1.119 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.7831, allocations: 1.875 kB / 1.119 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7831, allocations: 0 / 1.119 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.7834, allocations: 315.2 kB / 1.119 GB, free: 240 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.7835, allocations: 92.92 kB / 1.119 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.7835, allocations: 4 kB / 1.119 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.7837, allocations: 13.95 kB / 1.119 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.7837, allocations: 4 kB / 1.119 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.7837, allocations: 11.98 kB / 1.119 GB, free: 96 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.485e-05/0.7838, allocations: 125.1 kB / 1.12 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7838, allocations: 0 / 1.12 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002907/0.7841, allocations: 28 kB / 1.12 GB, free: 15.95 MB / 0.7292 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002271/0.7844, allocations: 127.8 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.7847, allocations: 326 kB / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.7847, allocations: 64 / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.7849, allocations: 198.7 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.7851, allocations: 19.08 kB / 1.12 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.7856, allocations: 201.1 kB / 1.12 GB, free: 15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.7858, allocations: 0.7119 MB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.766e-05/0.7859, allocations: 24.53 kB / 1.121 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.7859, allocations: 23.42 kB / 1.121 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.7859, allocations: 0 / 1.121 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.004426/0.7904, allocations: 1.827 MB / 1.123 GB, free: 12.46 MB / 0.7292 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)