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.36/2.36, allocations: 248.7 MB / 256.2 MB, free: 7.012 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.001423/0.001423, allocations: 191.3 kB / 315.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 88.42 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.783e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2099, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9136/1.124, allocations: 133.9 MB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/1.124, allocations: 82.42 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02218/1.146, allocations: 4.967 MB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/1.146, allocations: 0 / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.588e-05/1.146, allocations: 8 kB / 1.02 GB, free: 0.7539 MB / 0.6355 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.0007209/1.147, allocations: 0.5123 MB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.147, allocations: 11.97 kB / 1.02 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/1.147, allocations: 19.66 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/1.148, allocations: 230.8 kB / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/1.148, allocations: 4 kB / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/1.148, allocations: 8 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001996/1.148, allocations: 51.55 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/1.148, allocations: 96.44 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.148, allocations: 7.984 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/1.148, allocations: 4 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.148, allocations: 0 / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009009/1.149, allocations: 402.4 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/1.149, allocations: 72.78 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/1.15, allocations: 63.64 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/1.15, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/1.15, allocations: 161.9 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/1.15, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0006677/1.151, allocations: 211.6 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.151, allocations: 169.9 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/1.151, allocations: 153.6 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/1.151, allocations: 29.7 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/1.151, allocations: 107.6 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/1.151, allocations: 27.59 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/1.151, allocations: 3.938 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.151, allocations: 330.5 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/1.151, allocations: 35.05 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/1.152, allocations: 85.92 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/1.152, allocations: 55.58 kB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.152, allocations: 0 / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005946/1.152, allocations: 196.1 kB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.153, allocations: 114.8 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.153, allocations: 8.25 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.153, allocations: 4 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/1.153, allocations: 15.98 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/1.153, allocations: 7.938 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/1.153, allocations: 15.94 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/1.153, allocations: 11.88 kB / 1.023 GB, free: 13.58 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.0001779/1.153, allocations: 176.2 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005791/1.154, allocations: 215.7 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/1.154, allocations: 15.91 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/1.154, allocations: 13.72 kB / 1.023 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.154, allocations: 3.984 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/1.154, allocations: 3.953 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.154, allocations: 3.938 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008215/1.155, allocations: 480.8 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.155, allocations: 0 / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/1.155, allocations: 16 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.155, allocations: 0 / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/1.155, allocations: 11.42 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/1.155, allocations: 7.953 kB / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.155, allocations: 0 / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/1.156, allocations: 309 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/1.156, allocations: 88.92 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/1.156, allocations: 4 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/1.156, allocations: 12 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.156, allocations: 15.88 kB / 1.024 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/1.156, allocations: 7.984 kB / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001232/1.156, allocations: 118.7 kB / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.156, allocations: 4 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000416/1.157, allocations: 28 kB / 1.024 GB, free: 12.14 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.001149/1.158, allocations: 0.869 MB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005182/1.159, allocations: 332.5 kB / 1.025 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.159, allocations: 4.062 kB / 1.026 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/1.159, allocations: 189.3 kB / 1.026 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/1.159, allocations: 20.61 kB / 1.026 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008934/1.16, allocations: 245 kB / 1.026 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/1.16, allocations: 0.7195 MB / 1.027 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001047/1.161, allocations: 20.55 kB / 1.027 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/1.161, allocations: 34.67 kB / 1.027 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.161, allocations: 0 / 1.027 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04349/1.204, allocations: 2.959 MB / 1.03 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/1.205, allocations: 137.3 kB / 1.03 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.708, allocations: 3.938 kB / 1.03 GB, free: 6.594 MB / 0.6511 GB