Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001711/0.001711, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001377/0.001377, allocations: 196.3 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.98 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3485, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003308/0.3519, allocations: 1.739 MB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3539, allocations: 1.479 MB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.354, allocations: 3.938 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.3543, allocations: 35.89 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.3545, allocations: 55.75 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.3548, allocations: 95.77 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.355, allocations: 123.6 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.667e-05/0.355, allocations: 13.09 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3552, allocations: 55.7 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.3554, allocations: 53.62 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.3554, allocations: 4 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.3555, allocations: 51.98 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.3556, allocations: 23.91 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.3556, allocations: 43.67 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3559, allocations: 147.8 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3559, allocations: 4 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3559, allocations: 0 / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3559, allocations: 0 / 1.071 GB, free: 7.02 MB / 0.8262 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.000627/0.3566, allocations: 438.9 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3566, allocations: 12.03 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.3567, allocations: 12.78 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.3569, allocations: 216 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3569, allocations: 4.375 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.357, allocations: 8.125 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.3572, allocations: 101 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3572, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3572, allocations: 4 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3572, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.3574, allocations: 55.89 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.3577, allocations: 207.4 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.3579, allocations: 115.8 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3581, allocations: 54.55 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3581, allocations: 7.984 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.3584, allocations: 113.9 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.3584, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004795/0.3589, allocations: 161.4 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.359, allocations: 128.5 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3592, allocations: 180.1 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3592, allocations: 33.95 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.3592, allocations: 104.1 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.3593, allocations: 19.66 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.3593, allocations: 29.7 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3595, allocations: 318.8 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3596, allocations: 31.98 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3597, allocations: 68.27 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.36, allocations: 99.58 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.36, allocations: 0 / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002884/0.3603, allocations: 133.5 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3604, allocations: 4 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3604, allocations: 3.938 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3604, allocations: 4 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3605, allocations: 23.92 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3605, allocations: 3.984 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.3606, allocations: 15.84 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.3606, allocations: 4.094 kB / 1.074 GB, free: 4.039 MB / 0.8262 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 0.0001046/0.3608, allocations: 129.8 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3608, allocations: 12.09 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.3608, allocations: 13.41 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3608, allocations: 11.92 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3609, allocations: 0 / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3609, allocations: 0 / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.361, allocations: 213.4 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3611, allocations: 0 / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.736e-05/0.3611, allocations: 23.92 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3611, allocations: 0 / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3612, allocations: 4 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3612, allocations: 0 / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3612, allocations: 0 / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3615, allocations: 166.6 kB / 1.074 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.3616, allocations: 88.92 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.3616, allocations: 8 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.3617, allocations: 7.984 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.3617, allocations: 15.97 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3618, allocations: 12 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001156/0.3619, allocations: 131.2 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3619, allocations: 0 / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002477/0.3621, allocations: 36 kB / 1.075 GB, free: 3.078 MB / 0.8262 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.001007/0.3632, allocations: 437.8 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.3635, allocations: 87.88 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3635, allocations: 4 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3636, allocations: 43.92 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.3639, allocations: 33.03 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.3644, allocations: 258.9 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.3647, allocations: 0.7082 MB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.681e-05/0.3648, allocations: 28.78 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.3648, allocations: 23.38 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3648, allocations: 0 / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of Templates: time 0.004804/0.3696, allocations: 1.913 MB / 1.078 GB, free: 15.68 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_1.6_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_1.6_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_1.6_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)