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.9164/0.9164, allocations: 143.3 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 169 kB / 191.5 MB, free: 5.766 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.502/1.502, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.0009742/0.0009744, allocations: 88.33 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 273.1 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.00045, allocations: 15.94 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1896, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6604/0.8501, allocations: 112.9 MB / 0.884 GB, free: 32.98 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.8505, allocations: 84.41 kB / 0.8841 GB, free: 32.98 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.8651, allocations: 4.864 MB / 0.8889 GB, free: 32.48 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.527e-06/0.8651, allocations: 4.656 kB / 0.8889 GB, free: 32.48 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.8652, allocations: 11.22 kB / 0.8889 GB, free: 32.47 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.0006956/0.8659, allocations: 443.8 kB / 0.8893 GB, free: 32.06 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.8659, allocations: 9.625 kB / 0.8893 GB, free: 32.06 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.866, allocations: 40.56 kB / 0.8894 GB, free: 32.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.866, allocations: 13.95 kB / 0.8894 GB, free: 32.01 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.8663, allocations: 225.7 kB / 0.8896 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.8664, allocations: 0 / 0.8896 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.8664, allocations: 4.078 kB / 0.8896 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.8666, allocations: 103.9 kB / 0.8897 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.8667, allocations: 4 kB / 0.8897 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.8667, allocations: 7.062 kB / 0.8897 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.8667, allocations: 0 / 0.8897 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.8669, allocations: 58.56 kB / 0.8898 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.8672, allocations: 220 kB / 0.89 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.8675, allocations: 121.7 kB / 0.8901 GB, free: 31.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.8675, allocations: 5.984 kB / 0.8901 GB, free: 31.44 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.8678, allocations: 117.3 kB / 0.8902 GB, free: 31.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.8678, allocations: 0 / 0.8902 GB, free: 31.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0005573/0.8683, allocations: 190.4 kB / 0.8904 GB, free: 31.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.8684, allocations: 135 kB / 0.8905 GB, free: 31.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.8686, allocations: 165.7 kB / 0.8907 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.8687, allocations: 30.86 kB / 0.8907 GB, free: 31.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.8687, allocations: 107.8 kB / 0.8908 GB, free: 30.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.8688, allocations: 26.56 kB / 0.8908 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.8688, allocations: 3.812 kB / 0.8908 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.8689, allocations: 321.7 kB / 0.8911 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.869, allocations: 37.12 kB / 0.8912 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.8691, allocations: 73.92 kB / 0.8912 GB, free: 30.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.8693, allocations: 42.05 kB / 0.8913 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.8693, allocations: 6.672 kB / 0.8913 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002939/0.8696, allocations: 140.7 kB / 0.8914 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.8696, allocations: 6.625 kB / 0.8914 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8696, allocations: 0 / 0.8914 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.8696, allocations: 7.031 kB / 0.8914 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.8698, allocations: 26.7 kB / 0.8915 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.8698, allocations: 3.938 kB / 0.8915 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.551e-05/0.8699, allocations: 18.34 kB / 0.8915 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.8699, allocations: 5.25 kB / 0.8915 GB, free: 30.5 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 () * 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.0001103/0.8701, allocations: 124.8 kB / 0.8916 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.8701, allocations: 15.66 kB / 0.8916 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.8704, allocations: 125.6 kB / 0.8917 GB, free: 30.33 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8704, allocations: 0.5625 kB / 0.8917 GB, free: 30.33 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.8704, allocations: 6.906 kB / 0.8917 GB, free: 30.33 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.8704, allocations: 0.6094 kB / 0.8917 GB, free: 30.33 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.8706, allocations: 215.7 kB / 0.892 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.8706, allocations: 3.406 kB / 0.892 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.8707, allocations: 21.56 kB / 0.892 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8707, allocations: 0 / 0.892 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.8708, allocations: 3.359 kB / 0.892 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.8708, allocations: 3.234 kB / 0.892 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8708, allocations: 4 kB / 0.892 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.8711, allocations: 210.8 kB / 0.8922 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.8712, allocations: 96.61 kB / 0.8923 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.8712, allocations: 3.844 kB / 0.8923 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.8713, allocations: 16.31 kB / 0.8923 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.8714, allocations: 8.922 kB / 0.8923 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.8714, allocations: 3.156 kB / 0.8923 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001246/0.8715, allocations: 143.4 kB / 0.8925 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8716, allocations: 3.938 kB / 0.8925 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002691/0.8718, allocations: 38.38 kB / 0.8925 GB, free: 29.8 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) * 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.001577/0.8734, allocations: 1.252 MB / 0.8937 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.8737, allocations: 95.88 kB / 0.8938 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8738, allocations: 0 / 0.8938 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.8739, allocations: 60.38 kB / 0.8939 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.8742, allocations: 28.02 kB / 0.8939 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.8756, allocations: 1.27 MB / 0.8951 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.8758, allocations: 0.7156 MB / 0.8958 GB, free: 27.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.151e-05/0.8759, allocations: 21.48 kB / 0.8958 GB, free: 27.26 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.876, allocations: 38.77 kB / 0.8959 GB, free: 27.25 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.876, allocations: 0 / 0.8959 GB, free: 27.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.8933, allocations: 3.408 MB / 0.8992 GB, free: 26.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.8935, allocations: 229.6 kB / 0.8994 GB, free: 26.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.704, allocations: 0 / 0.8994 GB, free: 26.66 MB / 0.5417 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)