Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.764/1.764, allocations: 288.4 MB / 303.4 MB, free: 8.07 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.001117/0.001117, allocations: 180.5 kB / 372 MB, free: 10.2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0007553/0.0007556, allocations: 86.36 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004136, allocations: 10.66 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2021, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001672/0.2038, allocations: 1.301 MB / 0.9809 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.2047, allocations: 0.6245 MB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2048, allocations: 4 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.205, allocations: 15.88 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.2052, allocations: 35.81 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.2056, allocations: 95.89 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.2058, allocations: 151.6 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2059, allocations: 21.12 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.2061, allocations: 83.69 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.2062, allocations: 75.72 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.2062, allocations: 8 kB / 0.9819 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.2063, allocations: 12 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.2064, allocations: 27.91 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.2064, allocations: 49.64 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2065, allocations: 116 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2066, allocations: 0 / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2066, allocations: 0 / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2066, allocations: 4 kB / 0.9821 GB, free: 25.01 MB / 0.6198 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.0005713/0.2072, allocations: 0.5211 MB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2072, allocations: 12.02 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.2073, allocations: 19.81 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.2076, allocations: 235.3 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2076, allocations: 4 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.2076, allocations: 16 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.2079, allocations: 113.6 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2079, allocations: 7.984 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.2079, allocations: 0 / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.208, allocations: 4 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.2081, allocations: 75.95 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.2088, allocations: 432.5 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.209, allocations: 94.53 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.2091, allocations: 72.83 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.2092, allocations: 7.984 kB / 0.9837 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.2094, allocations: 182.8 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.485e-06/0.2094, allocations: 0 / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006226/0.2101, allocations: 369.1 kB / 0.9842 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.2101, allocations: 178.1 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2102, allocations: 170.6 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2103, allocations: 33.7 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.2103, allocations: 112.3 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.2103, allocations: 27.64 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.2104, allocations: 4 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.2104, allocations: 326.8 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.2105, allocations: 59.95 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2107, allocations: 98.83 kB / 0.9852 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.2109, allocations: 182.7 kB / 0.9854 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.2109, allocations: 0 / 0.9854 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000426/0.2113, allocations: 356.1 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.2114, allocations: 116.7 kB / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2114, allocations: 0 / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2114, allocations: 7.938 kB / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2115, allocations: 19.98 kB / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2115, allocations: 8.203 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.646e-05/0.2116, allocations: 16 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2116, allocations: 8 kB / 0.9859 GB, free: 20.8 MB / 0.6198 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.0001135/0.2118, allocations: 205.1 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.2118, allocations: 15.81 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.2118, allocations: 13.41 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2118, allocations: 0 / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2119, allocations: 4 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2119, allocations: 7.953 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.2125, allocations: 0.5876 MB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2125, allocations: 0 / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.2125, allocations: 15.98 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2126, allocations: 4 kB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2126, allocations: 8 kB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2126, allocations: 0 / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2126, allocations: 7.891 kB / 0.9867 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.213, allocations: 406.5 kB / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.2131, allocations: 100.9 kB / 0.9872 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.2131, allocations: 8 kB / 0.9872 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2132, allocations: 8 kB / 0.9872 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.2133, allocations: 15.94 kB / 0.9872 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2133, allocations: 11.98 kB / 0.9872 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.97e-05/0.2134, allocations: 128.3 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2134, allocations: 0 / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002521/0.2136, allocations: 32 kB / 0.9874 GB, free: 19.11 MB / 0.6198 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.0001932/0.2138, allocations: 126.5 kB / 0.9875 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.2142, allocations: 369.5 kB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2142, allocations: 0 / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.2144, allocations: 214.7 kB / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.2147, allocations: 17.05 kB / 0.9881 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.2152, allocations: 314.6 kB / 0.9884 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2153, allocations: 0.7121 MB / 0.9891 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.175e-05/0.2154, allocations: 20.53 kB / 0.9891 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.2154, allocations: 11.44 kB / 0.9891 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of SimCode: time 8.11e-07/0.2154, allocations: 0 / 0.9891 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.004026/0.2195, allocations: 1.956 MB / 0.991 GB, free: 15.29 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)