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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 188 kB / 16.62 MB, free: 6.582 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.352/1.352, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.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.728/1.728, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001565/0.001565, allocations: 69.94 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1999, allocations: 114.6 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003246/0.2032, allocations: 1.671 MB / 0.7853 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.2053, allocations: 1.435 MB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2055, allocations: 7.938 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.2058, allocations: 39.77 kB / 0.7867 GB, free: 10.11 MB / 0.6075 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.0002784/0.2061, allocations: 55.64 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.2064, allocations: 90.98 kB / 0.7869 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.2066, allocations: 123.6 kB / 0.787 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.2066, allocations: 9.109 kB / 0.787 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2068, allocations: 67.69 kB / 0.7871 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.2069, allocations: 55.77 kB / 0.7871 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.207, allocations: 4 kB / 0.7871 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.2071, allocations: 59.98 kB / 0.7872 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.2072, allocations: 27.89 kB / 0.7872 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.2072, allocations: 43.69 kB / 0.7872 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.2075, allocations: 147.8 kB / 0.7874 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2075, allocations: 0 / 0.7874 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2075, allocations: 0 / 0.7874 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.2075, allocations: 0 / 0.7874 GB, free: 9.438 MB / 0.6075 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.0005987/0.2081, allocations: 442.9 kB / 0.7878 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2082, allocations: 8.031 kB / 0.7878 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.2082, allocations: 38.75 kB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.2083, allocations: 12.75 kB / 0.7879 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.2086, allocations: 231.9 kB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2086, allocations: 384 / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.2086, allocations: 7.938 kB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.2088, allocations: 101.1 kB / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.2089, allocations: 0 / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2089, allocations: 0 / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2089, allocations: 0 / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.2091, allocations: 55.89 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.2093, allocations: 211.5 kB / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.2095, allocations: 115.7 kB / 0.7885 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.2097, allocations: 46.62 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.2097, allocations: 4 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.2099, allocations: 109.9 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.2099, allocations: 0 / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004729/0.2104, allocations: 173.3 kB / 0.7889 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.2105, allocations: 132.5 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.2106, allocations: 174.4 kB / 0.7892 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2107, allocations: 29.7 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.2107, allocations: 100.1 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.2108, allocations: 27.64 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.2108, allocations: 29.95 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2109, allocations: 326.8 kB / 0.7896 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/0.211, allocations: 23.98 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.2112, allocations: 64.27 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.2114, allocations: 99.62 kB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2114, allocations: 3.938 kB / 0.7898 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002864/0.2117, allocations: 129.5 kB / 0.79 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2117, allocations: 12.03 kB / 0.79 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2117, allocations: 4 kB / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2117, allocations: 0 / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2119, allocations: 19.98 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2119, allocations: 0 / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.212, allocations: 19.89 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.212, allocations: 4 kB / 0.79 GB, free: 6.406 MB / 0.6075 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.0001101/0.2121, allocations: 125.7 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.2121, allocations: 15.89 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.2122, allocations: 17.41 kB / 0.7902 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.2122, allocations: 11.92 kB / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2122, allocations: 0 / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2122, allocations: 0 / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.2124, allocations: 209.4 kB / 0.7904 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2124, allocations: 0 / 0.7904 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.2125, allocations: 15.98 kB / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2125, allocations: 0 / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2125, allocations: 4 kB / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2125, allocations: 0 / 0.7904 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2125, allocations: 7.984 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.2128, allocations: 166.6 kB / 0.7906 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.2129, allocations: 92.84 kB / 0.7906 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.2129, allocations: 4.062 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.213, allocations: 16.17 kB / 0.7907 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.2131, allocations: 8 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2131, allocations: 11.92 kB / 0.7907 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001116/0.2132, allocations: 136.2 kB / 0.7908 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2132, allocations: 4 kB / 0.7908 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002429/0.2135, allocations: 27.98 kB / 0.7908 GB, free: 5.445 MB / 0.6075 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.001366/0.2148, allocations: 1.046 MB / 0.7919 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.2151, allocations: 83.89 kB / 0.792 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2151, allocations: 0 / 0.792 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.2153, allocations: 43.91 kB / 0.792 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.2155, allocations: 26.83 kB / 0.792 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.2174, allocations: 1.701 MB / 0.7937 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.2176, allocations: 0.7041 MB / 0.7944 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.285e-05/0.2177, allocations: 28.47 kB / 0.7944 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.2178, allocations: 43.41 kB / 0.7944 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2178, allocations: 0 / 0.7944 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.2374, allocations: 3.763 MB / 0.7981 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.157, allocations: 7.312 kB / 0.7981 GB, free: 14.1 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)