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.001032/0.001032, allocations: 108 kB / 15.6 MB, free: 132 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.001172/0.001171, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 205.1 MB / 222.4 MB, free: 4.535 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.654/1.654, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.0015/0.0015, allocations: 69.94 kB / 0.6716 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1956, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002906/0.1986, allocations: 1.675 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2004, allocations: 1.438 MB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.2005, allocations: 0 / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.2007, allocations: 35.77 kB / 0.7865 GB, free: 10.23 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.0002248/0.201, allocations: 63.62 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.2012, allocations: 83.75 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.2014, allocations: 135.5 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.2014, allocations: 9.125 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.2016, allocations: 63.77 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.2017, allocations: 47.77 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2018, allocations: 8 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2019, allocations: 67.91 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.202, allocations: 23.91 kB / 0.787 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.202, allocations: 43.73 kB / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.2022, allocations: 139.8 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2023, allocations: 0 / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2023, allocations: 4 kB / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2023, allocations: 0 / 0.7872 GB, free: 9.551 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.0006261/0.2029, allocations: 438.9 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.203, allocations: 8.031 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.203, allocations: 34.75 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.2031, allocations: 16.75 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2033, allocations: 227.9 kB / 0.7879 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.2033, allocations: 4.312 kB / 0.7879 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.2033, allocations: 11.94 kB / 0.7879 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.2036, allocations: 105 kB / 0.788 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2036, allocations: 3.938 kB / 0.788 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2036, allocations: 0 / 0.788 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2036, allocations: 4 kB / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.2038, allocations: 51.95 kB / 0.7881 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.204, allocations: 203.5 kB / 0.7883 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.2043, allocations: 119.7 kB / 0.7884 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.2044, allocations: 50.56 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.2044, allocations: 11.97 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.2047, allocations: 105.9 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2047, allocations: 0 / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000476/0.2052, allocations: 165.3 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.2053, allocations: 132.5 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2054, allocations: 174.6 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2055, allocations: 29.7 kB / 0.789 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.2055, allocations: 104.1 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.2056, allocations: 23.66 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.2056, allocations: 25.7 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.2057, allocations: 322.8 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.2058, allocations: 27.98 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2059, allocations: 76.2 kB / 0.7896 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.2062, allocations: 95.58 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2062, allocations: 7.938 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002941/0.2065, allocations: 129.5 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2065, allocations: 8 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2065, allocations: 0 / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2065, allocations: 0 / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2066, allocations: 19.98 kB / 0.7898 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2067, allocations: 4 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.527e-05/0.2067, allocations: 11.98 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2068, allocations: 12 kB / 0.7899 GB, free: 6.512 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 8.976e-05/0.2069, allocations: 129.7 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.2069, allocations: 11.91 kB / 0.79 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.2069, allocations: 17.41 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.207, allocations: 3.938 kB / 0.79 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.207, allocations: 4 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.207, allocations: 0 / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.2071, allocations: 209.4 kB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2072, allocations: 0 / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.2072, allocations: 19.98 kB / 0.7902 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2072, allocations: 0 / 0.7902 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2073, allocations: 3.984 kB / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2073, allocations: 4 kB / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2073, allocations: 0 / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.2076, allocations: 166.6 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.2076, allocations: 96.86 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.2077, allocations: 0 / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.2078, allocations: 11.98 kB / 0.7905 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.2078, allocations: 8 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.2078, allocations: 7.984 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001062/0.208, allocations: 136.2 kB / 0.7906 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.208, allocations: 4 kB / 0.7906 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000243/0.2082, allocations: 27.98 kB / 0.7907 GB, free: 5.562 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.001469/0.2097, allocations: 1.045 MB / 0.7917 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.21, allocations: 87.89 kB / 0.7918 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.21, allocations: 0 / 0.7918 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2102, allocations: 52.09 kB / 0.7918 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.2104, allocations: 35.83 kB / 0.7919 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.2124, allocations: 1.694 MB / 0.7935 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.2126, allocations: 0.7002 MB / 0.7942 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.953e-05/0.2127, allocations: 24.53 kB / 0.7942 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.2128, allocations: 35.42 kB / 0.7943 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.2128, allocations: 0 / 0.7943 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.2334, allocations: 3.75 MB / 0.7979 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.257/7.491, allocations: 14.66 kB / 0.7979 GB, free: 14.23 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)