Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8086/0.8086, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 182.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.3 MB / 441.4 MB, free: 4.578 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009434/0.0009435, allocations: 95.06 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.001841, allocations: 273.4 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.515e-05, allocations: 8 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4236, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.5481, allocations: 112.9 MB / 0.8745 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.5484, allocations: 83.83 kB / 0.8745 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01271/0.5611, allocations: 4.662 MB / 0.8791 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5612, allocations: 0 / 0.8791 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.5612, allocations: 8 kB / 0.8791 GB, free: 6.945 MB / 0.5417 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.0005427/0.5617, allocations: 419.5 kB / 0.8795 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5618, allocations: 12.03 kB / 0.8795 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.5618, allocations: 11.81 kB / 0.8795 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.5622, allocations: 223.2 kB / 0.8797 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5622, allocations: 4 kB / 0.8797 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.5622, allocations: 8 kB / 0.8798 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.5624, allocations: 88.14 kB / 0.8798 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.5624, allocations: 0 / 0.8798 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.5625, allocations: 8 kB / 0.8798 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.5625, allocations: 3.938 kB / 0.8798 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-05/0.5626, allocations: 39.91 kB / 0.8799 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.5628, allocations: 219.3 kB / 0.8801 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.563, allocations: 103.8 kB / 0.8802 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.5631, allocations: 38.7 kB / 0.8802 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.5632, allocations: 7.984 kB / 0.8802 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.5634, allocations: 101.9 kB / 0.8803 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.5634, allocations: 0 / 0.8803 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0002669/0.5636, allocations: 117.5 kB / 0.8804 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.5637, allocations: 136.6 kB / 0.8806 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.5639, allocations: 166.5 kB / 0.8807 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.5639, allocations: 29.7 kB / 0.8808 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.564, allocations: 104.1 kB / 0.8809 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.564, allocations: 27.59 kB / 0.8809 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.5641, allocations: 0 / 0.8809 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.5642, allocations: 322.8 kB / 0.8812 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.5643, allocations: 23.98 kB / 0.8812 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.5643, allocations: 60.23 kB / 0.8813 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.708e-05/0.5644, allocations: 27.98 kB / 0.8813 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.5644, allocations: 3.953 kB / 0.8813 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.5646, allocations: 121.4 kB / 0.8814 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5646, allocations: 9.219 kB / 0.8814 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5646, allocations: 0 / 0.8814 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5647, allocations: 4 kB / 0.8814 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.5648, allocations: 23.97 kB / 0.8815 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5648, allocations: 0 / 0.8815 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.5649, allocations: 8 kB / 0.8815 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.5649, allocations: 4 kB / 0.8815 GB, free: 4.227 MB / 0.5417 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 () * 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 9.619e-05/0.565, allocations: 124.8 kB / 0.8816 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.5651, allocations: 19.77 kB / 0.8816 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.5653, allocations: 119.2 kB / 0.8817 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5653, allocations: 0 / 0.8817 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5653, allocations: 0 / 0.8817 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5653, allocations: 4 kB / 0.8817 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.5655, allocations: 205.6 kB / 0.8819 GB, free: 3.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5655, allocations: 4 kB / 0.8819 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.5656, allocations: 20.12 kB / 0.8819 GB, free: 3.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.5656, allocations: 11.94 kB / 0.882 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.5657, allocations: 7.938 kB / 0.882 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5657, allocations: 0 / 0.882 GB, free: 3.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5657, allocations: 4 kB / 0.882 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.5659, allocations: 186.8 kB / 0.8821 GB, free: 3.438 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.566, allocations: 88.92 kB / 0.8822 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.566, allocations: 16.11 kB / 0.8822 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.5661, allocations: 8 kB / 0.8823 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.5662, allocations: 7.984 kB / 0.8823 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.5662, allocations: 8 kB / 0.8823 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001308/0.5663, allocations: 132.2 kB / 0.8824 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5663, allocations: 4 kB / 0.8824 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002474/0.5666, allocations: 43.88 kB / 0.8824 GB, free: 3.117 MB / 0.5417 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) * 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.001032/0.5676, allocations: 414.1 kB / 0.8828 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.5678, allocations: 71.92 kB / 0.8829 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5678, allocations: 4 kB / 0.8829 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.5679, allocations: 35.94 kB / 0.8829 GB, free: 2.742 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.5682, allocations: 27.92 kB / 0.883 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.5686, allocations: 170 kB / 0.8831 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.5689, allocations: 0.7163 MB / 0.8838 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.169e-05/0.569, allocations: 19.61 kB / 0.8839 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.5691, allocations: 19.42 kB / 0.8839 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.5691, allocations: 0 / 0.8839 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of Templates: time 0.004739/0.5738, allocations: 1.965 MB / 0.8858 GB, free: 15.8 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)