Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.64/1.64, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 193.2 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 0.5777 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000733/0.000733, allocations: 89.8 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003646, allocations: 14.94 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2131, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001861/0.2151, allocations: 1.371 MB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.2166, allocations: 1.348 MB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.2167, allocations: 0 / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.2169, allocations: 31.84 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2171, allocations: 55.77 kB / 0.903 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.2173, allocations: 75.83 kB / 0.9031 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.2175, allocations: 103.6 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.2176, allocations: 17.11 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.2177, allocations: 47.78 kB / 0.9033 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2178, allocations: 51.75 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.2179, allocations: 4 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.705e-05/0.218, allocations: 51.98 kB / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.218, allocations: 19.91 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.218, allocations: 41.64 kB / 0.9034 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.2182, allocations: 104 kB / 0.9035 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2182, allocations: 0 / 0.9035 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2182, allocations: 7.938 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2182, allocations: 0 / 0.9036 GB, free: 60.98 MB / 0.6042 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.0005458/0.2188, allocations: 426.9 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2188, allocations: 8.031 kB / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.2189, allocations: 34.55 kB / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.2189, allocations: 27.7 kB / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.2191, allocations: 206.9 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2192, allocations: 8 kB / 0.9042 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.2192, allocations: 3.984 kB / 0.9042 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.2194, allocations: 105 kB / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2194, allocations: 0 / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2194, allocations: 3.984 kB / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2194, allocations: 8 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.2196, allocations: 63.84 kB / 0.9044 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.2198, allocations: 211.4 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.2201, allocations: 115.8 kB / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.2202, allocations: 58.61 kB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2203, allocations: 0 / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.2205, allocations: 117.9 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2205, allocations: 4 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004627/0.221, allocations: 169.4 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.2211, allocations: 132.8 kB / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2212, allocations: 182.8 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.2212, allocations: 25.7 kB / 0.9054 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.2213, allocations: 104.1 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.2213, allocations: 27.64 kB / 0.9055 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.2213, allocations: 0 / 0.9055 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.2214, allocations: 326.8 kB / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.2215, allocations: 35.92 kB / 0.9058 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2216, allocations: 72.27 kB / 0.9059 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.2217, allocations: 36.02 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2218, allocations: 4 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002659/0.222, allocations: 145.3 kB / 0.9061 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2221, allocations: 8.094 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2221, allocations: 4 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2221, allocations: 0 / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2222, allocations: 19.98 kB / 0.9061 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2222, allocations: 4 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.2223, allocations: 19.88 kB / 0.9061 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.2223, allocations: 4 kB / 0.9062 GB, free: 58 MB / 0.6042 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 9.444e-05/0.2224, allocations: 131.3 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.2225, allocations: 15.75 kB / 0.9063 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.2225, allocations: 21.39 kB / 0.9063 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2225, allocations: 320 / 0.9063 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2225, allocations: 0 / 0.9063 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2225, allocations: 0 / 0.9063 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.2227, allocations: 209.5 kB / 0.9065 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2227, allocations: 4 kB / 0.9065 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.2228, allocations: 15.98 kB / 0.9065 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2228, allocations: 0 / 0.9065 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2228, allocations: 12.19 kB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2228, allocations: 0 / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2228, allocations: 3.938 kB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.2231, allocations: 174.6 kB / 0.9067 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.2231, allocations: 96.91 kB / 0.9068 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2232, allocations: 4 kB / 0.9068 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.2233, allocations: 7.984 kB / 0.9068 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.2233, allocations: 11.98 kB / 0.9068 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2233, allocations: 4 kB / 0.9068 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.266e-05/0.2234, allocations: 131.2 kB / 0.907 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2234, allocations: 0 / 0.907 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002196/0.2237, allocations: 31.98 kB / 0.907 GB, free: 57.04 MB / 0.6042 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.001282/0.2249, allocations: 1.065 MB / 0.908 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.2252, allocations: 87.89 kB / 0.9081 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2252, allocations: 0 / 0.9081 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.2254, allocations: 47.91 kB / 0.9082 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.2256, allocations: 40.27 kB / 0.9082 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.2268, allocations: 0.7937 MB / 0.909 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2269, allocations: 0.7043 MB / 0.9097 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.48e-05/0.227, allocations: 20.48 kB / 0.9097 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.2271, allocations: 43.41 kB / 0.9097 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2271, allocations: 0 / 0.9097 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.2407, allocations: 3.321 MB / 0.913 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/0.2409, allocations: 235.2 kB / 0.9132 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/1.958, allocations: 0 / 0.9132 GB, free: 50.84 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)