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.309/2.309, allocations: 253.2 MB / 260.6 MB, free: 7.418 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 186.3 kB / 319.9 MB, free: 3.027 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.036/2.036, allocations: 205.5 MB / 0.5708 GB, free: 15.25 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.001085/0.001085, allocations: 86.28 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.481e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1874, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8492/1.037, allocations: 133.8 MB / 1.019 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.037, allocations: 77.61 kB / 1.019 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02172/1.059, allocations: 4.961 MB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.903e-06/1.059, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.426e-05/1.059, allocations: 3.5 kB / 1.024 GB, free: 15.21 MB / 0.6511 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.0007292/1.06, allocations: 0.5143 MB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.06, allocations: 12.02 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/1.06, allocations: 19.81 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/1.06, allocations: 225.7 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/1.06, allocations: 4 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/1.06, allocations: 16 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002395/1.06, allocations: 45.73 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/1.061, allocations: 100.5 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.061, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/1.061, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.061, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009038/1.062, allocations: 400 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/1.062, allocations: 73.17 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/1.062, allocations: 66.41 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/1.062, allocations: 160 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/1.062, allocations: 172.8 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.983e-06/1.062, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0006597/1.063, allocations: 208.8 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/1.063, allocations: 169.7 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/1.063, allocations: 143.5 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/1.064, allocations: 29.7 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/1.064, allocations: 110.6 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/1.064, allocations: 31.12 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/1.064, allocations: 8 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.064, allocations: 321.7 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/1.064, allocations: 42.42 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/1.064, allocations: 84.67 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/1.064, allocations: 50.97 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.064, allocations: 4 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005693/1.065, allocations: 191.7 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.065, allocations: 123 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.065, allocations: 0 / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.065, allocations: 4 kB / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/1.065, allocations: 27.23 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.065, allocations: 80 / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/1.066, allocations: 19.86 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/1.066, allocations: 11.98 kB / 1.027 GB, free: 12.03 MB / 0.6511 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.0001799/1.066, allocations: 175.5 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/1.066, allocations: 15.81 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/1.066, allocations: 23.89 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/1.066, allocations: 4 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.066, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/1.066, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008412/1.067, allocations: 478.7 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.067, allocations: 0 / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/1.067, allocations: 23.92 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.067, allocations: 0 / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/1.067, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.067, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.067, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/1.068, allocations: 317.2 kB / 1.028 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/1.068, allocations: 88.77 kB / 1.028 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/1.068, allocations: 4 kB / 1.028 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/1.068, allocations: 15.98 kB / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/1.068, allocations: 7.938 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/1.068, allocations: 7.984 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001344/1.068, allocations: 123 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.068, allocations: 0 / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004263/1.069, allocations: 32 kB / 1.029 GB, free: 10.77 MB / 0.6511 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.0003269/1.069, allocations: 143 kB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005564/1.07, allocations: 325.1 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.07, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/1.07, allocations: 191.7 kB / 1.029 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/1.07, allocations: 16.67 kB / 1.029 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/1.071, allocations: 201.5 kB / 1.03 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/1.071, allocations: 0.7193 MB / 1.03 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001272/1.072, allocations: 16.55 kB / 1.03 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/1.072, allocations: 15.42 kB / 1.03 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.072, allocations: 0 / 1.03 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of Templates: time 0.007319/1.079, allocations: 1.823 MB / 1.032 GB, free: 7.34 MB / 0.6511 GB