Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.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.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 103.2 kB / 16.36 MB, free: 6.348 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.001502/0.001502, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.597/1.597, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.904/1.904, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001722/0.001722, allocations: 67.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3389, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.006116/0.3451, allocations: 1.679 MB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.493/0.8381, allocations: 1.434 MB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.8384, allocations: 1.438 kB / 0.7878 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.8388, allocations: 38.86 kB / 0.7879 GB, free: 46.54 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.8392, allocations: 59.36 kB / 0.7879 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.8395, allocations: 90.39 kB / 0.788 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.8397, allocations: 130.2 kB / 0.7881 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/0.8398, allocations: 6.375 kB / 0.7881 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.8399, allocations: 49.44 kB / 0.7882 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.8402, allocations: 58.2 kB / 0.7882 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.8402, allocations: 5.25 kB / 0.7882 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.8403, allocations: 61.09 kB / 0.7883 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.8404, allocations: 25.73 kB / 0.7883 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.8405, allocations: 41.22 kB / 0.7884 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.8407, allocations: 156.1 kB / 0.7885 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8407, allocations: 0 / 0.7885 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8407, allocations: 2.906 kB / 0.7885 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8407, allocations: 0 / 0.7885 GB, free: 46.49 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005631/0.8413, allocations: 437.8 kB / 0.7889 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.8413, allocations: 10.5 kB / 0.7889 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.8414, allocations: 14 kB / 0.789 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.8417, allocations: 213.8 kB / 0.7892 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.8417, allocations: 9.625 kB / 0.7892 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.8417, allocations: 3.188 kB / 0.7892 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.8419, allocations: 104.1 kB / 0.7893 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.842, allocations: 0 / 0.7893 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.842, allocations: 2.625 kB / 0.7893 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.842, allocations: 0 / 0.7893 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.8422, allocations: 51.7 kB / 0.7893 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.8424, allocations: 215.8 kB / 0.7895 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.8426, allocations: 110.4 kB / 0.7896 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.8427, allocations: 46.95 kB / 0.7897 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.8427, allocations: 7.719 kB / 0.7897 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.8429, allocations: 110.1 kB / 0.7898 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.843, allocations: 0.8438 kB / 0.7898 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004589/0.8434, allocations: 167.5 kB / 0.79 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.8435, allocations: 132.9 kB / 0.7901 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.8436, allocations: 175.6 kB / 0.7903 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.8436, allocations: 29.2 kB / 0.7903 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.8437, allocations: 107.1 kB / 0.7904 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.8437, allocations: 24.88 kB / 0.7904 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.8438, allocations: 24.16 kB / 0.7904 GB, free: 45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.8438, allocations: 324.2 kB / 0.7907 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.532e-05/0.8439, allocations: 31.3 kB / 0.7908 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.874e-05/0.844, allocations: 68.48 kB / 0.7908 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.8442, allocations: 96.56 kB / 0.7909 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8442, allocations: 0 / 0.7909 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002593/0.8445, allocations: 145.6 kB / 0.7911 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8445, allocations: 5 kB / 0.7911 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.8445, allocations: 0.7812 kB / 0.7911 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8446, allocations: 3.312 kB / 0.7911 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.8447, allocations: 23.86 kB / 0.7911 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.8447, allocations: 0.8438 kB / 0.7911 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.397e-05/0.8448, allocations: 7.438 kB / 0.7911 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.8448, allocations: 9.438 kB / 0.7911 GB, free: 44.57 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.311e-05/0.8449, allocations: 121.7 kB / 0.7912 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.8449, allocations: 14.06 kB / 0.7912 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.845, allocations: 20.38 kB / 0.7913 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.845, allocations: 0.6562 kB / 0.7913 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.845, allocations: 2.812 kB / 0.7913 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.845, allocations: 6.562 kB / 0.7913 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.8452, allocations: 210.8 kB / 0.7915 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.8452, allocations: 3.938 kB / 0.7915 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.8452, allocations: 15.28 kB / 0.7915 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8452, allocations: 3 kB / 0.7915 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.8453, allocations: 6.938 kB / 0.7915 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8453, allocations: 2.562 kB / 0.7915 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8453, allocations: 3.562 kB / 0.7915 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.8456, allocations: 163.3 kB / 0.7917 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.8456, allocations: 91.48 kB / 0.7917 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.8456, allocations: 6.406 kB / 0.7918 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.8457, allocations: 8.484 kB / 0.7918 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.8458, allocations: 9.609 kB / 0.7918 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.8458, allocations: 5.25 kB / 0.7918 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.368e-05/0.8459, allocations: 137.7 kB / 0.7919 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8459, allocations: 0 / 0.7919 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000242/0.8461, allocations: 31.7 kB / 0.7919 GB, free: 43.98 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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: 0 * Record equations: 0 * When equations: 2 * 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.0009837/0.8471, allocations: 460.1 kB / 0.7924 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.8474, allocations: 86.53 kB / 0.7925 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8474, allocations: 0 / 0.7925 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.8476, allocations: 43.05 kB / 0.7925 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.8478, allocations: 34.55 kB / 0.7925 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.8483, allocations: 273.4 kB / 0.7928 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.8484, allocations: 0.7029 MB / 0.7935 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.8485, allocations: 22.56 kB / 0.7935 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.8485, allocations: 0 / 0.7935 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.003841/0.8524, allocations: 2.187 MB / 0.7956 GB, free: 42.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)