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 loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.319/2.319, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 172.4 kB / 326.2 MB, free: 2.855 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.351/2.351, allocations: 205.4 MB / 0.5772 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009149/0.0009146, allocations: 93.86 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 8.812 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1953, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002148/0.1975, allocations: 1.309 MB / 0.9008 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1988, allocations: 0.6207 MB / 0.9014 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1989, allocations: 0 / 0.9014 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1992, allocations: 27.86 kB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.1994, allocations: 31.83 kB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.2, allocations: 99.83 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.2002, allocations: 143.7 kB / 0.9017 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2004, allocations: 21.09 kB / 0.9017 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.2006, allocations: 71.78 kB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.2008, allocations: 75.72 kB / 0.9018 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.2008, allocations: 8 kB / 0.9018 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.2009, allocations: 27.91 kB / 0.9019 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.201, allocations: 23.92 kB / 0.9019 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.2011, allocations: 49.64 kB / 0.9019 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.2013, allocations: 111.8 kB / 0.902 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2013, allocations: 0 / 0.902 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2013, allocations: 0 / 0.902 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2013, allocations: 0 / 0.902 GB, free: 62.88 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.0006446/0.202, allocations: 0.5293 MB / 0.9026 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2021, allocations: 8.031 kB / 0.9026 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.2021, allocations: 16.84 kB / 0.9026 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.2025, allocations: 248 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2025, allocations: 8.375 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.2026, allocations: 12.38 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.203, allocations: 121.7 kB / 0.903 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.203, allocations: 4 kB / 0.903 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.203, allocations: 0 / 0.903 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2031, allocations: 7.984 kB / 0.903 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.2034, allocations: 75.89 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008525/0.2043, allocations: 424.6 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.2046, allocations: 94.56 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.2049, allocations: 76.81 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.2049, allocations: 4 kB / 0.9036 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.2053, allocations: 182.6 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 3.337e-06/0.2053, allocations: 0 / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.001073/0.2064, allocations: 364.9 kB / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.2065, allocations: 166.2 kB / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.2067, allocations: 175.1 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.2068, allocations: 33.7 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.2068, allocations: 104.4 kB / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.2069, allocations: 27.64 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.2069, allocations: 8 kB / 0.9046 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.207, allocations: 326.8 kB / 0.9049 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.2073, allocations: 55.95 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.2075, allocations: 108 kB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.2078, allocations: 178.7 kB / 0.9053 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.2079, allocations: 4.281 kB / 0.9053 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007761/0.2087, allocations: 352.2 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/0.2088, allocations: 122.8 kB / 0.9057 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2088, allocations: 3.938 kB / 0.9057 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.2088, allocations: 4 kB / 0.9057 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.209, allocations: 23.92 kB / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.209, allocations: 0 / 0.9057 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.2092, allocations: 19.97 kB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.2093, allocations: 19.98 kB / 0.9058 GB, free: 58.65 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.0001967/0.2095, allocations: 198.2 kB / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.2095, allocations: 11.91 kB / 0.906 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.2096, allocations: 17.41 kB / 0.906 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2096, allocations: 3.984 kB / 0.906 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2096, allocations: 0 / 0.906 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.2097, allocations: 88.92 kB / 0.9061 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.2097, allocations: 4 kB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.2099, allocations: 23.92 kB / 0.9061 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.21, allocations: 4 kB / 0.9061 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008833/0.2109, allocations: 0.4951 MB / 0.9066 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009044/0.2118, allocations: 489.9 kB / 0.9071 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002793/0.2122, allocations: 87.95 kB / 0.9072 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001303/0.2123, allocations: 136.3 kB / 0.9073 GB, free: 57 MB / 0.6042 GB Notification: Performance of Backend: time 1.242e-06/0.2123, allocations: 0 / 0.9073 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.2135, allocations: 430.7 kB / 0.9077 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009213/0.2145, allocations: 0.8145 MB / 0.9085 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.007891/0.2225, allocations: 2.042 MB / 0.9105 GB, free: 53.62 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)