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.001383/0.001383, 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.001692/0.001692, allocations: 190 kB / 16.62 MB, free: 6.613 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.368/1.368, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.639/1.639, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001357/0.001357, allocations: 71.59 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1941, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002822/0.1969, allocations: 1.675 MB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1988, allocations: 1.431 MB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.1989, allocations: 7.938 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.1992, allocations: 35.77 kB / 0.7867 GB, free: 10.09 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.0002534/0.1995, allocations: 63.61 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1998, allocations: 86.77 kB / 0.7869 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.2, allocations: 127.6 kB / 0.787 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.2, allocations: 9.125 kB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2002, allocations: 63.7 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.2004, allocations: 54.17 kB / 0.7871 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.2004, allocations: 8 kB / 0.7871 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.2006, allocations: 63.97 kB / 0.7872 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.484e-05/0.2006, allocations: 19.92 kB / 0.7872 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.2007, allocations: 51.66 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.201, allocations: 143.8 kB / 0.7874 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.201, allocations: 0 / 0.7874 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.201, allocations: 0 / 0.7874 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.201, allocations: 0 / 0.7874 GB, free: 9.414 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.0006027/0.2016, allocations: 438.9 kB / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2017, allocations: 8.031 kB / 0.7878 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.2017, allocations: 46.73 kB / 0.7878 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.2017, allocations: 12.75 kB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.202, allocations: 227.9 kB / 0.7881 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2021, allocations: 8.359 kB / 0.7881 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.2021, allocations: 7.922 kB / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.2023, allocations: 97.09 kB / 0.7882 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2023, allocations: 3.938 kB / 0.7882 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2023, allocations: 4 kB / 0.7882 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2023, allocations: 0 / 0.7882 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.2025, allocations: 51.89 kB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.2027, allocations: 211.5 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.203, allocations: 115.7 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2031, allocations: 54.61 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2031, allocations: 0 / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.2034, allocations: 113.9 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2034, allocations: 0 / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005008/0.2039, allocations: 165.4 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.204, allocations: 136.4 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.2041, allocations: 170.4 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2042, allocations: 29.7 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.2042, allocations: 104.1 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.2043, allocations: 27.89 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.2043, allocations: 25.72 kB / 0.7893 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2044, allocations: 322.8 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.2045, allocations: 31.97 kB / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2046, allocations: 64.27 kB / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.2049, allocations: 95.38 kB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2049, allocations: 3.938 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002847/0.2052, allocations: 133.5 kB / 0.79 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2052, allocations: 7.984 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2052, allocations: 0 / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2052, allocations: 4 kB / 0.79 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.2053, allocations: 20.3 kB / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2054, allocations: 0 / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.2054, allocations: 15.91 kB / 0.79 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2055, allocations: 4 kB / 0.79 GB, free: 6.379 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 9.347e-05/0.2056, allocations: 133.8 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.2056, allocations: 11.91 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.2057, allocations: 29.31 kB / 0.7902 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2057, allocations: 4 kB / 0.7902 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2057, allocations: 0 / 0.7902 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2057, allocations: 0 / 0.7902 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.2058, allocations: 205.6 kB / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2059, allocations: 0 / 0.7904 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.2059, allocations: 19.92 kB / 0.7904 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2059, allocations: 0 / 0.7904 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.206, allocations: 4 kB / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.206, allocations: 4 kB / 0.7904 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.206, allocations: 0 / 0.7904 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.2063, allocations: 170.6 kB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.2063, allocations: 92.86 kB / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.2064, allocations: 8 kB / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.2065, allocations: 7.984 kB / 0.7907 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.2065, allocations: 11.98 kB / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.2065, allocations: 4 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001048/0.2066, allocations: 140.2 kB / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2066, allocations: 0 / 0.7908 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002631/0.2069, allocations: 28 kB / 0.7908 GB, free: 5.418 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.0014/0.2083, allocations: 1.049 MB / 0.7919 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.2086, allocations: 79.89 kB / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2086, allocations: 0 / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2088, allocations: 47.91 kB / 0.792 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2091, allocations: 27.11 kB / 0.792 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.2111, allocations: 1.701 MB / 0.7937 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2113, allocations: 0.7041 MB / 0.7944 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.184e-05/0.2114, allocations: 28.47 kB / 0.7944 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.2115, allocations: 47.34 kB / 0.7944 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2115, allocations: 0 / 0.7944 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.2314, allocations: 3.764 MB / 0.7981 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.826, allocations: 6.594 kB / 0.7981 GB, free: 14.06 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)