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.8871/0.8871, allocations: 141.8 MB / 149.3 MB, free: 9.191 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.001315/0.001315, allocations: 184.9 kB / 182.2 MB, free: 9.414 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.59/1.59, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.001231/0.001231, allocations: 92.11 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 282.2 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.007e-05, allocations: 0 / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.502, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.6556, allocations: 112.2 MB / 0.867 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.6559, allocations: 83.95 kB / 0.8671 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01395/0.6699, allocations: 4.553 MB / 0.8715 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.603e-06/0.67, allocations: 0 / 0.8715 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.67, allocations: 4 kB / 0.8715 GB, free: 10.96 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.0006452/0.6707, allocations: 426 kB / 0.8719 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6707, allocations: 12.03 kB / 0.8719 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.6708, allocations: 11.91 kB / 0.872 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.6711, allocations: 219.8 kB / 0.8722 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.6712, allocations: 4 kB / 0.8722 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.6712, allocations: 0 / 0.8722 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001181/0.6713, allocations: 35.98 kB / 0.8722 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.6715, allocations: 85.03 kB / 0.8723 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6715, allocations: 3.938 kB / 0.8723 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.6715, allocations: 4 kB / 0.8723 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6715, allocations: 4 kB / 0.8723 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.6718, allocations: 187.9 kB / 0.8725 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.6719, allocations: 103.7 kB / 0.8726 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.6721, allocations: 46.73 kB / 0.8726 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.6721, allocations: 4 kB / 0.8726 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.6723, allocations: 105.9 kB / 0.8727 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.6723, allocations: 0 / 0.8727 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0002689/0.6726, allocations: 105.5 kB / 0.8728 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.6727, allocations: 132.5 kB / 0.873 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.6728, allocations: 162 kB / 0.8731 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.6729, allocations: 25.7 kB / 0.8731 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.6729, allocations: 100.1 kB / 0.8732 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.673, allocations: 27.64 kB / 0.8733 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.673, allocations: 4 kB / 0.8733 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6731, allocations: 326.9 kB / 0.8736 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/0.6732, allocations: 16 kB / 0.8736 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.6733, allocations: 56.28 kB / 0.8736 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.335e-05/0.6733, allocations: 23.94 kB / 0.8737 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.6733, allocations: 4 kB / 0.8737 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.6735, allocations: 117.3 kB / 0.8738 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6735, allocations: 7.984 kB / 0.8738 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6736, allocations: 4 kB / 0.8738 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6736, allocations: 0 / 0.8738 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.6737, allocations: 19.98 kB / 0.8738 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.6737, allocations: 4 kB / 0.8738 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.6738, allocations: 8.094 kB / 0.8738 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.6738, allocations: 15.98 kB / 0.8738 GB, free: 8.309 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.0001029/0.6739, allocations: 108.9 kB / 0.8739 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001793/0.6741, allocations: 121.5 kB / 0.8741 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.6742, allocations: 7.906 kB / 0.8741 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.6744, allocations: 111.4 kB / 0.8742 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6744, allocations: 4 kB / 0.8742 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6744, allocations: 0 / 0.8742 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6744, allocations: 4.062 kB / 0.8742 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.6746, allocations: 190.1 kB / 0.8744 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6746, allocations: 192 / 0.8744 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.6747, allocations: 23.88 kB / 0.8744 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.6747, allocations: 7.938 kB / 0.8744 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.6748, allocations: 0 / 0.8744 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6748, allocations: 4 kB / 0.8744 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6748, allocations: 3.75 kB / 0.8744 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.675, allocations: 182 kB / 0.8746 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.6751, allocations: 85.02 kB / 0.8746 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.6751, allocations: 7.984 kB / 0.8747 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.6752, allocations: 12 kB / 0.8747 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.6753, allocations: 11.98 kB / 0.8747 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.6753, allocations: 4 kB / 0.8747 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001759/0.6755, allocations: 132.2 kB / 0.8748 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6755, allocations: 0 / 0.8748 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002562/0.6757, allocations: 39.88 kB / 0.8748 GB, free: 7.164 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.001557/0.6773, allocations: 1.133 MB / 0.876 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.6775, allocations: 67.92 kB / 0.876 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6775, allocations: 0 / 0.876 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.118e-05/0.6776, allocations: 31.98 kB / 0.876 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.6779, allocations: 28.8 kB / 0.8761 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.6785, allocations: 228.3 kB / 0.8763 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.6788, allocations: 0.708 MB / 0.877 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.176e-05/0.6788, allocations: 17 kB / 0.877 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.6789, allocations: 43.42 kB / 0.877 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.6789, allocations: 0 / 0.877 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.7037, allocations: 3.05 MB / 0.88 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.704, allocations: 182.5 kB / 0.8802 GB, free: 1.699 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.441, allocations: 0 / 0.8802 GB, free: 1.699 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)