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.001513/0.001513, allocations: 107.6 kB / 16.36 MB, free: 6.012 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.001745/0.001745, allocations: 195.2 kB / 17.3 MB, free: 5.613 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.34/1.34, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.742/1.742, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001402/0.001402, allocations: 67.89 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2122, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003024/0.2153, allocations: 1.598 MB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2164, allocations: 0.6632 MB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.2165, allocations: 0 / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.2166, allocations: 23.8 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.2169, allocations: 51.75 kB / 0.7871 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.2173, allocations: 107.8 kB / 0.7872 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.2175, allocations: 195.6 kB / 0.7874 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2176, allocations: 25.11 kB / 0.7874 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2178, allocations: 83.75 kB / 0.7875 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.2179, allocations: 83.72 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.218, allocations: 16 kB / 0.7876 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.218, allocations: 31.98 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.23e-05/0.2181, allocations: 35.86 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.2182, allocations: 71.7 kB / 0.7877 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.2184, allocations: 167.5 kB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2184, allocations: 0 / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2184, allocations: 0 / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2185, allocations: 0 / 0.7878 GB, free: 40 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.379/0.5975, allocations: 0.5539 MB / 0.7884 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5975, allocations: 8.406 kB / 0.7884 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.537e-05/0.5976, allocations: 16.56 kB / 0.7884 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.5979, allocations: 237 kB / 0.7886 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.5979, allocations: 8.719 kB / 0.7886 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.5979, allocations: 14.5 kB / 0.7887 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.5982, allocations: 114.1 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.5982, allocations: 3.938 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.5982, allocations: 6.844 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5982, allocations: 0 / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.5984, allocations: 70.8 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000577/0.599, allocations: 417.6 kB / 0.7892 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.5992, allocations: 86.42 kB / 0.7893 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.5993, allocations: 76.36 kB / 0.7894 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.5994, allocations: 6.359 kB / 0.7894 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.5996, allocations: 183 kB / 0.7896 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.344e-06/0.5996, allocations: 0 / 0.7896 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006264/0.6002, allocations: 351.4 kB / 0.7899 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.6003, allocations: 168.5 kB / 0.7901 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.6004, allocations: 178 kB / 0.7902 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.6005, allocations: 29.2 kB / 0.7903 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.6005, allocations: 110.9 kB / 0.7904 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.6006, allocations: 27.78 kB / 0.7904 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.6006, allocations: 40.72 kB / 0.7904 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.024e-05/0.6007, allocations: 329.4 kB / 0.7908 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.6008, allocations: 56.56 kB / 0.7908 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.601, allocations: 100.3 kB / 0.7909 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.6012, allocations: 311.4 kB / 0.7912 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6012, allocations: 3.156 kB / 0.7912 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004398/0.6017, allocations: 344.1 kB / 0.7915 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.6017, allocations: 122.8 kB / 0.7917 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6018, allocations: 2.625 kB / 0.7917 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.6018, allocations: 2.688 kB / 0.7917 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.6019, allocations: 18.11 kB / 0.7917 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.6019, allocations: 7.172 kB / 0.7917 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-05/0.602, allocations: 18.84 kB / 0.7917 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.602, allocations: 11.05 kB / 0.7917 GB, free: 46.57 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.0001139/0.6022, allocations: 202.5 kB / 0.7919 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.6022, allocations: 14.34 kB / 0.7919 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.6022, allocations: 17.94 kB / 0.7919 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6022, allocations: 3.5 kB / 0.7919 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6023, allocations: 0 / 0.7919 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6023, allocations: 1.797 kB / 0.7919 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/0.6028, allocations: 0.5822 MB / 0.7925 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6029, allocations: 2.938 kB / 0.7925 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.6029, allocations: 17.02 kB / 0.7925 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.6029, allocations: 1.703 kB / 0.7925 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.603, allocations: 14.38 kB / 0.7925 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.603, allocations: 0 / 0.7925 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.603, allocations: 0 / 0.7925 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.6034, allocations: 398.9 kB / 0.7929 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.6035, allocations: 89.61 kB / 0.793 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.6035, allocations: 17.88 kB / 0.793 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.6037, allocations: 7.031 kB / 0.793 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.6037, allocations: 9.875 kB / 0.793 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.6037, allocations: 20.84 kB / 0.7931 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.541e-05/0.6038, allocations: 131.7 kB / 0.7932 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6038, allocations: 0 / 0.7932 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002948/0.6041, allocations: 35.34 kB / 0.7932 GB, free: 45.64 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002103/0.6043, allocations: 125.4 kB / 0.7933 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004087/0.6048, allocations: 360.1 kB / 0.7937 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6048, allocations: 0 / 0.7937 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.605, allocations: 211.2 kB / 0.7939 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.6053, allocations: 25.28 kB / 0.7939 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.6058, allocations: 287.5 kB / 0.7942 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.606, allocations: 0.7114 MB / 0.7949 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.158e-05/0.606, allocations: 20.91 kB / 0.7949 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.6061, allocations: 10.78 kB / 0.7949 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.6061, allocations: 0 / 0.7949 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.004701/0.6108, allocations: 2.076 MB / 0.7969 GB, free: 44.16 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)