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.439/1.439, allocations: 249.3 MB / 261.8 MB, free: 5.816 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.001129/0.001129, allocations: 172.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008258/0.0008259, allocations: 96.19 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.423e-05, allocations: 0 / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2595, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8914/1.151, allocations: 135.5 MB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.151, allocations: 79.83 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01361/1.165, allocations: 4.53 MB / 1.029 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/1.165, allocations: 0 / 1.029 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.562e-05/1.165, allocations: 4 kB / 1.029 GB, free: 11.7 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.0006604/1.166, allocations: 420.2 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.166, allocations: 8.031 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.535e-05/1.166, allocations: 38.48 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/1.166, allocations: 19.77 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/1.166, allocations: 217.6 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.166, allocations: 3.938 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/1.166, allocations: 8 kB / 1.029 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/1.167, allocations: 94.53 kB / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.167, allocations: 0 / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/1.167, allocations: 0 / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/1.167, allocations: 0 / 1.029 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/1.167, allocations: 33.55 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/1.167, allocations: 220.5 kB / 1.03 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/1.167, allocations: 111.7 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/1.167, allocations: 41.75 kB / 1.03 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/1.167, allocations: 8 kB / 1.03 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/1.168, allocations: 100.9 kB / 1.03 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/1.168, allocations: 0 / 1.03 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.000324/1.168, allocations: 111.6 kB / 1.03 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.168, allocations: 136.5 kB / 1.03 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/1.168, allocations: 171.8 kB / 1.03 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/1.168, allocations: 25.7 kB / 1.03 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/1.168, allocations: 102.8 kB / 1.03 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/1.168, allocations: 27.45 kB / 1.03 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/1.168, allocations: 2.875 kB / 1.03 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.169, allocations: 326.3 kB / 1.031 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/1.169, allocations: 25.94 kB / 1.031 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.484e-05/1.169, allocations: 59.41 kB / 1.031 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.497e-05/1.169, allocations: 30.42 kB / 1.031 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.169, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/1.169, allocations: 114.7 kB / 1.031 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.169, allocations: 8.031 kB / 1.031 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.169, allocations: 8 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.169, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/1.169, allocations: 19.98 kB / 1.031 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.169, allocations: 7.938 kB / 1.031 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/1.169, allocations: 11.98 kB / 1.031 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/1.169, allocations: 4 kB / 1.031 GB, free: 9.133 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 9.175e-05/1.169, allocations: 120.5 kB / 1.031 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/1.169, allocations: 11.81 kB / 1.031 GB, free: 9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/1.17, allocations: 117.1 kB / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.17, allocations: 4.188 kB / 1.031 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.17, allocations: 0 / 1.031 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.17, allocations: 7.922 kB / 1.031 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/1.17, allocations: 216 kB / 1.032 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.17, allocations: 0 / 1.032 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-05/1.17, allocations: 23.98 kB / 1.032 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.17, allocations: 0 / 1.032 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/1.17, allocations: 7.75 kB / 1.032 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.17, allocations: 3.984 kB / 1.032 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.17, allocations: 0 / 1.032 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/1.17, allocations: 183.7 kB / 1.032 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/1.17, allocations: 96.88 kB / 1.032 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/1.171, allocations: 0 / 1.032 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/1.171, allocations: 15.92 kB / 1.032 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/1.171, allocations: 11.97 kB / 1.032 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/1.171, allocations: 7.953 kB / 1.032 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000123/1.171, allocations: 136.2 kB / 1.032 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/1.171, allocations: 4 kB / 1.032 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002566/1.171, allocations: 47.77 kB / 1.032 GB, free: 8.117 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.001401/1.173, allocations: 1.156 MB / 1.033 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001872/1.173, allocations: 76.05 kB / 1.033 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.173, allocations: 0 / 1.033 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.84e-05/1.173, allocations: 39.98 kB / 1.033 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/1.173, allocations: 33.22 kB / 1.033 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006547/1.174, allocations: 226.5 kB / 1.034 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/1.174, allocations: 0.7082 MB / 1.034 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.581e-05/1.174, allocations: 24.86 kB / 1.034 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.661e-05/1.174, allocations: 48.72 kB / 1.034 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/1.174, allocations: 0 / 1.034 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/1.196, allocations: 3.385 MB / 1.038 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003681/1.196, allocations: 202.3 kB / 1.038 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.986, allocations: 4 kB / 1.038 GB, free: 2.391 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)