Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.747/2.747, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001683/0.001683, allocations: 178.8 kB / 370.8 MB, free: 10.86 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.12/2.12, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.00127/0.001269, allocations: 98.41 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004962, allocations: 11.72 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2443, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9745/1.219, allocations: 140 MB / 1.115 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.219, allocations: 80.95 kB / 1.115 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02041/1.24, allocations: 5.01 MB / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.923e-06/1.24, allocations: 0 / 1.12 GB, free: 31.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.807e-05/1.24, allocations: 15.84 kB / 1.12 GB, free: 31.25 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.0007214/1.241, allocations: 0.535 MB / 1.121 GB, free: 30.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.241, allocations: 11.73 kB / 1.121 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/1.241, allocations: 41.19 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/1.241, allocations: 19.41 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/1.241, allocations: 228.8 kB / 1.121 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/1.241, allocations: 7.75 kB / 1.121 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/1.241, allocations: 18.78 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/1.242, allocations: 115.5 kB / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.242, allocations: 0 / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/1.242, allocations: 11.27 kB / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/1.242, allocations: 0 / 1.121 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/1.242, allocations: 77.45 kB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008552/1.243, allocations: 428.8 kB / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/1.243, allocations: 89.44 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/1.243, allocations: 0 / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/1.244, allocations: 181.8 kB / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/1.244, allocations: 0 / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.001167/1.245, allocations: 0.5123 MB / 1.122 GB, free: 29.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.245, allocations: 168.8 kB / 1.122 GB, free: 29.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/1.245, allocations: 161.8 kB / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/1.245, allocations: 37.14 kB / 1.123 GB, free: 29.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/1.245, allocations: 109.5 kB / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/1.245, allocations: 22.55 kB / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/1.245, allocations: 7.812 kB / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.245, allocations: 321.7 kB / 1.123 GB, free: 28.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/1.246, allocations: 56.83 kB / 1.123 GB, free: 28.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/1.246, allocations: 107.8 kB / 1.123 GB, free: 28.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/1.246, allocations: 174.6 kB / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.246, allocations: 3.875 kB / 1.123 GB, free: 28.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008516/1.247, allocations: 360.5 kB / 1.124 GB, free: 28.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.824e-05/1.247, allocations: 122.5 kB / 1.124 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.247, allocations: 0 / 1.124 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.247, allocations: 3.812 kB / 1.124 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/1.247, allocations: 22.14 kB / 1.124 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.247, allocations: 6.469 kB / 1.124 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/1.248, allocations: 26.61 kB / 1.124 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/1.248, allocations: 14.97 kB / 1.124 GB, free: 28.45 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.0002126/1.248, allocations: 191.4 kB / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/1.248, allocations: 11.59 kB / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/1.248, allocations: 15.66 kB / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.248, allocations: 3.75 kB / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.248, allocations: 0 / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.248, allocations: 0 / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/1.249, allocations: 0.5956 MB / 1.125 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.249, allocations: 0 / 1.125 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/1.249, allocations: 18.34 kB / 1.125 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.249, allocations: 0 / 1.125 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/1.249, allocations: 10.27 kB / 1.125 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.249, allocations: 0 / 1.125 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.249, allocations: 7.953 kB / 1.125 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008203/1.25, allocations: 408.9 kB / 1.125 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/1.25, allocations: 96.73 kB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/1.25, allocations: 3.812 kB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/1.25, allocations: 18.23 kB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/1.251, allocations: 6.766 kB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/1.251, allocations: 7.922 kB / 1.125 GB, free: 27.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001363/1.251, allocations: 135.5 kB / 1.125 GB, free: 27.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.251, allocations: 0 / 1.125 GB, free: 27.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003966/1.251, allocations: 38.47 kB / 1.125 GB, free: 27.48 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.001332/1.253, allocations: 0.9685 MB / 1.126 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007074/1.253, allocations: 362.3 kB / 1.127 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.253, allocations: 7.875 kB / 1.127 GB, free: 26.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/1.254, allocations: 218.5 kB / 1.127 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/1.254, allocations: 16.03 kB / 1.127 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/1.255, allocations: 1.612 MB / 1.128 GB, free: 24.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/1.256, allocations: 0.7193 MB / 1.129 GB, free: 24.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001148/1.256, allocations: 19.12 kB / 1.129 GB, free: 24.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/1.256, allocations: 33.28 kB / 1.129 GB, free: 24.14 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/1.256, allocations: 0 / 1.129 GB, free: 24.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/1.292, allocations: 3.291 MB / 1.132 GB, free: 23.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/1.292, allocations: 184.2 kB / 1.133 GB, free: 23.47 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.981, allocations: 0 / 1.133 GB, free: 23.47 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_CSVWriter_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_CSVWriter.fmu > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)