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.826/1.826, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001148/0.001148, allocations: 180.9 kB / 361.4 MB, free: 6.805 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.833/1.833, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0008957/0.0008956, allocations: 92.59 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.079e-05, allocations: 0 / 0.8517 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7538, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.9626, allocations: 139.4 MB / 1.101 GB, free: 412 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.9629, allocations: 79.95 kB / 1.101 GB, free: 332 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01395/0.9769, allocations: 4.955 MB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9769, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.977, allocations: 0.6875 kB / 1.105 GB, free: 11.42 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.0006745/0.9776, allocations: 0.5178 MB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.9777, allocations: 8.75 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.9778, allocations: 20.84 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.9782, allocations: 227.4 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.9782, allocations: 12.47 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.9782, allocations: 12 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001647/0.9784, allocations: 44.98 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.9786, allocations: 97.62 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.9786, allocations: 0.6562 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.9786, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.9787, allocations: 7.625 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.9794, allocations: 398.2 kB / 1.107 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.9795, allocations: 74.55 kB / 1.107 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.9796, allocations: 56.84 kB / 1.107 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.9797, allocations: 7.906 kB / 1.107 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.9799, allocations: 170.7 kB / 1.107 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.9799, allocations: 0 / 1.107 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004497/0.9804, allocations: 197.7 kB / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.9805, allocations: 166.2 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.9807, allocations: 150.3 kB / 1.108 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.9807, allocations: 29.7 kB / 1.108 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.9808, allocations: 109.3 kB / 1.108 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.9808, allocations: 27.64 kB / 1.108 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.9809, allocations: 0 / 1.108 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.981, allocations: 336.7 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.9811, allocations: 39.98 kB / 1.108 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.9812, allocations: 82.86 kB / 1.108 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.93e-05/0.9813, allocations: 47.97 kB / 1.108 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9813, allocations: 4 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003261/0.9817, allocations: 200.8 kB / 1.108 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.091e-05/0.9818, allocations: 118.8 kB / 1.108 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9818, allocations: 0 / 1.108 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.9818, allocations: 4 kB / 1.108 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.9819, allocations: 29.89 kB / 1.108 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.9819, allocations: 256 / 1.108 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.9821, allocations: 16 kB / 1.109 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.9821, allocations: 11.94 kB / 1.109 GB, free: 7.953 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.0001461/0.9822, allocations: 184.5 kB / 1.109 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.9823, allocations: 15.81 kB / 1.109 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.9823, allocations: 17.83 kB / 1.109 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9823, allocations: 0 / 1.109 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9823, allocations: 4 kB / 1.109 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9823, allocations: 0 / 1.109 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.9829, allocations: 482.8 kB / 1.109 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9829, allocations: 0 / 1.109 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.983, allocations: 15.98 kB / 1.109 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.983, allocations: 0 / 1.109 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.983, allocations: 4 kB / 1.109 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.983, allocations: 0 / 1.109 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.983, allocations: 2.344 kB / 1.109 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.9834, allocations: 323.2 kB / 1.11 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.9835, allocations: 88.92 kB / 1.11 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.9836, allocations: 4 kB / 1.11 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.9837, allocations: 11.98 kB / 1.11 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.9838, allocations: 11.97 kB / 1.11 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.9838, allocations: 8 kB / 1.11 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.734e-05/0.9839, allocations: 121.1 kB / 1.11 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9839, allocations: 4 kB / 1.11 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002893/0.9842, allocations: 40 kB / 1.11 GB, free: 6.555 MB / 0.7136 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.0002821/0.9845, allocations: 128.9 kB / 1.11 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.9848, allocations: 336 kB / 1.11 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9849, allocations: 4 kB / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.985, allocations: 186.8 kB / 1.11 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.9853, allocations: 15.14 kB / 1.11 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.9857, allocations: 199.1 kB / 1.111 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.986, allocations: 0.72 MB / 1.111 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.883e-05/0.9861, allocations: 16.55 kB / 1.111 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.9862, allocations: 15.42 kB / 1.111 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9862, allocations: 3.938 kB / 1.111 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.004811/0.991, allocations: 1.816 MB / 1.113 GB, free: 3.086 MB / 0.7136 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)