Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.073/2.073, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 188.3 kB / 325.6 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.366/2.366, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 87.34 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004661, allocations: 16.34 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1981, allocations: 106.2 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2219/0.4201, allocations: 133.7 MB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.4204, allocations: 83.95 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02209/0.4425, allocations: 5.012 MB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.797e-06/0.4426, allocations: 3.984 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.4426, allocations: 0 / 1.034 GB, free: 6.516 MB / 0.6823 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.000809/0.4434, allocations: 0.5405 MB / 1.035 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4435, allocations: 8.031 kB / 1.035 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.099e-05/0.4436, allocations: 19.91 kB / 1.035 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.444, allocations: 234.7 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.444, allocations: 8 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.4441, allocations: 12 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.4445, allocations: 121.5 kB / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.4445, allocations: 0 / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.4446, allocations: 4 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4446, allocations: 0 / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.445, allocations: 79.95 kB / 1.035 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009635/0.4459, allocations: 428.6 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.4463, allocations: 90.53 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.4463, allocations: 3.938 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004035/0.4467, allocations: 182.7 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.4467, allocations: 0 / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.001278/0.448, allocations: 0.5186 MB / 1.037 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.4482, allocations: 170.2 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.4484, allocations: 158.3 kB / 1.037 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.4484, allocations: 29.7 kB / 1.037 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4486, allocations: 112.3 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.4486, allocations: 19.72 kB / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.4487, allocations: 7.938 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4488, allocations: 326.8 kB / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.4491, allocations: 59.95 kB / 1.037 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.4494, allocations: 106.8 kB / 1.038 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.4497, allocations: 178.8 kB / 1.038 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4498, allocations: 0 / 1.038 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008994/0.4507, allocations: 356 kB / 1.038 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.4508, allocations: 118.8 kB / 1.038 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.4508, allocations: 4.281 kB / 1.038 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4508, allocations: 0 / 1.038 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.451, allocations: 24.17 kB / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.451, allocations: 19.89 kB / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.4512, allocations: 11.94 kB / 1.038 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.4513, allocations: 11.98 kB / 1.038 GB, free: 2.18 MB / 0.6823 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.0002365/0.4515, allocations: 194.3 kB / 1.038 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.4516, allocations: 19.8 kB / 1.038 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.4516, allocations: 13.41 kB / 1.038 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.4517, allocations: 4 kB / 1.038 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4517, allocations: 7.984 kB / 1.038 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4517, allocations: 3.953 kB / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.4529, allocations: 0.5798 MB / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4529, allocations: 0 / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.453, allocations: 23.92 kB / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.453, allocations: 3.938 kB / 1.039 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.4531, allocations: 8 kB / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.4531, allocations: 0 / 1.039 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.4531, allocations: 3.953 kB / 1.039 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009459/0.454, allocations: 406.7 kB / 1.039 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.4541, allocations: 88.95 kB / 1.04 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.4542, allocations: 7.984 kB / 1.04 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4544, allocations: 12 kB / 1.04 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.4545, allocations: 15.92 kB / 1.04 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.4545, allocations: 8 kB / 1.04 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001573/0.4547, allocations: 131.2 kB / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4547, allocations: 0 / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004227/0.4551, allocations: 43.91 kB / 1.04 GB, free: 500 kB / 0.6823 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.0002962/0.4554, allocations: 127.1 kB / 1.04 GB, free: 368 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000799/0.4562, allocations: 377.4 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4563, allocations: 0 / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.4567, allocations: 202.8 kB / 1.04 GB, free: 15.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.457, allocations: 18.56 kB / 1.04 GB, free: 15.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008483/0.4578, allocations: 314.4 kB / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.4582, allocations: 0.7199 MB / 1.041 GB, free: 14.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.4583, allocations: 16.53 kB / 1.041 GB, free: 14.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.4584, allocations: 15.44 kB / 1.041 GB, free: 14.59 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/0.4584, allocations: 0 / 1.041 GB, free: 14.59 MB / 0.698 GB Notification: Performance of Templates: time 0.007214/0.4656, allocations: 1.902 MB / 1.043 GB, free: 12.71 MB / 0.698 GB