Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.001565/0.001565, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001929/0.001929, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.996/2.996, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 60.17 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3354, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002919/0.3383, allocations: 1.737 MB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3403, allocations: 1.475 MB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.3404, allocations: 7.938 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.3407, allocations: 31.91 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.3409, allocations: 55.75 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.3412, allocations: 99.27 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.3414, allocations: 123.6 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.3415, allocations: 13.09 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3416, allocations: 59.66 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.3418, allocations: 47.81 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.3418, allocations: 7.938 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.342, allocations: 59.97 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.342, allocations: 15.92 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.3421, allocations: 43.67 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3423, allocations: 147.8 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3423, allocations: 4 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.31e-07/0.3423, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.3423, allocations: 0 / 1.071 GB, free: 6.926 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.0006135/0.343, allocations: 434.9 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.343, allocations: 12.03 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.3431, allocations: 8.844 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.3433, allocations: 216 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3433, allocations: 8.312 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.3433, allocations: 16.11 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3436, allocations: 97.02 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3436, allocations: 4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3436, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3436, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.3438, allocations: 55.89 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.344, allocations: 211.4 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.3443, allocations: 111.8 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3444, allocations: 58.55 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3445, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.3447, allocations: 117.9 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.3448, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004917/0.3452, allocations: 157.4 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.3453, allocations: 128.5 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.3455, allocations: 184 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3455, allocations: 33.95 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.3456, allocations: 104.1 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.3456, allocations: 23.7 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.3457, allocations: 29.66 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3458, allocations: 322.8 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3459, allocations: 32.22 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.346, allocations: 64.28 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.3463, allocations: 95.33 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3463, allocations: 0 / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003121/0.3466, allocations: 133.5 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3466, allocations: 4 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3466, allocations: 3.984 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3466, allocations: 4 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.3468, allocations: 27.92 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3468, allocations: 0 / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.3469, allocations: 15.84 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3469, allocations: 8.094 kB / 1.074 GB, free: 3.941 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.0001115/0.347, allocations: 129.8 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.3471, allocations: 7.906 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.3471, allocations: 17.39 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3471, allocations: 4.188 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3471, allocations: 0 / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3471, allocations: 3.938 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3473, allocations: 209.4 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3473, allocations: 4 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.3474, allocations: 19.92 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3474, allocations: 0 / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3475, allocations: 8 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3475, allocations: 0 / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3475, allocations: 0 / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.3478, allocations: 170.7 kB / 1.074 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.3479, allocations: 84.92 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.3479, allocations: 4 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.348, allocations: 15.97 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.3481, allocations: 11.92 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3481, allocations: 7.938 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001132/0.3482, allocations: 135.2 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3482, allocations: 0 / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002554/0.3485, allocations: 32 kB / 1.075 GB, free: 2.988 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.001014/0.3495, allocations: 449.6 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.3498, allocations: 83.89 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3498, allocations: 0 / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3499, allocations: 39.92 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.3502, allocations: 34.91 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.3508, allocations: 262.8 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.351, allocations: 0.7122 MB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.707e-05/0.3511, allocations: 24.84 kB / 1.076 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.3512, allocations: 23.36 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3512, allocations: 3.938 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of Templates: time 0.004909/0.3561, allocations: 1.918 MB / 1.078 GB, free: 15.58 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)