Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.81/1.81, allocations: 288.2 MB / 303.2 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 185 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.273/2.273, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 86.92 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004701, allocations: 18.61 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3687, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.504, allocations: 140.2 MB / 1.116 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/1.505, allocations: 77.98 kB / 1.116 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0148/1.519, allocations: 5.012 MB / 1.121 GB, free: 31.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.877e-06/1.519, allocations: 0 / 1.121 GB, free: 31.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.344e-05/1.52, allocations: 11.78 kB / 1.121 GB, free: 31.39 MB / 0.698 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.0008029/1.52, allocations: 0.5388 MB / 1.122 GB, free: 30.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.52, allocations: 19.52 kB / 1.122 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/1.52, allocations: 34.38 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/1.521, allocations: 19.38 kB / 1.122 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/1.521, allocations: 224 kB / 1.122 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/1.521, allocations: 10.78 kB / 1.122 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/1.521, allocations: 18.91 kB / 1.122 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/1.521, allocations: 117.1 kB / 1.122 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.521, allocations: 4 kB / 1.122 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/1.521, allocations: 3.844 kB / 1.122 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.521, allocations: 3.984 kB / 1.122 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/1.521, allocations: 78.12 kB / 1.122 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/1.522, allocations: 426.2 kB / 1.123 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/1.522, allocations: 90.23 kB / 1.123 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/1.522, allocations: 3.875 kB / 1.123 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/1.523, allocations: 183.7 kB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/1.523, allocations: 3.938 kB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000801/1.524, allocations: 0.5039 MB / 1.124 GB, free: 29.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.524, allocations: 167.8 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/1.524, allocations: 170 kB / 1.124 GB, free: 29.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.524, allocations: 29.52 kB / 1.124 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/1.524, allocations: 107.7 kB / 1.124 GB, free: 29.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/1.524, allocations: 22.14 kB / 1.124 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/1.524, allocations: 3.875 kB / 1.124 GB, free: 29.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.524, allocations: 328 kB / 1.124 GB, free: 29.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/1.524, allocations: 54.5 kB / 1.124 GB, free: 29.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/1.524, allocations: 110.2 kB / 1.124 GB, free: 29.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/1.525, allocations: 171.9 kB / 1.125 GB, free: 28.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.525, allocations: 3.938 kB / 1.125 GB, free: 28.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005155/1.525, allocations: 358 kB / 1.125 GB, free: 28.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-05/1.525, allocations: 113.8 kB / 1.125 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.525, allocations: 4.156 kB / 1.125 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.525, allocations: 11.78 kB / 1.125 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/1.525, allocations: 22.25 kB / 1.125 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/1.525, allocations: 3.938 kB / 1.125 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/1.526, allocations: 26.28 kB / 1.125 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/1.526, allocations: 15.23 kB / 1.125 GB, free: 28.59 MB / 0.698 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.0001784/1.526, allocations: 197.4 kB / 1.125 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/1.526, allocations: 11.78 kB / 1.125 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/1.526, allocations: 17.22 kB / 1.125 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.526, allocations: 7.688 kB / 1.125 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.526, allocations: 2.953 kB / 1.125 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.526, allocations: 0 / 1.125 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/1.527, allocations: 0.5774 MB / 1.126 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.527, allocations: 11.59 kB / 1.126 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/1.527, allocations: 10.44 kB / 1.126 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.527, allocations: 4 kB / 1.126 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/1.527, allocations: 13.7 kB / 1.126 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.527, allocations: 0 / 1.126 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.527, allocations: 0 / 1.126 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/1.527, allocations: 412.6 kB / 1.126 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/1.527, allocations: 91.72 kB / 1.126 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/1.527, allocations: 7.531 kB / 1.126 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/1.528, allocations: 7.688 kB / 1.127 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/1.528, allocations: 7 kB / 1.127 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/1.528, allocations: 18.17 kB / 1.127 GB, free: 27.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001056/1.528, allocations: 134.6 kB / 1.127 GB, free: 27.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/1.528, allocations: 0 / 1.127 GB, free: 27.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003142/1.528, allocations: 42.61 kB / 1.127 GB, free: 27.62 MB / 0.698 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.000988/1.529, allocations: 0.9721 MB / 1.128 GB, free: 26.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005021/1.53, allocations: 373 kB / 1.128 GB, free: 26.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.53, allocations: 3.938 kB / 1.128 GB, free: 26.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/1.53, allocations: 209.3 kB / 1.128 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/1.53, allocations: 16.5 kB / 1.128 GB, free: 26.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/1.532, allocations: 1.626 MB / 1.13 GB, free: 24.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/1.532, allocations: 0.7059 MB / 1.13 GB, free: 24.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.898e-05/1.532, allocations: 24.72 kB / 1.131 GB, free: 24.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/1.532, allocations: 36.77 kB / 1.131 GB, free: 24.27 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/1.532, allocations: 0 / 1.131 GB, free: 24.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/1.552, allocations: 3.297 MB / 1.134 GB, free: 23.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/1.552, allocations: 193.9 kB / 1.134 GB, free: 23.41 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/3.204, allocations: 0 / 1.134 GB, free: 23.41 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVWriter_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVWriter.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)