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.387/1.387, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 187.7 kB / 316.3 MB, free: 3.223 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.792/1.792, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.001019/0.001019, allocations: 89.86 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.083e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2128, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7401/0.953, allocations: 135.8 MB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.9532, allocations: 84.25 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.9644, allocations: 4.402 MB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9644, allocations: 0 / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.9644, allocations: 8 kB / 1.022 GB, free: 14.2 MB / 0.6511 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.0004917/0.9649, allocations: 414.4 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.965, allocations: 8.031 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.965, allocations: 15.81 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.9654, allocations: 222.9 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.9654, allocations: 7.922 kB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.9654, allocations: 4 kB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.9655, allocations: 35.36 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.9657, allocations: 84.66 kB / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.9657, allocations: 0 / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.9657, allocations: 0 / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.9657, allocations: 0 / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.9659, allocations: 198.6 kB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.9661, allocations: 102.4 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.9662, allocations: 45.95 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.9662, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.9663, allocations: 101.2 kB / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.9663, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0002628/0.9666, allocations: 105 kB / 1.024 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.9667, allocations: 132.5 kB / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.9669, allocations: 173.2 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.9669, allocations: 25.7 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.9669, allocations: 99.27 kB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.967, allocations: 27.58 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.967, allocations: 0 / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9671, allocations: 326.6 kB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.9672, allocations: 27.62 kB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.9672, allocations: 55.78 kB / 1.024 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.9673, allocations: 27.75 kB / 1.024 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9673, allocations: 0 / 1.024 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001724/0.9675, allocations: 112.6 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9675, allocations: 10.19 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.9675, allocations: 0 / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.9675, allocations: 4 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.9677, allocations: 19.98 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.9677, allocations: 0 / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.9678, allocations: 16.11 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.9678, allocations: 11.88 kB / 1.025 GB, free: 11.74 MB / 0.6511 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 () * 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 8.034e-05/0.9679, allocations: 115.4 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001725/0.968, allocations: 111.9 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.9681, allocations: 11.91 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.9683, allocations: 114.8 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.9683, allocations: 192 / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9683, allocations: 4 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9683, allocations: 3.938 kB / 1.025 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.9685, allocations: 189.5 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9685, allocations: 4.062 kB / 1.025 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.9686, allocations: 23.92 kB / 1.025 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9686, allocations: 0 / 1.025 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.9686, allocations: 4 kB / 1.025 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9686, allocations: 0 / 1.025 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9686, allocations: 0 / 1.025 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.9688, allocations: 181 kB / 1.025 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.9689, allocations: 96.72 kB / 1.025 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.969, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.969, allocations: 11.98 kB / 1.025 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.9691, allocations: 7.984 kB / 1.025 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.9691, allocations: 7.688 kB / 1.025 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.292e-05/0.9692, allocations: 138.6 kB / 1.026 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9692, allocations: 0 / 1.026 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000246/0.9695, allocations: 39.92 kB / 1.026 GB, free: 10.68 MB / 0.6511 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) * 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.001169/0.9706, allocations: 1.137 MB / 1.027 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.9708, allocations: 62.92 kB / 1.027 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9708, allocations: 0 / 1.027 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.9709, allocations: 31.88 kB / 1.027 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.9711, allocations: 36.48 kB / 1.027 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.9716, allocations: 211.6 kB / 1.027 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.9719, allocations: 0.7119 MB / 1.028 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.057e-05/0.972, allocations: 21 kB / 1.028 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.9721, allocations: 42.41 kB / 1.028 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of SimCode: time 2.9e-07/0.9721, allocations: 0 / 1.028 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.9933, allocations: 3.035 MB / 1.031 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.9935, allocations: 177.5 kB / 1.031 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.44/2.434, allocations: 0 / 1.031 GB, free: 5.309 MB / 0.6511 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)