Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.979/3.979, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.002567/0.002567, allocations: 178.3 kB / 326.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.049/4.049, allocations: 205.4 MB / 0.5772 GB, free: 21.12 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.001709/0.001709, allocations: 98.34 kB / 0.6817 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007414/0.0007417, allocations: 14.58 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3657, allocations: 106.3 MB / 0.8995 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/0.7077, allocations: 135.4 MB / 1.032 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004907/0.7083, allocations: 83.95 kB / 1.032 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03246/0.7408, allocations: 4.736 MB / 1.036 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.667e-06/0.7409, allocations: 0 / 1.036 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.916e-05/0.7409, allocations: 7.938 kB / 1.036 GB, free: 5.605 MB / 0.6823 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.001123/0.742, allocations: 446.9 kB / 1.037 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.7421, allocations: 19.97 kB / 1.037 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.7422, allocations: 12.75 kB / 1.037 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.7428, allocations: 216.2 kB / 1.037 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.7428, allocations: 384 / 1.037 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.7429, allocations: 4.375 kB / 1.037 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/0.7434, allocations: 105.6 kB / 1.037 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.7435, allocations: 192 / 1.037 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.7435, allocations: 7.922 kB / 1.037 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.7436, allocations: 7.984 kB / 1.037 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.7441, allocations: 63.89 kB / 1.037 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.7446, allocations: 223.3 kB / 1.037 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.7453, allocations: 123.8 kB / 1.038 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.7456, allocations: 54.62 kB / 1.038 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.7457, allocations: 3.938 kB / 1.038 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.7462, allocations: 117.9 kB / 1.038 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 4.118e-06/0.7462, allocations: 0 / 1.038 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001269/0.7475, allocations: 185.5 kB / 1.038 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.7477, allocations: 132.5 kB / 1.038 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.7481, allocations: 186.9 kB / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.7482, allocations: 25.7 kB / 1.038 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.7483, allocations: 108.1 kB / 1.038 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.993e-05/0.7484, allocations: 23.66 kB / 1.038 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.7484, allocations: 0 / 1.038 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.7486, allocations: 326.9 kB / 1.039 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.749, allocations: 39.97 kB / 1.039 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.7493, allocations: 68.27 kB / 1.039 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.7497, allocations: 44.89 kB / 1.039 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.7497, allocations: 0 / 1.039 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008404/0.7506, allocations: 149.4 kB / 1.039 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.7506, allocations: 11.94 kB / 1.039 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.7506, allocations: 0 / 1.039 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.7507, allocations: 0 / 1.039 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.751, allocations: 27.92 kB / 1.039 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.751, allocations: 3.938 kB / 1.039 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.7513, allocations: 12.08 kB / 1.039 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.7513, allocations: 8 kB / 1.039 GB, free: 2.594 MB / 0.6823 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002324/0.7516, allocations: 126.9 kB / 1.039 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.7517, allocations: 20.06 kB / 1.039 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005924/0.7523, allocations: 123 kB / 1.039 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.7523, allocations: 0 / 1.039 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.7524, allocations: 7.938 kB / 1.039 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.7524, allocations: 3.984 kB / 1.039 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.7528, allocations: 205.6 kB / 1.039 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7528, allocations: 4 kB / 1.039 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.753, allocations: 19.98 kB / 1.04 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.7531, allocations: 3.938 kB / 1.04 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.7531, allocations: 4 kB / 1.04 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.7531, allocations: 0 / 1.04 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7532, allocations: 0 / 1.04 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008717/0.7541, allocations: 194.5 kB / 1.04 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.7542, allocations: 93.22 kB / 1.04 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.7543, allocations: 7.938 kB / 1.04 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.7545, allocations: 16 kB / 1.04 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.7546, allocations: 11.92 kB / 1.04 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.7547, allocations: 7.984 kB / 1.04 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002855/0.755, allocations: 135.2 kB / 1.04 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.91e-07/0.755, allocations: 0 / 1.04 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006197/0.7556, allocations: 39.89 kB / 1.04 GB, free: 1.488 MB / 0.6823 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002119/0.7578, allocations: 466.8 kB / 1.04 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008087/0.7586, allocations: 95.86 kB / 1.041 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.7587, allocations: 192 / 1.041 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.759, allocations: 63.91 kB / 1.041 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.7597, allocations: 23.92 kB / 1.041 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.7608, allocations: 271 kB / 1.041 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.7613, allocations: 0.7043 MB / 1.042 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002597/0.7616, allocations: 25.02 kB / 1.042 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.7617, allocations: 23.44 kB / 1.042 GB, free: 15.93 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/0.7618, allocations: 3.938 kB / 1.042 GB, free: 15.93 MB / 0.698 GB Notification: Performance of Templates: time 0.0107/0.7725, allocations: 1.956 MB / 1.044 GB, free: 13.99 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)