Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.622/1.622, allocations: 288.3 MB / 303.2 MB, free: 8.234 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.001194/0.001194, allocations: 186.6 kB / 371.8 MB, free: 10.27 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.547/1.547, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008853/0.0008852, allocations: 101.5 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003923, allocations: 12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7308/0.9616, allocations: 140.2 MB / 1.116 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.9619, allocations: 79.25 kB / 1.116 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01252/0.9745, allocations: 5.011 MB / 1.121 GB, free: 31.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9745, allocations: 3.938 kB / 1.121 GB, free: 31.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.9745, allocations: 0 / 1.121 GB, free: 31.68 MB / 0.698 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.0005823/0.9751, allocations: 0.5421 MB / 1.122 GB, free: 31.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9752, allocations: 11.64 kB / 1.122 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.9752, allocations: 26.81 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.9755, allocations: 230.2 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.9755, allocations: 7.719 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.9756, allocations: 10.88 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.9759, allocations: 117.6 kB / 1.122 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.9759, allocations: 0 / 1.122 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.9759, allocations: 7.5 kB / 1.122 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.9759, allocations: 0 / 1.122 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.9761, allocations: 78 kB / 1.122 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.9768, allocations: 430.3 kB / 1.123 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.9769, allocations: 86.69 kB / 1.123 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.977, allocations: 3.875 kB / 1.123 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.9772, allocations: 181.8 kB / 1.123 GB, free: 30.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.9772, allocations: 0 / 1.123 GB, free: 30.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0007305/0.978, allocations: 0.5076 MB / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.9781, allocations: 168.1 kB / 1.124 GB, free: 30 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.9782, allocations: 162.4 kB / 1.124 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.9783, allocations: 29.58 kB / 1.124 GB, free: 29.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.9784, allocations: 106.3 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.9784, allocations: 28.91 kB / 1.124 GB, free: 29.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.9784, allocations: 7.656 kB / 1.124 GB, free: 29.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9786, allocations: 330.5 kB / 1.124 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.9787, allocations: 59.59 kB / 1.124 GB, free: 29.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.9788, allocations: 100.7 kB / 1.124 GB, free: 29.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.979, allocations: 177.8 kB / 1.125 GB, free: 29.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.979, allocations: 0 / 1.125 GB, free: 29.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000435/0.9795, allocations: 361.3 kB / 1.125 GB, free: 29.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/0.9795, allocations: 116.3 kB / 1.125 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9796, allocations: 6.828 kB / 1.125 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.9796, allocations: 3.719 kB / 1.125 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.9797, allocations: 22.08 kB / 1.125 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.9797, allocations: 8.062 kB / 1.125 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.9798, allocations: 25.31 kB / 1.125 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.9798, allocations: 7.719 kB / 1.125 GB, free: 28.92 MB / 0.698 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.0001387/0.98, allocations: 198.8 kB / 1.125 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.98, allocations: 11.78 kB / 1.125 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.98, allocations: 15.34 kB / 1.125 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.9801, allocations: 2.672 kB / 1.125 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9801, allocations: 0 / 1.125 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9801, allocations: 11.86 kB / 1.125 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.9807, allocations: 0.5813 MB / 1.126 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9807, allocations: 0 / 1.126 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.414e-05/0.9808, allocations: 18.09 kB / 1.126 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.9808, allocations: 4 kB / 1.126 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.9808, allocations: 13.66 kB / 1.126 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9808, allocations: 0 / 1.126 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9809, allocations: 0 / 1.126 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.9813, allocations: 412.6 kB / 1.126 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.9814, allocations: 94.34 kB / 1.126 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.9814, allocations: 12.92 kB / 1.126 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.9815, allocations: 10.52 kB / 1.126 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.9816, allocations: 14.11 kB / 1.126 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.9816, allocations: 7.5 kB / 1.126 GB, free: 28.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.9817, allocations: 132.2 kB / 1.127 GB, free: 27.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9817, allocations: 0 / 1.127 GB, free: 27.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000266/0.982, allocations: 37.95 kB / 1.127 GB, free: 27.95 MB / 0.698 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.0002461/0.9822, allocations: 133.8 kB / 1.127 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004408/0.9827, allocations: 377 kB / 1.127 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9827, allocations: 0 / 1.127 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.9829, allocations: 207.5 kB / 1.127 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.9831, allocations: 13.41 kB / 1.127 GB, free: 27.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.9836, allocations: 314 kB / 1.128 GB, free: 27.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.9839, allocations: 0.719 MB / 1.128 GB, free: 26.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.176e-05/0.984, allocations: 17.42 kB / 1.128 GB, free: 26.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.984, allocations: 13.94 kB / 1.128 GB, free: 26.57 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.984, allocations: 0 / 1.128 GB, free: 26.57 MB / 0.698 GB Notification: Performance of Templates: time 0.004655/0.9887, allocations: 1.913 MB / 1.13 GB, free: 26.3 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)