Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.284/1.284, allocations: 252 MB / 267.9 MB, free: 10.92 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.001013/0.001013, allocations: 174.2 kB / 327.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 0.5785 GB, free: 20.25 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.0008367/0.0008367, allocations: 96.67 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 12.56 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.185, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.3472, allocations: 135.6 MB / 1.034 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.3475, allocations: 83.95 kB / 1.034 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0123/0.3598, allocations: 4.761 MB / 1.038 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3599, allocations: 0 / 1.038 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.3599, allocations: 8 kB / 1.038 GB, free: 3.113 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.0006661/0.3606, allocations: 454.8 kB / 1.039 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3606, allocations: 8.031 kB / 1.039 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.3607, allocations: 12.75 kB / 1.039 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.3611, allocations: 220 kB / 1.039 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3611, allocations: 4.375 kB / 1.039 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3611, allocations: 4.375 kB / 1.039 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.3614, allocations: 105.6 kB / 1.039 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3614, allocations: 4.188 kB / 1.039 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3614, allocations: 7.938 kB / 1.039 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3614, allocations: 0 / 1.039 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3616, allocations: 67.89 kB / 1.039 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.362, allocations: 215.3 kB / 1.039 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.3622, allocations: 123.8 kB / 1.04 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3624, allocations: 54.61 kB / 1.04 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3624, allocations: 0 / 1.04 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.3627, allocations: 122.9 kB / 1.04 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.3627, allocations: 0 / 1.04 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0005048/0.3632, allocations: 185.4 kB / 1.04 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.3633, allocations: 132.5 kB / 1.04 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3635, allocations: 182.9 kB / 1.04 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3635, allocations: 29.7 kB / 1.04 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.3636, allocations: 108.4 kB / 1.04 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.3636, allocations: 23.66 kB / 1.04 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.3637, allocations: 0 / 1.04 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3638, allocations: 326.8 kB / 1.041 GB, free: 496 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3639, allocations: 35.97 kB / 1.041 GB, free: 460 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.364, allocations: 76.2 kB / 1.041 GB, free: 368 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.3643, allocations: 111.4 kB / 1.041 GB, free: 244 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3643, allocations: 0 / 1.041 GB, free: 244 kB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002949/0.3646, allocations: 145.6 kB / 1.041 GB, free: 92 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3646, allocations: 8.031 kB / 1.041 GB, free: 84 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3646, allocations: 8.062 kB / 1.041 GB, free: 76 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3646, allocations: 4 kB / 1.041 GB, free: 72 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3648, allocations: 19.98 kB / 1.041 GB, free: 52 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3648, allocations: 4 kB / 1.041 GB, free: 48 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.084e-05/0.3649, allocations: 15.98 kB / 1.041 GB, free: 32 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3649, allocations: 192 / 1.041 GB, free: 32 kB / 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.0001293/0.365, allocations: 125.8 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3651, allocations: 23.69 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.3653, allocations: 123 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3653, allocations: 3.984 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3654, allocations: 4 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3654, allocations: 0 / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3656, allocations: 213.5 kB / 1.042 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3656, allocations: 0 / 1.042 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.3657, allocations: 19.98 kB / 1.042 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3657, allocations: 7.938 kB / 1.042 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3657, allocations: 0 / 1.042 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.3657, allocations: 7.938 kB / 1.042 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3657, allocations: 0 / 1.042 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.3661, allocations: 190.5 kB / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.3661, allocations: 92.91 kB / 1.042 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.3662, allocations: 11.94 kB / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.3663, allocations: 7.984 kB / 1.042 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.3663, allocations: 11.98 kB / 1.042 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.3663, allocations: 4 kB / 1.042 GB, free: 15.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001271/0.3665, allocations: 139.2 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3665, allocations: 0 / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002504/0.3667, allocations: 35.94 kB / 1.042 GB, free: 14.93 MB / 0.698 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.001065/0.3678, allocations: 456.7 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.3681, allocations: 99.83 kB / 1.043 GB, free: 14.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3682, allocations: 3.938 kB / 1.043 GB, free: 14.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3683, allocations: 60.2 kB / 1.043 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3686, allocations: 38.95 kB / 1.043 GB, free: 14.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.3692, allocations: 270.9 kB / 1.043 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.3695, allocations: 0.7043 MB / 1.044 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.963e-05/0.3696, allocations: 24.98 kB / 1.044 GB, free: 13.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.3696, allocations: 23.42 kB / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.3696, allocations: 0 / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of Templates: time 0.00497/0.3746, allocations: 1.968 MB / 1.046 GB, free: 11.41 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)