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.56/1.56, allocations: 288.4 MB / 304.3 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.0008917/0.0008918, allocations: 179 kB / 372.9 MB, free: 10.16 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.532/1.532, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.000785/0.0007851, allocations: 90.67 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003788, allocations: 11.84 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2042, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001758/0.206, allocations: 1.305 MB / 0.982 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008575/0.2068, allocations: 0.6245 MB / 0.9826 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.2069, allocations: 0 / 0.9826 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.2071, allocations: 7.938 kB / 0.9826 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.2073, allocations: 39.83 kB / 0.9827 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.2077, allocations: 99.83 kB / 0.9828 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.2079, allocations: 151.6 kB / 0.9829 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.208, allocations: 29.09 kB / 0.9829 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.2081, allocations: 71.81 kB / 0.983 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2082, allocations: 75.72 kB / 0.9831 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.2083, allocations: 4 kB / 0.9831 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.2083, allocations: 16 kB / 0.9831 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.2084, allocations: 19.92 kB / 0.9831 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.004e-05/0.2085, allocations: 93.41 kB / 0.9832 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.2086, allocations: 120 kB / 0.9833 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2087, allocations: 7.938 kB / 0.9833 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2087, allocations: 0 / 0.9833 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2087, allocations: 0 / 0.9833 GB, free: 24.7 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.0004952/0.2092, allocations: 0.5173 MB / 0.9838 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2092, allocations: 8.031 kB / 0.9838 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.2093, allocations: 20.75 kB / 0.9839 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.2095, allocations: 236.8 kB / 0.9841 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2095, allocations: 4.375 kB / 0.9841 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.2096, allocations: 12.38 kB / 0.9841 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.2098, allocations: 121.7 kB / 0.9842 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2098, allocations: 0 / 0.9842 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2098, allocations: 4 kB / 0.9842 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2099, allocations: 0 / 0.9842 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.21, allocations: 83.89 kB / 0.9843 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.2106, allocations: 428.5 kB / 0.9847 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.2107, allocations: 90.53 kB / 0.9848 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.2109, allocations: 80.81 kB / 0.9849 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.2109, allocations: 4 kB / 0.9849 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.2111, allocations: 182.8 kB / 0.985 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/0.2111, allocations: 0 / 0.985 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006123/0.2118, allocations: 368.8 kB / 0.9854 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2118, allocations: 166.2 kB / 0.9856 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2119, allocations: 182.5 kB / 0.9857 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.212, allocations: 33.7 kB / 0.9858 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.212, allocations: 108.3 kB / 0.9859 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.2121, allocations: 23.66 kB / 0.9859 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-06/0.2121, allocations: 4 kB / 0.9859 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.2121, allocations: 334.8 kB / 0.9862 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.2122, allocations: 55.95 kB / 0.9863 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.2124, allocations: 106.8 kB / 0.9864 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.2126, allocations: 316.9 kB / 0.9867 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2126, allocations: 4 kB / 0.9867 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003974/0.213, allocations: 348.1 kB / 0.987 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.2131, allocations: 120.8 kB / 0.9871 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2131, allocations: 3.938 kB / 0.9871 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2131, allocations: 4 kB / 0.9871 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.2132, allocations: 19.98 kB / 0.9871 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2133, allocations: 4.234 kB / 0.9871 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.2134, allocations: 24 kB / 0.9872 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2134, allocations: 8.078 kB / 0.9872 GB, free: 20.31 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.000104/0.2135, allocations: 201.1 kB / 0.9874 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.2135, allocations: 19.8 kB / 0.9874 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.2136, allocations: 13.41 kB / 0.9874 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2136, allocations: 3.984 kB / 0.9874 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2136, allocations: 288 / 0.9874 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.2136, allocations: 100.8 kB / 0.9875 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.2136, allocations: 8 kB / 0.9875 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.2137, allocations: 15.88 kB / 0.9875 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.2138, allocations: 7.984 kB / 0.9875 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004731/0.2143, allocations: 0.4951 MB / 0.988 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004318/0.2147, allocations: 489.9 kB / 0.9885 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001451/0.2149, allocations: 99.89 kB / 0.9886 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.623e-05/0.2149, allocations: 124.3 kB / 0.9887 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of Backend: time 7.52e-07/0.2149, allocations: 0 / 0.9887 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007092/0.2157, allocations: 414.1 kB / 0.9891 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004977/0.2162, allocations: 0.8263 MB / 0.9899 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.004371/0.2205, allocations: 2.066 MB / 0.9919 GB, free: 15.25 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)