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.441/1.441, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001225/0.001225, allocations: 183.5 kB / 326.5 MB, free: 2.285 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.958/1.958, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0007986/0.0007986, allocations: 95.98 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003244, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2498, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.4358, allocations: 135.5 MB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.4362, allocations: 83.95 kB / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01289/0.4491, allocations: 4.728 MB / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4491, allocations: 0 / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.4492, allocations: 4 kB / 1.037 GB, free: 3.352 MB / 0.6823 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.0007226/0.4499, allocations: 442.9 kB / 1.038 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.45, allocations: 12.03 kB / 1.038 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.45, allocations: 34.56 kB / 1.038 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.4501, allocations: 19.77 kB / 1.038 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.4505, allocations: 222.8 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4505, allocations: 4 kB / 1.038 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.4505, allocations: 0 / 1.038 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.4508, allocations: 105.1 kB / 1.038 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.4508, allocations: 4 kB / 1.038 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.4508, allocations: 8 kB / 1.038 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4509, allocations: 0 / 1.038 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.4511, allocations: 59.89 kB / 1.038 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.4514, allocations: 223.3 kB / 1.038 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.4517, allocations: 119.9 kB / 1.038 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.4517, allocations: 4 kB / 1.038 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.452, allocations: 117.9 kB / 1.039 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.4521, allocations: 0 / 1.039 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0005178/0.4526, allocations: 181.5 kB / 1.039 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.4527, allocations: 140.4 kB / 1.039 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.4529, allocations: 170.3 kB / 1.039 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.4529, allocations: 29.7 kB / 1.039 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.453, allocations: 104.1 kB / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.4531, allocations: 23.66 kB / 1.039 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.4531, allocations: 0 / 1.039 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4532, allocations: 330.8 kB / 1.039 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.4533, allocations: 35.97 kB / 1.039 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.4535, allocations: 72.27 kB / 1.04 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.4536, allocations: 44.23 kB / 1.04 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.4536, allocations: 7.969 kB / 1.04 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003401/0.454, allocations: 145.3 kB / 1.04 GB, free: 452 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.454, allocations: 9.875 kB / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.454, allocations: 0 / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4541, allocations: 0 / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4542, allocations: 28.08 kB / 1.04 GB, free: 416 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4542, allocations: 3.984 kB / 1.04 GB, free: 412 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.4544, allocations: 12 kB / 1.04 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.4544, allocations: 4 kB / 1.04 GB, free: 396 kB / 0.6823 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 0.0001496/0.4545, allocations: 131.1 kB / 1.04 GB, free: 256 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.4546, allocations: 19.8 kB / 1.04 GB, free: 236 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.4549, allocations: 127 kB / 1.04 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4549, allocations: 0 / 1.04 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.455, allocations: 0 / 1.04 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.455, allocations: 7.984 kB / 1.04 GB, free: 92 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.4552, allocations: 209.5 kB / 1.04 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4553, allocations: 0 / 1.04 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.4554, allocations: 23.92 kB / 1.04 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4554, allocations: 0 / 1.04 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.4554, allocations: 4 kB / 1.04 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.4554, allocations: 7.984 kB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4554, allocations: 4 kB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.4559, allocations: 214.1 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.456, allocations: 100.9 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.456, allocations: 0 / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4562, allocations: 15.98 kB / 1.041 GB, free: 15.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.4562, allocations: 4 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.4562, allocations: 7.984 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001577/0.4564, allocations: 143.2 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/0.4564, allocations: 0 / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003426/0.4568, allocations: 39.92 kB / 1.041 GB, free: 15.23 MB / 0.698 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001982/0.4588, allocations: 1.218 MB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.4591, allocations: 95.89 kB / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4591, allocations: 0 / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.4593, allocations: 56.09 kB / 1.042 GB, free: 13.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.4595, allocations: 36.03 kB / 1.042 GB, free: 13.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.4614, allocations: 1.288 MB / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.4618, allocations: 0.716 MB / 1.044 GB, free: 11.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.4619, allocations: 24.62 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.418e-05/0.462, allocations: 35.42 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.462, allocations: 0 / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.4825, allocations: 3.404 MB / 1.048 GB, free: 8.496 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/0.4829, allocations: 225.3 kB / 1.048 GB, free: 8.254 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.16, allocations: 0 / 1.048 GB, free: 8.254 MB / 0.698 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)