Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005284/0.005284, allocations: 100.8 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 190 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.7 MB / 0.5094 GB, free: 2.98 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 72.47 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.185, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002766/0.1878, allocations: 1.595 MB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009946/0.1888, allocations: 0.6669 MB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.1889, allocations: 0 / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.189, allocations: 19.86 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.1893, allocations: 47.7 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.1898, allocations: 107.8 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.19, allocations: 207.5 kB / 0.8306 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1901, allocations: 32.78 kB / 0.8307 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1903, allocations: 79.77 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1904, allocations: 83.72 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.1905, allocations: 20 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.1905, allocations: 27.98 kB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.1906, allocations: 35.84 kB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.1907, allocations: 75.64 kB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1909, allocations: 163.5 kB / 0.8311 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.191, allocations: 0 / 0.8311 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.191, allocations: 0 / 0.8311 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.191, allocations: 0 / 0.8311 GB, free: 13.02 MB / 0.6544 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.0006502/0.1916, allocations: 0.564 MB / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1917, allocations: 12.03 kB / 0.8317 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.1917, allocations: 20.75 kB / 0.8317 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.192, allocations: 228.2 kB / 0.8319 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.192, allocations: 8.375 kB / 0.8319 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1921, allocations: 12.38 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.1923, allocations: 113.7 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1923, allocations: 0 / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1924, allocations: 4 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1924, allocations: 4 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.1926, allocations: 75.88 kB / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.1931, allocations: 416.5 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.1933, allocations: 98.56 kB / 0.8326 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1935, allocations: 72.81 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1935, allocations: 3.984 kB / 0.8327 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.1938, allocations: 178.7 kB / 0.8329 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1938, allocations: 0 / 0.8329 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006655/0.1944, allocations: 356.9 kB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/0.1945, allocations: 162.2 kB / 0.8334 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1947, allocations: 183.4 kB / 0.8335 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1947, allocations: 29.7 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.1948, allocations: 104.4 kB / 0.8337 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1948, allocations: 27.59 kB / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.1949, allocations: 41.7 kB / 0.8337 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.195, allocations: 330.8 kB / 0.834 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1951, allocations: 55.95 kB / 0.8341 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.1953, allocations: 110.8 kB / 0.8342 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.1956, allocations: 308.9 kB / 0.8345 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1957, allocations: 0 / 0.8345 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004946/0.1962, allocations: 352 kB / 0.8348 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.507e-05/0.1962, allocations: 118.8 kB / 0.8349 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1962, allocations: 0 / 0.8349 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1963, allocations: 4 kB / 0.8349 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1964, allocations: 23.92 kB / 0.835 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1964, allocations: 8.25 kB / 0.835 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.1965, allocations: 11.91 kB / 0.835 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.1965, allocations: 8 kB / 0.835 GB, free: 8.609 MB / 0.6544 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 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.1967, allocations: 202.3 kB / 0.8352 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.1967, allocations: 19.81 kB / 0.8352 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.1968, allocations: 13.41 kB / 0.8352 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1968, allocations: 0 / 0.8352 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1968, allocations: 0 / 0.8352 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1968, allocations: 3.938 kB / 0.8352 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006537/0.1974, allocations: 0.5837 MB / 0.8358 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1975, allocations: 0 / 0.8358 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.57e-05/0.1975, allocations: 19.92 kB / 0.8358 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1975, allocations: 0 / 0.8358 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1976, allocations: 8 kB / 0.8358 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1976, allocations: 4.156 kB / 0.8358 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1976, allocations: 3.938 kB / 0.8358 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.1981, allocations: 410.6 kB / 0.8362 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.1981, allocations: 89 kB / 0.8363 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.1982, allocations: 7.938 kB / 0.8363 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1983, allocations: 4 kB / 0.8363 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.1983, allocations: 15.92 kB / 0.8363 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1984, allocations: 8 kB / 0.8363 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001067/0.1985, allocations: 135.2 kB / 0.8365 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1985, allocations: 0 / 0.8365 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002846/0.1988, allocations: 32 kB / 0.8365 GB, free: 6.934 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002159/0.199, allocations: 125.3 kB / 0.8366 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.1994, allocations: 369.4 kB / 0.837 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1995, allocations: 0 / 0.837 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.1997, allocations: 206.8 kB / 0.8372 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.2, allocations: 19.94 kB / 0.8372 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.2005, allocations: 292.4 kB / 0.8375 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2008, allocations: 0.7117 MB / 0.8382 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.31e-05/0.2009, allocations: 24.52 kB / 0.8382 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.2009, allocations: 11.44 kB / 0.8382 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.2009, allocations: 0 / 0.8382 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of Templates: time 0.004859/0.2058, allocations: 2.088 MB / 0.8402 GB, free: 3.004 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)