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.747/1.747, allocations: 292.6 MB / 307.6 MB, free: 5.223 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.0012/0.0012, allocations: 179.7 kB / 377.1 MB, free: 1.52 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.555/1.555, allocations: 205.4 MB / 0.6367 GB, free: 8.633 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.000888/0.0008879, allocations: 88.12 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.297, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7027/0.9997, allocations: 141.1 MB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1, allocations: 75.34 kB / 1.126 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01257/1.013, allocations: 5.018 MB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.084e-06/1.013, allocations: 0 / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.498e-05/1.013, allocations: 4 kB / 1.131 GB, free: 30.42 MB / 0.7292 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.0005494/1.013, allocations: 0.5417 MB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.013, allocations: 12.02 kB / 1.132 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/1.013, allocations: 21.88 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/1.014, allocations: 220.6 kB / 1.132 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/1.014, allocations: 8 kB / 1.132 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/1.014, allocations: 19.44 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/1.014, allocations: 118.3 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.014, allocations: 0 / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/1.014, allocations: 8 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/1.014, allocations: 0 / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/1.014, allocations: 81.25 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/1.015, allocations: 427.5 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/1.015, allocations: 96.06 kB / 1.133 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/1.015, allocations: 0 / 1.133 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/1.015, allocations: 178.8 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/1.015, allocations: 0.9375 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.000696/1.016, allocations: 0.5066 MB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/1.016, allocations: 168.7 kB / 1.133 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/1.016, allocations: 162 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/1.016, allocations: 30.31 kB / 1.134 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/1.016, allocations: 111.6 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/1.016, allocations: 22.02 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/1.016, allocations: 9.031 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.473e-05/1.016, allocations: 327.2 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/1.017, allocations: 54.08 kB / 1.134 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/1.017, allocations: 111.8 kB / 1.134 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/1.017, allocations: 180.2 kB / 1.134 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.017, allocations: 0 / 1.134 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004615/1.017, allocations: 359.9 kB / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/1.017, allocations: 118 kB / 1.135 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.018, allocations: 4 kB / 1.135 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.018, allocations: 0 / 1.135 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/1.018, allocations: 20.33 kB / 1.135 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.018, allocations: 6.328 kB / 1.135 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/1.018, allocations: 21.77 kB / 1.135 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/1.018, allocations: 8.656 kB / 1.135 GB, free: 26.42 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/1.018, allocations: 203.3 kB / 1.135 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/1.018, allocations: 13.67 kB / 1.135 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/1.018, allocations: 22.84 kB / 1.135 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.018, allocations: 0 / 1.135 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.018, allocations: 4.656 kB / 1.135 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/1.018, allocations: 0.6562 kB / 1.135 GB, free: 26.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007419/1.019, allocations: 0.5892 MB / 1.136 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.019, allocations: 0 / 1.136 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/1.019, allocations: 15.14 kB / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.019, allocations: 0 / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/1.019, allocations: 11.16 kB / 1.136 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.019, allocations: 0.9375 kB / 1.136 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.019, allocations: 0.5156 kB / 1.136 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/1.019, allocations: 413 kB / 1.136 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/1.02, allocations: 93.8 kB / 1.136 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/1.02, allocations: 8.75 kB / 1.136 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/1.02, allocations: 13.22 kB / 1.136 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/1.02, allocations: 6.953 kB / 1.136 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/1.02, allocations: 14.69 kB / 1.136 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.689e-05/1.02, allocations: 126.7 kB / 1.136 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.02, allocations: 0 / 1.136 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002897/1.02, allocations: 36.7 kB / 1.136 GB, free: 24.86 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) * 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 (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.000261/1.02, allocations: 144.9 kB / 1.137 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004477/1.021, allocations: 366.7 kB / 1.137 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.021, allocations: 0.5 kB / 1.137 GB, free: 24.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/1.021, allocations: 209 kB / 1.137 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/1.021, allocations: 17.25 kB / 1.137 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/1.022, allocations: 318.7 kB / 1.137 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/1.022, allocations: 0.7097 MB / 1.138 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.525e-05/1.022, allocations: 20.44 kB / 1.138 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/1.022, allocations: 24.75 kB / 1.138 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/1.022, allocations: 0 / 1.138 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.005642/1.028, allocations: 1.907 MB / 1.14 GB, free: 21.95 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)