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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0008796/0.0008797, allocations: 182.6 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205 MB / 0.5767 GB, free: 21.03 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.0006562/0.0006562, allocations: 97.16 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002718, allocations: 6.812 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1528, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001586/0.1544, allocations: 1.336 MB / 0.8981 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008424/0.1553, allocations: 0.6872 MB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.1554, allocations: 0 / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.1555, allocations: 15.86 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.1557, allocations: 39.83 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.156, allocations: 99.83 kB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1562, allocations: 163.6 kB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.1563, allocations: 33.03 kB / 0.8991 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1564, allocations: 75.7 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.338e-05/0.1565, allocations: 79.72 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.1565, allocations: 8 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.622e-05/0.1566, allocations: 19.98 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.1567, allocations: 23.92 kB / 0.8993 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.1567, allocations: 71.64 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1569, allocations: 147.6 kB / 0.8995 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1569, allocations: 7.938 kB / 0.8995 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1569, allocations: 0 / 0.8995 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1569, allocations: 0 / 0.8995 GB, free: 65.39 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.000461/0.1574, allocations: 0.525 MB / 0.9 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1574, allocations: 8.031 kB / 0.9 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.1575, allocations: 16.84 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1577, allocations: 232.2 kB / 0.9002 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1577, allocations: 16.38 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1577, allocations: 12.38 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.158, allocations: 121.7 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.158, allocations: 0 / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.158, allocations: 4 kB / 0.9004 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.158, allocations: 0 / 0.9004 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.1582, allocations: 83.94 kB / 0.9005 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.1587, allocations: 432.4 kB / 0.9009 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1588, allocations: 90.53 kB / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.159, allocations: 80.81 kB / 0.901 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.159, allocations: 0 / 0.901 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1592, allocations: 182.7 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.1592, allocations: 96 / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0005509/0.1598, allocations: 368.9 kB / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.1598, allocations: 170.2 kB / 0.9017 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1599, allocations: 171.1 kB / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.16, allocations: 33.7 kB / 0.9019 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.16, allocations: 112.3 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.16, allocations: 23.66 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.1601, allocations: 25.7 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.1601, allocations: 326.8 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1602, allocations: 59.95 kB / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1604, allocations: 102.8 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.1606, allocations: 324.9 kB / 0.9029 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1606, allocations: 4 kB / 0.9029 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000392/0.161, allocations: 352.2 kB / 0.9032 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.1611, allocations: 118.8 kB / 0.9033 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1611, allocations: 4 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1611, allocations: 0 / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.1612, allocations: 23.92 kB / 0.9033 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1612, allocations: 4 kB / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.1613, allocations: 20.05 kB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.1613, allocations: 12 kB / 0.9034 GB, free: 60.97 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 (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 9.692e-05/0.1614, allocations: 201 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1615, allocations: 11.91 kB / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.1615, allocations: 21.39 kB / 0.9036 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1615, allocations: 0 / 0.9036 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1615, allocations: 3.984 kB / 0.9036 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.1615, allocations: 88.92 kB / 0.9037 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1616, allocations: 4 kB / 0.9037 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.1616, allocations: 19.92 kB / 0.9037 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.1617, allocations: 7.938 kB / 0.9037 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004512/0.1622, allocations: 0.499 MB / 0.9042 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004083/0.1626, allocations: 490.1 kB / 0.9047 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001395/0.1627, allocations: 96.19 kB / 0.9048 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.947e-05/0.1628, allocations: 136.3 kB / 0.9049 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of Backend: time 3.51e-07/0.1628, allocations: 0 / 0.9049 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000574/0.1634, allocations: 414.8 kB / 0.9053 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004268/0.1638, allocations: 0.8145 MB / 0.9061 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.004003/0.1678, allocations: 2.087 MB / 0.9081 GB, free: 55.9 MB / 0.6042 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)