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.607/1.607, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.001132/0.001132, allocations: 180.5 kB / 372 MB, free: 10.25 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.495/1.495, allocations: 205.4 MB / 0.6307 GB, free: 9.945 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.0008202/0.0008202, allocations: 87.53 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 14.94 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2074, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001617/0.2091, allocations: 1.375 MB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2105, allocations: 1.34 MB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.2106, allocations: 0 / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.2108, allocations: 31.84 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.211, allocations: 55.75 kB / 0.9824 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.2112, allocations: 81.45 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.2113, allocations: 103.6 kB / 0.9825 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.2114, allocations: 5.125 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.2115, allocations: 63.7 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.2116, allocations: 39.78 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2117, allocations: 4 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.2118, allocations: 55.95 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.2118, allocations: 19.92 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.2119, allocations: 41.64 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.212, allocations: 112 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.212, allocations: 0 / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.342e-06/0.212, allocations: 4 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.212, allocations: 0 / 0.9829 GB, free: 24.21 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.0005008/0.2125, allocations: 426.8 kB / 0.9833 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2126, allocations: 16.02 kB / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.2126, allocations: 38.56 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.2127, allocations: 15.86 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.2129, allocations: 218.6 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2129, allocations: 0 / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2129, allocations: 8 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.2131, allocations: 101.1 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2131, allocations: 0 / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2131, allocations: 0 / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2132, allocations: 0 / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.2133, allocations: 63.89 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.2135, allocations: 211.4 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.2138, allocations: 123.7 kB / 0.984 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.2139, allocations: 46.62 kB / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.214, allocations: 19.91 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.2142, allocations: 105.9 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2142, allocations: 0 / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004608/0.2147, allocations: 181.4 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.2148, allocations: 136.5 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.2149, allocations: 179.1 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2149, allocations: 29.7 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.215, allocations: 104.1 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.215, allocations: 23.66 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.215, allocations: 0 / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.2151, allocations: 326.8 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2152, allocations: 35.97 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.2153, allocations: 72.27 kB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.2154, allocations: 40.02 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2155, allocations: 0 / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002626/0.2157, allocations: 137.4 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2157, allocations: 4 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2158, allocations: 192 / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2158, allocations: 8.094 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2159, allocations: 23.92 kB / 0.9855 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2159, allocations: 0 / 0.9855 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.216, allocations: 23.89 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.216, allocations: 0 / 0.9855 GB, free: 21.23 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.821e-05/0.2161, allocations: 133.7 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.2161, allocations: 11.91 kB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.2162, allocations: 17.72 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2162, allocations: 4 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2162, allocations: 3.984 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2162, allocations: 4 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2163, allocations: 205.5 kB / 0.9858 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2163, allocations: 0 / 0.9858 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.2164, allocations: 12 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2164, allocations: 7.984 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2164, allocations: 0 / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2165, allocations: 4 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2165, allocations: 4 kB / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.2167, allocations: 186.4 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.2168, allocations: 88.95 kB / 0.9861 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.2168, allocations: 7.984 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.2169, allocations: 8 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.217, allocations: 7.984 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.217, allocations: 4 kB / 0.9862 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.299e-05/0.2171, allocations: 140.2 kB / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2171, allocations: 0 / 0.9863 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002306/0.2173, allocations: 39.91 kB / 0.9863 GB, free: 20.27 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.001253/0.2186, allocations: 1.048 MB / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.2189, allocations: 91.89 kB / 0.9874 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2189, allocations: 3.938 kB / 0.9874 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.219, allocations: 47.91 kB / 0.9875 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.2193, allocations: 32.78 kB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.2204, allocations: 0.7939 MB / 0.9883 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.2206, allocations: 0.7082 MB / 0.989 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.88e-05/0.2206, allocations: 24.47 kB / 0.989 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.2207, allocations: 39.42 kB / 0.989 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.2207, allocations: 0 / 0.989 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.235, allocations: 3.32 MB / 0.9923 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.2352, allocations: 243.4 kB / 0.9925 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.857, allocations: 0 / 0.9925 GB, free: 14.07 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)