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.0009836/0.0009836, allocations: 110.8 kB / 16.38 MB, free: 6.484 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.0009912/0.0009913, allocations: 190.7 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.675/1.675, allocations: 292.3 MB / 0.5496 GB, free: 17.37 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.001334/0.001334, allocations: 75.12 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2056, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003201/0.2089, allocations: 1.608 MB / 0.7864 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.21, allocations: 0.6632 MB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.2101, allocations: 0 / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.2103, allocations: 19.86 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.2105, allocations: 47.69 kB / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.2109, allocations: 107.8 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.2111, allocations: 203.5 kB / 0.7874 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2113, allocations: 25.11 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2114, allocations: 91.67 kB / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.2116, allocations: 83.72 kB / 0.7876 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.2116, allocations: 16 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.517e-05/0.2117, allocations: 28 kB / 0.7876 GB, free: 288 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.334e-05/0.2118, allocations: 35.91 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.2119, allocations: 71.66 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.2121, allocations: 167.5 kB / 0.7879 GB, free: 12 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2121, allocations: 4 kB / 0.7879 GB, free: 8 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2121, allocations: 0 / 0.7879 GB, free: 8 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.2121, allocations: 0 / 0.7879 GB, free: 8 kB / 0.6544 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.3992/0.6114, allocations: 0.5477 MB / 0.7884 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.6114, allocations: 11.06 kB / 0.7884 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.6115, allocations: 15.75 kB / 0.7884 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.6118, allocations: 243.7 kB / 0.7887 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6118, allocations: 9.406 kB / 0.7887 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.6118, allocations: 13.66 kB / 0.7887 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.6121, allocations: 112.4 kB / 0.7888 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6121, allocations: 3.938 kB / 0.7888 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.6121, allocations: 2.875 kB / 0.7888 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.6121, allocations: 2.781 kB / 0.7888 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.6123, allocations: 67.45 kB / 0.7889 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.6128, allocations: 419.1 kB / 0.7893 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.613, allocations: 89.53 kB / 0.7894 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.6131, allocations: 79.69 kB / 0.7894 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.6132, allocations: 3.172 kB / 0.7894 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.6134, allocations: 179 kB / 0.7896 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.6134, allocations: 0 / 0.7896 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006004/0.614, allocations: 351.5 kB / 0.7899 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.614, allocations: 166.3 kB / 0.7901 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.6142, allocations: 176.3 kB / 0.7903 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.6142, allocations: 32.45 kB / 0.7903 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.6142, allocations: 107.4 kB / 0.7904 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6143, allocations: 28.23 kB / 0.7904 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/0.6143, allocations: 40.22 kB / 0.7905 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.6144, allocations: 328.7 kB / 0.7908 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.6145, allocations: 51.77 kB / 0.7908 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.6146, allocations: 106.8 kB / 0.7909 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.6149, allocations: 316.6 kB / 0.7912 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6149, allocations: 4.438 kB / 0.7912 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004123/0.6153, allocations: 340.7 kB / 0.7916 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.6154, allocations: 122.5 kB / 0.7917 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6154, allocations: 2.625 kB / 0.7917 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.6154, allocations: 3.125 kB / 0.7917 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.6155, allocations: 14.97 kB / 0.7917 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6155, allocations: 5.344 kB / 0.7917 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.6156, allocations: 18.27 kB / 0.7917 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.6157, allocations: 9.906 kB / 0.7917 GB, free: 46.66 MB / 0.6544 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 0.0001047/0.6158, allocations: 209.6 kB / 0.7919 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.6158, allocations: 12.8 kB / 0.7919 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.6158, allocations: 15.28 kB / 0.792 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6159, allocations: 2.578 kB / 0.792 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6159, allocations: 0 / 0.792 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.6159, allocations: 88.33 kB / 0.792 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.6159, allocations: 7.609 kB / 0.7921 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.616, allocations: 13.48 kB / 0.7921 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.6161, allocations: 13.47 kB / 0.7921 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004588/0.6165, allocations: 493.1 kB / 0.7926 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004293/0.617, allocations: 482.8 kB / 0.793 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001389/0.6171, allocations: 96.62 kB / 0.7931 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.541e-05/0.6172, allocations: 130.2 kB / 0.7932 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of Backend: time 3.31e-07/0.6172, allocations: 1.781 kB / 0.7932 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006337/0.6178, allocations: 413.2 kB / 0.7936 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of SimCode: time 0.00045/0.6183, allocations: 0.7865 MB / 0.7944 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.004468/0.6228, allocations: 2.193 MB / 0.7965 GB, free: 44.51 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (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)