Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.284/2.284, allocations: 248.5 MB / 261.1 MB, free: 6.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 183.3 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.1 MB / 0.571 GB, free: 11.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 101.2 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.942e-05/4.964e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2923, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9812/1.274, allocations: 133.6 MB / 1.021 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/1.274, allocations: 75.77 kB / 1.021 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02858/1.303, allocations: 4.999 MB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.964e-06/1.303, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.283e-05/1.303, allocations: 4 kB / 1.026 GB, free: 13.01 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.0009941/1.304, allocations: 0.5207 MB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.592e-05/1.304, allocations: 8.031 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.47e-05/1.304, allocations: 45.98 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/1.304, allocations: 19.86 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/1.305, allocations: 225.4 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/1.305, allocations: 8 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/1.305, allocations: 11.31 kB / 1.027 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/1.305, allocations: 106.5 kB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.305, allocations: 0 / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/1.305, allocations: 7.375 kB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/1.305, allocations: 0 / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/1.306, allocations: 54.98 kB / 1.027 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/1.307, allocations: 421.1 kB / 1.027 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/1.307, allocations: 75.55 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/1.308, allocations: 69.56 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/1.308, allocations: 11.92 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004421/1.308, allocations: 172.5 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 4.077e-06/1.308, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.001014/1.309, allocations: 267.7 kB / 1.028 GB, free: 11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/1.309, allocations: 170 kB / 1.028 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/1.31, allocations: 161.6 kB / 1.028 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/1.31, allocations: 33.58 kB / 1.028 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/1.31, allocations: 114.1 kB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/1.31, allocations: 23.59 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/1.31, allocations: 4 kB / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.31, allocations: 326.4 kB / 1.029 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/1.31, allocations: 46.23 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/1.311, allocations: 92.97 kB / 1.029 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/1.311, allocations: 157.4 kB / 1.029 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.311, allocations: 8 kB / 1.029 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0009898/1.312, allocations: 326.7 kB / 1.029 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.312, allocations: 114.2 kB / 1.03 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.312, allocations: 4 kB / 1.03 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/1.312, allocations: 4 kB / 1.03 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/1.313, allocations: 23.88 kB / 1.03 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/1.313, allocations: 12.23 kB / 1.03 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/1.313, allocations: 15.69 kB / 1.03 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/1.313, allocations: 7.984 kB / 1.03 GB, free: 9.355 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.0002565/1.313, allocations: 178.8 kB / 1.03 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/1.313, allocations: 15.81 kB / 1.03 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.062e-05/1.313, allocations: 16.83 kB / 1.03 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.313, allocations: 7.938 kB / 1.03 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.313, allocations: 7.953 kB / 1.03 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.313, allocations: 7.938 kB / 1.03 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/1.315, allocations: 0.5648 MB / 1.03 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.315, allocations: 3.938 kB / 1.03 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/1.315, allocations: 12 kB / 1.03 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/1.315, allocations: 0 / 1.03 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/1.315, allocations: 7.984 kB / 1.03 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/1.315, allocations: 7.953 kB / 1.03 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.315, allocations: 0 / 1.03 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/1.316, allocations: 388.3 kB / 1.031 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/1.316, allocations: 89 kB / 1.031 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/1.316, allocations: 4 kB / 1.031 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/1.317, allocations: 8 kB / 1.031 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/1.317, allocations: 15.75 kB / 1.031 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/1.317, allocations: 4 kB / 1.031 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000203/1.317, allocations: 129.4 kB / 1.031 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.317, allocations: 4 kB / 1.031 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007002/1.318, allocations: 31.88 kB / 1.031 GB, free: 7.883 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.001686/1.319, allocations: 0.9475 MB / 1.032 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008082/1.32, allocations: 337.9 kB / 1.032 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.32, allocations: 7.938 kB / 1.032 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003842/1.321, allocations: 185.4 kB / 1.033 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/1.321, allocations: 20.56 kB / 1.033 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/1.323, allocations: 272.5 kB / 1.033 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/1.323, allocations: 0.7118 MB / 1.033 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001584/1.323, allocations: 20.53 kB / 1.034 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/1.323, allocations: 37.17 kB / 1.034 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of SimCode: time 1.183e-06/1.323, allocations: 0 / 1.034 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/1.353, allocations: 3.314 MB / 1.037 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003446/1.354, allocations: 161.5 kB / 1.037 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.95, allocations: 0 / 1.037 GB, free: 1.93 MB / 0.6511 GB