Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.125/5.125, allocations: 0.5623 GB / 0.5775 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003867/0.003867, allocations: 357.6 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.498/4.498, allocations: 410.7 MB / 1.113 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001818/0.001818, allocations: 184.3 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004997, allocations: 15.98 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7481/0.7487, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/0.9474, allocations: 140 MB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.9478, allocations: 85.5 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02013/0.968, allocations: 5.016 MB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.743e-06/0.968, allocations: 3.938 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.968, allocations: 4 kB / 1.603 GB, free: 139.2 MB / 0.8542 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.0006175/0.9687, allocations: 0.5384 MB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.9687, allocations: 11.62 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.9688, allocations: 20.69 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.9691, allocations: 223.7 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.9691, allocations: 8 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.9692, allocations: 16.72 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.9695, allocations: 118.2 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.9696, allocations: 1.25 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.9696, allocations: 4 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.9696, allocations: 0 / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.97, allocations: 80.22 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/0.9707, allocations: 425.7 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.971, allocations: 94.28 kB / 1.605 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.9713, allocations: 81.56 kB / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.9713, allocations: 0 / 1.605 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003382/0.9717, allocations: 188.3 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.9717, allocations: 0 / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.001025/0.9727, allocations: 364 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.9728, allocations: 170.2 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.973, allocations: 184.2 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.9731, allocations: 33.7 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.9731, allocations: 104.4 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.9732, allocations: 28.45 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.9732, allocations: 288 / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.9733, allocations: 327.3 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.9735, allocations: 57.77 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.9738, allocations: 109.1 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.9741, allocations: 182 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9741, allocations: 0 / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007405/0.9748, allocations: 351.6 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/0.9749, allocations: 120.9 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.9749, allocations: 1.125 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.9749, allocations: 4 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.9751, allocations: 27.92 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.9751, allocations: 5.859 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.9753, allocations: 23.83 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.9754, allocations: 8 kB / 1.607 GB, free: 135 MB / 0.8542 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.0001674/0.9756, allocations: 201.7 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.9756, allocations: 12.88 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.9757, allocations: 17.39 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.9757, allocations: 0.9375 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.9757, allocations: 0 / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9757, allocations: 3.953 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.9766, allocations: 0.5896 MB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9767, allocations: 0 / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.9768, allocations: 15.98 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.9768, allocations: 0 / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.9768, allocations: 11.98 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.9768, allocations: 0.5312 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9769, allocations: 5.266 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.9776, allocations: 412.6 kB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.9777, allocations: 92.92 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.9778, allocations: 4.969 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.9779, allocations: 16.7 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.978, allocations: 11.94 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.978, allocations: 8.625 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001158/0.9782, allocations: 132.2 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9782, allocations: 0 / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00039/0.9786, allocations: 40 kB / 1.608 GB, free: 133.3 MB / 0.8542 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.0002622/0.9789, allocations: 141.5 kB / 1.608 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006462/0.9795, allocations: 373.4 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9795, allocations: 0 / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.9799, allocations: 202.8 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.9803, allocations: 22.55 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.981, allocations: 313.4 kB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.9812, allocations: 0.7146 MB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.758e-05/0.9813, allocations: 20.53 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.9813, allocations: 15.44 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.9814, allocations: 0.625 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.006397/0.9878, allocations: 1.906 MB / 1.612 GB, free: 129.7 MB / 0.8542 GB