Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.2 MB / 303.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 177.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009282/0.0009279, allocations: 94.84 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.000388, allocations: 11.03 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2117, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00169/0.2134, allocations: 1.356 MB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2149, allocations: 1.324 MB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.2149, allocations: 0 / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.2152, allocations: 35.83 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.2154, allocations: 55.8 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.2156, allocations: 79.77 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.2157, allocations: 79.83 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.2158, allocations: 13.12 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.2159, allocations: 47.77 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.216, allocations: 44.86 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.2161, allocations: 4 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.072e-05/0.2161, allocations: 43.86 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.2162, allocations: 15.97 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.2162, allocations: 45.64 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2164, allocations: 108 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2164, allocations: 0 / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2164, allocations: 7.938 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.2164, allocations: 0 / 0.9827 GB, free: 24.34 MB / 0.6198 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.0005179/0.2169, allocations: 422.8 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.217, allocations: 12.02 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.432e-05/0.217, allocations: 42.55 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.2171, allocations: 11.86 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.2173, allocations: 214.7 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2173, allocations: 4 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2173, allocations: 8 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.2175, allocations: 105 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2175, allocations: 0 / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2176, allocations: 4 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2176, allocations: 4 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.2177, allocations: 59.89 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.2179, allocations: 211.4 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.2181, allocations: 119.9 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.2182, allocations: 8 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.2184, allocations: 113.9 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2184, allocations: 0 / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004254/0.2189, allocations: 181.5 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.2189, allocations: 132.5 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.219, allocations: 170.9 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2191, allocations: 33.69 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.2191, allocations: 104.3 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.2191, allocations: 23.64 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-06/0.2192, allocations: 7.938 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.2192, allocations: 326.8 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.2193, allocations: 31.98 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.2194, allocations: 72.2 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.956e-05/0.2195, allocations: 43.98 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2195, allocations: 3.984 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002436/0.2198, allocations: 133.5 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2198, allocations: 8 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2198, allocations: 0 / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2198, allocations: 0 / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.22, allocations: 27.92 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.22, allocations: 4.094 kB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.2201, allocations: 19.89 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.2201, allocations: 4 kB / 0.9852 GB, free: 21.42 MB / 0.6198 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/0.2202, allocations: 122.3 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.2202, allocations: 15.89 kB / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.2202, allocations: 17.41 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2202, allocations: 0 / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2202, allocations: 8 kB / 0.9854 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2202, allocations: 0 / 0.9854 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.2204, allocations: 209.5 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2204, allocations: 320 / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.2204, allocations: 19.98 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2205, allocations: 4 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2205, allocations: 3.984 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2205, allocations: 0 / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2205, allocations: 4 kB / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.2208, allocations: 209.9 kB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.2208, allocations: 96.95 kB / 0.9859 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.2208, allocations: 0 / 0.9859 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.2209, allocations: 11.98 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.221, allocations: 15.94 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.221, allocations: 4 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.956e-05/0.2211, allocations: 136.2 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2211, allocations: 0 / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000225/0.2213, allocations: 35.91 kB / 0.9861 GB, free: 20.42 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.2225, allocations: 1.212 MB / 0.9873 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.2228, allocations: 95.89 kB / 0.9873 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2228, allocations: 0 / 0.9873 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.2229, allocations: 39.98 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.2231, allocations: 31.8 kB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.2243, allocations: 1.246 MB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.2244, allocations: 0.7082 MB / 0.9893 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.456e-05/0.2245, allocations: 28.47 kB / 0.9894 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.2245, allocations: 35.42 kB / 0.9894 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2246, allocations: 0 / 0.9894 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.2376, allocations: 3.299 MB / 0.9926 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001281/0.2377, allocations: 220 kB / 0.9928 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/1.828, allocations: 6.812 kB / 0.9928 GB, free: 13.64 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)