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.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001673/0.001673, allocations: 192.2 kB / 16.13 MB, free: 6.66 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.42/1.42, allocations: 205.1 MB / 222 MB, free: 4.742 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.752/1.752, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001389/0.001389, allocations: 76.38 kB / 0.6709 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2141, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002857/0.217, allocations: 1.745 MB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.2188, allocations: 1.402 MB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.2189, allocations: 0 / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.2192, allocations: 35.84 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.2194, allocations: 51.77 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.2196, allocations: 90.64 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.2198, allocations: 115.6 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.2198, allocations: 5.125 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.2199, allocations: 55.7 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.2201, allocations: 59.75 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2201, allocations: 0 / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.2203, allocations: 55.98 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.2203, allocations: 19.91 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.2204, allocations: 43.67 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.2206, allocations: 143.8 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2206, allocations: 7.984 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2206, allocations: 0 / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2206, allocations: 0 / 0.7865 GB, free: 10.09 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.000577/0.2212, allocations: 438.9 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2212, allocations: 11.97 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.2213, allocations: 38.75 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.2213, allocations: 12.75 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.2215, allocations: 220 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.2216, allocations: 8.312 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.2216, allocations: 3.938 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.2218, allocations: 97.09 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2218, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2218, allocations: 4 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2218, allocations: 3.984 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.222, allocations: 51.91 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.2222, allocations: 215.4 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.2225, allocations: 119.7 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.2226, allocations: 50.61 kB / 0.7877 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2226, allocations: 4 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.2229, allocations: 105.9 kB / 0.7878 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.2229, allocations: 4 kB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004528/0.2234, allocations: 169.4 kB / 0.788 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.2234, allocations: 136.4 kB / 0.7881 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.2236, allocations: 175.4 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2236, allocations: 25.7 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.2237, allocations: 108.1 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.2237, allocations: 27.89 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.2238, allocations: 25.72 kB / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2239, allocations: 322.8 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.224, allocations: 31.97 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.2241, allocations: 64.27 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.2243, allocations: 95.38 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2243, allocations: 3.938 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002823/0.2246, allocations: 133.5 kB / 0.7891 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2246, allocations: 4 kB / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.2246, allocations: 0 / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2247, allocations: 4 kB / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2248, allocations: 23.92 kB / 0.7891 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2248, allocations: 0 / 0.7891 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.2249, allocations: 11.91 kB / 0.7891 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.2249, allocations: 8.172 kB / 0.7892 GB, free: 7.059 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.812e-05/0.225, allocations: 125.8 kB / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.225, allocations: 15.84 kB / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.2251, allocations: 25.33 kB / 0.7893 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2251, allocations: 4.312 kB / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2251, allocations: 0 / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2251, allocations: 0 / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.2253, allocations: 217.4 kB / 0.7895 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2253, allocations: 0 / 0.7895 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.2254, allocations: 15.98 kB / 0.7895 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2254, allocations: 0 / 0.7895 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2254, allocations: 4 kB / 0.7895 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2254, allocations: 4 kB / 0.7895 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2254, allocations: 0 / 0.7895 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.2257, allocations: 170.6 kB / 0.7897 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.2257, allocations: 92.86 kB / 0.7898 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.2258, allocations: 11.98 kB / 0.7898 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.2259, allocations: 4 kB / 0.7898 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.2259, allocations: 11.98 kB / 0.7898 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.2259, allocations: 4 kB / 0.7898 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001043/0.226, allocations: 135.2 kB / 0.79 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2261, allocations: 0 / 0.79 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002388/0.2263, allocations: 32 kB / 0.79 GB, free: 6.098 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.001404/0.2277, allocations: 1.043 MB / 0.791 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.228, allocations: 79.89 kB / 0.7911 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.228, allocations: 0 / 0.7911 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.2281, allocations: 47.95 kB / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2284, allocations: 24.3 kB / 0.7912 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.2303, allocations: 1.719 MB / 0.7928 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.2305, allocations: 0.7004 MB / 0.7935 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.979e-05/0.2306, allocations: 20.53 kB / 0.7935 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.2307, allocations: 39.41 kB / 0.7936 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.2307, allocations: 4 kB / 0.7936 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.2445, allocations: 3.533 MB / 0.797 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.2447, allocations: 237.7 kB / 0.7973 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/1.991, allocations: 7.938 kB / 0.7973 GB, free: 14.75 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)