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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.177/2.177, allocations: 251.3 MB / 266.2 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 175.1 kB / 325.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.433/2.433, allocations: 205.4 MB / 0.5767 GB, free: 20.8 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.0009037/0.0009035, allocations: 92.84 kB / 0.6812 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004591, allocations: 11.62 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1925, allocations: 106.3 MB / 0.899 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002035/0.1946, allocations: 1.305 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1957, allocations: 0.6207 MB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.1958, allocations: 4 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.1959, allocations: 27.84 kB / 0.9009 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1961, allocations: 31.83 kB / 0.901 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.1967, allocations: 95.89 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1969, allocations: 147.6 kB / 0.9012 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.197, allocations: 21.11 kB / 0.9012 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.1972, allocations: 75.75 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1973, allocations: 75.72 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.1974, allocations: 8 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.172e-05/0.1975, allocations: 19.94 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.1975, allocations: 23.91 kB / 0.9014 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.1976, allocations: 53.64 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1978, allocations: 115.8 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1978, allocations: 0 / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1978, allocations: 0 / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1978, allocations: 0 / 0.9016 GB, free: 62.84 MB / 0.6042 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.0006042/0.1985, allocations: 0.5215 MB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1985, allocations: 11.97 kB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.1986, allocations: 16.84 kB / 0.9021 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1989, allocations: 248.1 kB / 0.9024 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1989, allocations: 8.359 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.199, allocations: 20.31 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.1993, allocations: 113.7 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1994, allocations: 4 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.1994, allocations: 8 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1994, allocations: 0 / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.1997, allocations: 75.95 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.2005, allocations: 424.6 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.2008, allocations: 90.53 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.201, allocations: 76.81 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.2011, allocations: 4.25 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003366/0.2014, allocations: 190.6 kB / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.344e-06/0.2014, allocations: 0 / 0.9033 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0009936/0.2024, allocations: 360.8 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.2025, allocations: 170.2 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.2027, allocations: 171.1 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.2028, allocations: 33.7 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.2028, allocations: 108.4 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.2029, allocations: 27.64 kB / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.2029, allocations: 4 kB / 0.9042 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.203, allocations: 334.8 kB / 0.9045 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.2032, allocations: 55.95 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.2034, allocations: 104.4 kB / 0.9046 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.2037, allocations: 178.7 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2037, allocations: 4 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007292/0.2045, allocations: 352 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/0.2046, allocations: 128.8 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2046, allocations: 0 / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2046, allocations: 4.25 kB / 0.9053 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.2048, allocations: 27.92 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2048, allocations: 0 / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.205, allocations: 23.83 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.205, allocations: 8.078 kB / 0.9053 GB, free: 58.61 MB / 0.6042 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.0001584/0.2052, allocations: 201.9 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.2052, allocations: 11.91 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.2053, allocations: 21.39 kB / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2053, allocations: 0 / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2053, allocations: 0 / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2053, allocations: 0 / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009174/0.2062, allocations: 0.5953 MB / 0.9061 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2063, allocations: 4 kB / 0.9061 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.2064, allocations: 11.98 kB / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2064, allocations: 4 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.2064, allocations: 11.98 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2064, allocations: 0 / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.2064, allocations: 3.938 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007484/0.2072, allocations: 414.7 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.2073, allocations: 88.92 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.2073, allocations: 4 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.2075, allocations: 15.98 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.2076, allocations: 11.92 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.2076, allocations: 4 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001101/0.2077, allocations: 136.3 kB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2077, allocations: 0 / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003648/0.2081, allocations: 47.92 kB / 0.9069 GB, free: 56.91 MB / 0.6042 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.0002451/0.2084, allocations: 122.2 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.209, allocations: 373.4 kB / 0.9073 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.209, allocations: 3.938 kB / 0.9073 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.2093, allocations: 211.2 kB / 0.9075 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.2097, allocations: 28.47 kB / 0.9076 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/0.2104, allocations: 317.9 kB / 0.9079 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.2106, allocations: 0.7004 MB / 0.9085 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.2107, allocations: 20.53 kB / 0.9086 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.2108, allocations: 15.44 kB / 0.9086 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.2108, allocations: 0 / 0.9086 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.006169/0.217, allocations: 1.938 MB / 0.9105 GB, free: 53.1 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)