Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.593/2.593, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001411/0.001411, allocations: 184.9 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.3 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 85.33 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.036e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.8217, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/1.067, allocations: 140.9 MB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.067, allocations: 80.48 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02504/1.092, allocations: 4.411 MB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.684e-06/1.092, allocations: 0 / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.534e-05/1.092, allocations: 0.7188 kB / 1.105 GB, free: 11.14 MB / 0.7136 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.0007059/1.093, allocations: 428.4 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.093, allocations: 16.64 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/1.093, allocations: 7.906 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/1.093, allocations: 227.7 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/1.094, allocations: 4.625 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/1.094, allocations: 0.5312 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001571/1.094, allocations: 31.98 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/1.094, allocations: 90.19 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.094, allocations: 0.6562 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/1.094, allocations: 4.688 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/1.094, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/1.094, allocations: 196.8 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/1.095, allocations: 98.59 kB / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/1.095, allocations: 38.58 kB / 1.106 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/1.095, allocations: 11.55 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/1.095, allocations: 93.95 kB / 1.107 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/1.095, allocations: 0 / 1.107 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003787/1.095, allocations: 109.5 kB / 1.107 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/1.095, allocations: 133.7 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/1.096, allocations: 158.2 kB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/1.096, allocations: 28.02 kB / 1.107 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/1.096, allocations: 108.1 kB / 1.107 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/1.096, allocations: 19.75 kB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/1.096, allocations: 0 / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.096, allocations: 322.8 kB / 1.107 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/1.096, allocations: 35.98 kB / 1.107 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/1.096, allocations: 48.3 kB / 1.108 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/1.096, allocations: 31.94 kB / 1.108 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.096, allocations: 0 / 1.108 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002905/1.097, allocations: 113.4 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.097, allocations: 8 kB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.097, allocations: 0 / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.097, allocations: 0 / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/1.097, allocations: 27.92 kB / 1.108 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.097, allocations: 0 / 1.108 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/1.097, allocations: 11.98 kB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/1.097, allocations: 4 kB / 1.108 GB, free: 8.52 MB / 0.7136 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 0.0001108/1.097, allocations: 116.8 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000294/1.098, allocations: 116.7 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/1.098, allocations: 17.22 kB / 1.108 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/1.098, allocations: 115.4 kB / 1.108 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.098, allocations: 3.984 kB / 1.108 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.098, allocations: 0 / 1.108 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/1.098, allocations: 4 kB / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/1.098, allocations: 186.2 kB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/1.098, allocations: 7.984 kB / 1.108 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/1.099, allocations: 16 kB / 1.108 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.099, allocations: 0 / 1.108 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/1.099, allocations: 7.984 kB / 1.108 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.099, allocations: 4 kB / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.099, allocations: 0 / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/1.099, allocations: 175.7 kB / 1.108 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/1.099, allocations: 97 kB / 1.109 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/1.099, allocations: 0 / 1.109 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/1.099, allocations: 11.98 kB / 1.109 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/1.099, allocations: 7.984 kB / 1.109 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/1.099, allocations: 12 kB / 1.109 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001865/1.1, allocations: 136.7 kB / 1.109 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.1, allocations: 4 kB / 1.109 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000397/1.1, allocations: 39.88 kB / 1.109 GB, free: 7.355 MB / 0.7136 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.001752/1.102, allocations: 1.127 MB / 1.11 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002762/1.102, allocations: 65.61 kB / 1.11 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.102, allocations: 0 / 1.11 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/1.102, allocations: 39.92 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/1.103, allocations: 25.5 kB / 1.11 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/1.104, allocations: 225.9 kB / 1.11 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/1.104, allocations: 0.7085 MB / 1.111 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001482/1.104, allocations: 17.42 kB / 1.111 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/1.104, allocations: 47.41 kB / 1.111 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/1.104, allocations: 3.938 kB / 1.111 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/1.143, allocations: 3.028 MB / 1.114 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000396/1.144, allocations: 162.8 kB / 1.114 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.594, allocations: 0 / 1.114 GB, free: 2.051 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)