Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7779/0.7779, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 180.4 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009049/0.0009049, allocations: 98.61 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001896/0.001896, allocations: 279.2 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.817e-05/4.832e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5062/0.5063, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.6449, allocations: 112.8 MB / 0.8746 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.6452, allocations: 87.94 kB / 0.8746 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0139/0.6592, allocations: 4.675 MB / 0.8792 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6592, allocations: 0 / 0.8792 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.904e-05/0.6592, allocations: 8 kB / 0.8792 GB, free: 6.965 MB / 0.5417 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.0006107/0.6599, allocations: 422.1 kB / 0.8796 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.6599, allocations: 8.031 kB / 0.8796 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.66, allocations: 34.56 kB / 0.8797 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.66, allocations: 11.81 kB / 0.8797 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.6604, allocations: 227.2 kB / 0.8799 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.6605, allocations: 8 kB / 0.8799 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.6605, allocations: 0 / 0.8799 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.6607, allocations: 85.11 kB / 0.88 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.6607, allocations: 0 / 0.88 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.6607, allocations: 3.984 kB / 0.88 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.6607, allocations: 8 kB / 0.88 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.6608, allocations: 35.92 kB / 0.88 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.6611, allocations: 223.3 kB / 0.8802 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.6613, allocations: 103.9 kB / 0.8803 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.269e-05/0.6614, allocations: 42.62 kB / 0.8804 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.6614, allocations: 3.938 kB / 0.8804 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.6616, allocations: 102 kB / 0.8805 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.6617, allocations: 4 kB / 0.8805 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.000303/0.662, allocations: 109.5 kB / 0.8806 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.6621, allocations: 136.5 kB / 0.8807 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.6623, allocations: 166.5 kB / 0.8809 GB, free: 5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.6623, allocations: 25.7 kB / 0.8809 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.6624, allocations: 108.1 kB / 0.881 GB, free: 4.859 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.6624, allocations: 27.64 kB / 0.881 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.6624, allocations: 0 / 0.881 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6626, allocations: 330.9 kB / 0.8813 GB, free: 4.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/0.6626, allocations: 20 kB / 0.8814 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.6627, allocations: 52.28 kB / 0.8814 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.372e-05/0.6628, allocations: 35.88 kB / 0.8814 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6628, allocations: 4.031 kB / 0.8814 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001964/0.663, allocations: 117.4 kB / 0.8816 GB, free: 4.254 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.663, allocations: 9.406 kB / 0.8816 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.663, allocations: 0 / 0.8816 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.6631, allocations: 7.984 kB / 0.8816 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.6632, allocations: 24.11 kB / 0.8816 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6632, allocations: 0 / 0.8816 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.543e-05/0.6633, allocations: 16.08 kB / 0.8816 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.6633, allocations: 8 kB / 0.8816 GB, free: 4.191 MB / 0.5417 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.0001024/0.6634, allocations: 118.7 kB / 0.8817 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.6635, allocations: 19.81 kB / 0.8818 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.6637, allocations: 116.3 kB / 0.8819 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6637, allocations: 0 / 0.8819 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6637, allocations: 0 / 0.8819 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6637, allocations: 4 kB / 0.8819 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.664, allocations: 209.6 kB / 0.8821 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.664, allocations: 3.953 kB / 0.8821 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.6641, allocations: 23.92 kB / 0.8821 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6641, allocations: 4 kB / 0.8821 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.6641, allocations: 0 / 0.8821 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6641, allocations: 0 / 0.8821 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6641, allocations: 4 kB / 0.8821 GB, free: 3.641 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.6644, allocations: 190.9 kB / 0.8823 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.6645, allocations: 96.91 kB / 0.8824 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.6645, allocations: 4 kB / 0.8824 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.6646, allocations: 11.98 kB / 0.8824 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.6647, allocations: 8 kB / 0.8824 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.6647, allocations: 11.98 kB / 0.8824 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001265/0.6648, allocations: 132.3 kB / 0.8825 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6648, allocations: 0 / 0.8825 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002711/0.6651, allocations: 51.86 kB / 0.8826 GB, free: 3.09 MB / 0.5417 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.001761/0.6669, allocations: 1.162 MB / 0.8837 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.6671, allocations: 67.92 kB / 0.8838 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6671, allocations: 0 / 0.8838 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.6672, allocations: 43.94 kB / 0.8838 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.6675, allocations: 28.94 kB / 0.8839 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.6681, allocations: 217.1 kB / 0.8841 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.6685, allocations: 0.7163 MB / 0.8848 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.828e-05/0.6685, allocations: 18.59 kB / 0.8848 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.6687, allocations: 47.41 kB / 0.8848 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of SimCode: time 5.61e-07/0.6687, allocations: 3.938 kB / 0.8848 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.7046, allocations: 3.409 MB / 0.8882 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.7048, allocations: 197.3 kB / 0.8883 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.554, allocations: 0 / 0.8883 GB, free: 13.37 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)