Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.7465/0.7465, allocations: 143.3 MB / 158.3 MB, free: 5.66 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.0009969/0.0009969, allocations: 181.1 kB / 191.5 MB, free: 5.664 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.342/1.342, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0008638/0.0008637, allocations: 96.27 kB / 0.5187 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001708/0.001708, allocations: 272.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 15.59 kB / 0.6929 GB, free: 59.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.2422, allocations: 108.5 MB / 0.8798 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.2425, allocations: 83.94 kB / 0.8798 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2491/0.4916, allocations: 1.718 MB / 0.8815 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.875e-06/0.4917, allocations: 0 / 0.8815 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.4917, allocations: 3.312 kB / 0.8815 GB, free: 108.9 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000247/0.492, allocations: 333.5 kB / 0.8818 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.492, allocations: 8.688 kB / 0.8819 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.4921, allocations: 110.5 kB / 0.882 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.4921, allocations: 76.84 kB / 0.882 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.948e-05/0.4922, allocations: 237 kB / 0.8823 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.4923, allocations: 164.9 kB / 0.8824 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.4923, allocations: 152 kB / 0.8826 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.993e-05/0.4923, allocations: 101.7 kB / 0.8827 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.4924, allocations: 79.78 kB / 0.8827 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.4924, allocations: 159.2 kB / 0.8829 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.4924, allocations: 152.9 kB / 0.883 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.4924, allocations: 152.8 kB / 0.8832 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.4926, allocations: 448 kB / 0.8836 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.4927, allocations: 172 kB / 0.8838 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.4927, allocations: 76.56 kB / 0.8838 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.4927, allocations: 114 kB / 0.884 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4928, allocations: 0.75 kB / 0.884 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 7.236e-05/0.4928, allocations: 36.31 kB / 0.884 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.4929, allocations: 126.7 kB / 0.8841 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.493, allocations: 93.75 kB / 0.8842 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.493, allocations: 26.83 kB / 0.8842 GB, free: 106 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.493, allocations: 87.97 kB / 0.8843 GB, free: 106 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.493, allocations: 4 kB / 0.8843 GB, free: 106 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-07/0.493, allocations: 0 / 0.8843 GB, free: 106 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.4931, allocations: 311.9 kB / 0.8846 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-06/0.4931, allocations: 0 / 0.8846 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.4931, allocations: 1.844 kB / 0.8846 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.079e-05/0.4931, allocations: 77.88 kB / 0.8847 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.4931, allocations: 79.22 kB / 0.8848 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.912e-05/0.4932, allocations: 32.2 kB / 0.8848 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4932, allocations: 91.61 kB / 0.8849 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4932, allocations: 79.22 kB / 0.885 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.4933, allocations: 154.1 kB / 0.8851 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.04e-05/0.4933, allocations: 81.81 kB / 0.8852 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.4933, allocations: 150.6 kB / 0.8853 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.4934, allocations: 81.95 kB / 0.8854 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4934, allocations: 87.64 kB / 0.8855 GB, free: 104.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 5.411e-05/0.4935, allocations: 259.5 kB / 0.8857 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.4935, allocations: 107.8 kB / 0.8858 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.4936, allocations: 112 kB / 0.8859 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.4936, allocations: 179.5 kB / 0.8861 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/0.4936, allocations: 183.1 kB / 0.8863 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.4936, allocations: 183.9 kB / 0.8865 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.4938, allocations: 399.1 kB / 0.8868 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.4938, allocations: 104.9 kB / 0.8869 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.4938, allocations: 104.4 kB / 0.887 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-05/0.4938, allocations: 179.3 kB / 0.8872 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.4939, allocations: 187.6 kB / 0.8874 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.233e-05/0.4939, allocations: 183 kB / 0.8876 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.081e-05/0.4939, allocations: 181.1 kB / 0.8877 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.378e-05/0.494, allocations: 303.7 kB / 0.888 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.494, allocations: 194 kB / 0.8882 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.4941, allocations: 185.8 kB / 0.8884 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.4941, allocations: 104.9 kB / 0.8885 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.4942, allocations: 180.2 kB / 0.8887 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.4942, allocations: 103.8 kB / 0.8888 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.855e-05/0.4942, allocations: 89.39 kB / 0.8888 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4942, allocations: 4 kB / 0.8889 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000291/0.4945, allocations: 6.781 kB / 0.8889 GB, free: 101.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002995/0.4948, allocations: 0.8036 MB / 0.8896 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 3.419e-05/0.4949, allocations: 6.75 kB / 0.8896 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4949, allocations: 3 kB / 0.8897 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.4949, allocations: 3.938 kB / 0.8897 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.4951, allocations: 0.5246 MB / 0.8902 GB, free: 99.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.4955, allocations: 0.5274 MB / 0.8907 GB, free: 99.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.509e-05/0.4957, allocations: 0.6752 MB / 0.8913 GB, free: 98.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.465e-05/0.4957, allocations: 0 / 0.8913 GB, free: 98.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.4957, allocations: 13.09 kB / 0.8914 GB, free: 98.6 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.4957, allocations: 0 / 0.8914 GB, free: 98.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.5074, allocations: 0.9833 MB / 0.8923 GB, free: 98.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/0.5075, allocations: 232.7 kB / 0.8925 GB, free: 98.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.426/1.933, allocations: 0 / 0.8925 GB, free: 98.25 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)