Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001428/0.001428, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001327/0.001327, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.3 MB / 0.5495 GB, free: 17.4 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.89 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3076, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.004187/0.3118, allocations: 1.678 MB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.3144, allocations: 1.43 MB / 0.7871 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.3146, allocations: 3.938 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.315, allocations: 39.77 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.3154, allocations: 67.67 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.3158, allocations: 91.67 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.3161, allocations: 123.6 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.819e-05/0.3161, allocations: 5.125 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.3163, allocations: 63.7 kB / 0.7874 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.3166, allocations: 51.77 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.3167, allocations: 8 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.3168, allocations: 59.97 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.3169, allocations: 23.92 kB / 0.7876 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.368e-05/0.317, allocations: 39.72 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.3174, allocations: 151.8 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3174, allocations: 0 / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of FrontEnd: time 4.319e-06/0.3174, allocations: 0 / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3174, allocations: 3.938 kB / 0.7878 GB, free: 8 kB / 0.6544 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.4915/0.8089, allocations: 435.5 kB / 0.7882 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.8089, allocations: 8.906 kB / 0.7882 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.809, allocations: 17.89 kB / 0.7882 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.8092, allocations: 219 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.8093, allocations: 3.812 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.8093, allocations: 3.844 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.8095, allocations: 98.97 kB / 0.7885 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.8095, allocations: 0 / 0.7885 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.8095, allocations: 10.25 kB / 0.7885 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8096, allocations: 1 kB / 0.7885 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.8097, allocations: 49.22 kB / 0.7886 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.8099, allocations: 206.4 kB / 0.7888 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.8102, allocations: 113.7 kB / 0.7889 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.8103, allocations: 50.3 kB / 0.7889 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.8103, allocations: 3.062 kB / 0.7889 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.8106, allocations: 113 kB / 0.789 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.8106, allocations: 3.375 kB / 0.789 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004606/0.8111, allocations: 168.3 kB / 0.7892 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.8111, allocations: 132.5 kB / 0.7893 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.8113, allocations: 173.4 kB / 0.7895 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.8113, allocations: 29.39 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.8114, allocations: 103.9 kB / 0.7896 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.8114, allocations: 28.23 kB / 0.7896 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.8115, allocations: 30.59 kB / 0.7897 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.946e-05/0.8115, allocations: 322.1 kB / 0.79 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.8116, allocations: 32.7 kB / 0.79 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/0.8117, allocations: 64.11 kB / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.8119, allocations: 95.75 kB / 0.7902 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8119, allocations: 1.062 kB / 0.7902 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002662/0.8122, allocations: 134.2 kB / 0.7903 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.8123, allocations: 9.188 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8123, allocations: 3.719 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.8123, allocations: 1.969 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.8124, allocations: 26.19 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8124, allocations: 2.281 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.8125, allocations: 9.906 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.8125, allocations: 8.297 kB / 0.7904 GB, free: 47.3 MB / 0.6544 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 8.855e-05/0.8126, allocations: 125.3 kB / 0.7905 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.8127, allocations: 13.09 kB / 0.7905 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.8127, allocations: 21.45 kB / 0.7905 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8127, allocations: 0 / 0.7905 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8127, allocations: 3.562 kB / 0.7905 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.8127, allocations: 1.312 kB / 0.7905 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.8129, allocations: 210.6 kB / 0.7907 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8129, allocations: 0.9062 kB / 0.7907 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.631e-05/0.813, allocations: 13.64 kB / 0.7907 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.813, allocations: 7.062 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.813, allocations: 1.125 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.813, allocations: 2.625 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.813, allocations: 0 / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.8133, allocations: 175.3 kB / 0.7909 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.8133, allocations: 92.05 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.8134, allocations: 6.562 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.8135, allocations: 12.05 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.8135, allocations: 11.95 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.8135, allocations: 9.703 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.615e-05/0.8136, allocations: 133.2 kB / 0.7912 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8136, allocations: 0 / 0.7912 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002484/0.8139, allocations: 33.97 kB / 0.7912 GB, free: 46.71 MB / 0.6544 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.001024/0.8149, allocations: 444.7 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.8152, allocations: 89.48 kB / 0.7917 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8152, allocations: 2.719 kB / 0.7917 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.8154, allocations: 48.28 kB / 0.7917 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.8157, allocations: 29.5 kB / 0.7918 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.8161, allocations: 283.1 kB / 0.792 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.8163, allocations: 0.7054 MB / 0.7927 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.8164, allocations: 21.08 kB / 0.7928 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.8164, allocations: 0 / 0.7928 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.003879/0.8203, allocations: 2.188 MB / 0.7949 GB, free: 45.56 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)