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.248/2.248, allocations: 252.6 MB / 265.2 MB, free: 5.773 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.001486/0.001486, allocations: 185.4 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001137/0.001136, allocations: 98.02 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.257e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1871, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8355/1.023, allocations: 133.6 MB / 1.025 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.023, allocations: 82.25 kB / 1.025 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02273/1.046, allocations: 4.991 MB / 1.03 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.493e-06/1.046, allocations: 0 / 1.03 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.464e-05/1.046, allocations: 4 kB / 1.03 GB, free: 12.63 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.0007241/1.047, allocations: 0.5166 MB / 1.031 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/1.047, allocations: 8.031 kB / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/1.047, allocations: 19.81 kB / 1.031 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/1.047, allocations: 227.7 kB / 1.031 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/1.047, allocations: 11.62 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/1.047, allocations: 15.94 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/1.048, allocations: 102.2 kB / 1.031 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.048, allocations: 0 / 1.031 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/1.048, allocations: 4 kB / 1.031 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.048, allocations: 0 / 1.031 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/1.048, allocations: 52.36 kB / 1.031 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/1.049, allocations: 431.6 kB / 1.032 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/1.049, allocations: 71.75 kB / 1.032 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/1.049, allocations: 65.62 kB / 1.032 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/1.049, allocations: 7.984 kB / 1.032 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/1.05, allocations: 179.6 kB / 1.032 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.395e-06/1.05, allocations: 0 / 1.032 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.000756/1.05, allocations: 276 kB / 1.032 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.051, allocations: 166.2 kB / 1.032 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/1.051, allocations: 159.8 kB / 1.033 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/1.051, allocations: 25.7 kB / 1.033 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.768e-05/1.051, allocations: 114.9 kB / 1.033 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/1.051, allocations: 27.39 kB / 1.033 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/1.051, allocations: 7 kB / 1.033 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.051, allocations: 331 kB / 1.033 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/1.051, allocations: 42.36 kB / 1.033 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/1.052, allocations: 86 kB / 1.033 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/1.052, allocations: 171.8 kB / 1.033 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.052, allocations: 0 / 1.033 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007105/1.053, allocations: 318.5 kB / 1.034 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.053, allocations: 122.2 kB / 1.034 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.053, allocations: 7.984 kB / 1.034 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.053, allocations: 4 kB / 1.034 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/1.053, allocations: 19.92 kB / 1.034 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/1.053, allocations: 7.953 kB / 1.034 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/1.053, allocations: 18.47 kB / 1.034 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/1.053, allocations: 8 kB / 1.034 GB, free: 9.023 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.0001853/1.053, allocations: 183.2 kB / 1.034 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/1.054, allocations: 15.81 kB / 1.034 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/1.054, allocations: 17.33 kB / 1.034 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.054, allocations: 7.984 kB / 1.034 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.054, allocations: 0 / 1.034 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.054, allocations: 3.953 kB / 1.034 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/1.055, allocations: 0.5692 MB / 1.035 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.055, allocations: 0 / 1.035 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/1.055, allocations: 19.98 kB / 1.035 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.055, allocations: 0 / 1.035 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/1.055, allocations: 7.938 kB / 1.035 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/1.055, allocations: 7.953 kB / 1.035 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.055, allocations: 0 / 1.035 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/1.056, allocations: 382.5 kB / 1.035 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/1.056, allocations: 89 kB / 1.035 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/1.056, allocations: 7.062 kB / 1.035 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/1.056, allocations: 12 kB / 1.035 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/1.056, allocations: 11.94 kB / 1.035 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/1.056, allocations: 11.55 kB / 1.035 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001481/1.056, allocations: 125.8 kB / 1.035 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/1.056, allocations: 0 / 1.035 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004115/1.057, allocations: 39.94 kB / 1.035 GB, free: 7.547 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.0003258/1.057, allocations: 124.7 kB / 1.035 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000587/1.058, allocations: 341.7 kB / 1.036 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.058, allocations: 0 / 1.036 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003/1.058, allocations: 194.8 kB / 1.036 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/1.058, allocations: 23.2 kB / 1.036 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/1.059, allocations: 217.8 kB / 1.036 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/1.059, allocations: 0.7082 MB / 1.037 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001151/1.06, allocations: 20.53 kB / 1.037 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/1.06, allocations: 15.44 kB / 1.037 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.06, allocations: 4 kB / 1.037 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of Templates: time 0.007442/1.067, allocations: 1.9 MB / 1.039 GB, free: 4.016 MB / 0.6511 GB