Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009428/0.0009428, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001087/0.001087, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.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.0004997/0.0004998, allocations: 22.47 kB / 0.6735 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001772/0.2138, allocations: 1.294 MB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008816/0.2147, allocations: 0.5935 MB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.2148, allocations: 4 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.2149, allocations: 23.84 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.2151, allocations: 39.88 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.2155, allocations: 99.77 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.2157, allocations: 91.83 kB / 0.7892 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2158, allocations: 25.09 kB / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.2159, allocations: 71.75 kB / 0.7893 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.2161, allocations: 63.8 kB / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.2161, allocations: 15.94 kB / 0.7894 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.2162, allocations: 8 kB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.2162, allocations: 27.91 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.2163, allocations: 53.64 kB / 0.7895 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.2164, allocations: 119.9 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.2165, allocations: 0 / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2165, allocations: 0 / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2165, allocations: 0 / 0.7896 GB, free: 9.438 MB / 0.6075 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.000583/0.2171, allocations: 0.5212 MB / 0.7901 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2171, allocations: 8.031 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.2172, allocations: 19.81 kB / 0.7901 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.2175, allocations: 234.7 kB / 0.7903 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2175, allocations: 8 kB / 0.7903 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.2175, allocations: 12 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.2178, allocations: 117.5 kB / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2178, allocations: 8 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2178, allocations: 0 / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2178, allocations: 4 kB / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.218, allocations: 75.94 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.2187, allocations: 424.5 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.2189, allocations: 94.53 kB / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2189, allocations: 8.125 kB / 0.791 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.2192, allocations: 186.8 kB / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.2192, allocations: 0 / 0.7912 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0007528/0.22, allocations: 0.5068 MB / 0.7917 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.2201, allocations: 178.1 kB / 0.7919 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2202, allocations: 175.2 kB / 0.7921 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.2202, allocations: 29.7 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.2203, allocations: 112.3 kB / 0.7922 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.2204, allocations: 27.64 kB / 0.7922 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.2204, allocations: 4 kB / 0.7922 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2205, allocations: 326.8 kB / 0.7925 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.2206, allocations: 55.95 kB / 0.7926 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.2208, allocations: 113.8 kB / 0.7927 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.221, allocations: 170.8 kB / 0.7929 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.221, allocations: 3.938 kB / 0.7929 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004974/0.2215, allocations: 352.1 kB / 0.7932 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.006e-05/0.2216, allocations: 118.8 kB / 0.7933 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2216, allocations: 4.25 kB / 0.7933 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.2216, allocations: 8 kB / 0.7933 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2217, allocations: 19.92 kB / 0.7933 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2218, allocations: 4 kB / 0.7933 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.2219, allocations: 15.95 kB / 0.7934 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.2219, allocations: 11.98 kB / 0.7934 GB, free: 5.113 MB / 0.6075 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.0001488/0.222, allocations: 197.1 kB / 0.7936 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.2221, allocations: 19.81 kB / 0.7936 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.2221, allocations: 17.41 kB / 0.7936 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2221, allocations: 7.969 kB / 0.7936 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2221, allocations: 0 / 0.7936 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2222, allocations: 0 / 0.7936 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007135/0.2229, allocations: 0.5876 MB / 0.7942 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2229, allocations: 8 kB / 0.7942 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.223, allocations: 11.98 kB / 0.7942 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.223, allocations: 0 / 0.7942 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.223, allocations: 15.98 kB / 0.7942 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.223, allocations: 288 / 0.7942 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.223, allocations: 3.953 kB / 0.7942 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.2235, allocations: 418.5 kB / 0.7946 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.2236, allocations: 88.92 kB / 0.7947 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.2236, allocations: 4 kB / 0.7947 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.2237, allocations: 15.98 kB / 0.7947 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.2238, allocations: 4 kB / 0.7947 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2238, allocations: 11.94 kB / 0.7947 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.758e-05/0.2239, allocations: 137.1 kB / 0.7949 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2239, allocations: 0 / 0.7949 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002826/0.2242, allocations: 35.98 kB / 0.7949 GB, free: 3.41 MB / 0.6075 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.0002021/0.2244, allocations: 128.8 kB / 0.795 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.2249, allocations: 373.4 kB / 0.7954 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2249, allocations: 0 / 0.7954 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.2251, allocations: 207.2 kB / 0.7956 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.2253, allocations: 20.17 kB / 0.7956 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.2259, allocations: 325.8 kB / 0.7959 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.2261, allocations: 0.7121 MB / 0.7966 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.127e-05/0.2262, allocations: 20.53 kB / 0.7966 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.2263, allocations: 11.44 kB / 0.7966 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2263, allocations: 0 / 0.7966 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.004788/0.2311, allocations: 1.93 MB / 0.7985 GB, free: 15.6 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) Environment - environmentSimulation: