Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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 1.081/1.081, allocations: 143.3 MB / 158.3 MB, free: 5.766 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.001109/0.001109, allocations: 183.1 kB / 191.5 MB, free: 5.742 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.327/1.327, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.0008831/0.0008831, allocations: 92.31 kB / 0.5187 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 271.3 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 16.75 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 82.79 MB / 0.7738 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.5522, allocations: 111.1 MB / 0.8822 GB, free: 31.79 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.5525, allocations: 88.05 kB / 0.8823 GB, free: 31.79 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01523/0.5677, allocations: 5.986 MB / 0.8882 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5678, allocations: 3.938 kB / 0.8882 GB, free: 31.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.5678, allocations: 1.031 kB / 0.8882 GB, free: 31.23 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.0002729/0.5681, allocations: 374.8 kB / 0.8885 GB, free: 30.86 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5681, allocations: 10.06 kB / 0.8885 GB, free: 30.86 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.5681, allocations: 105.8 kB / 0.8887 GB, free: 30.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.5682, allocations: 82.53 kB / 0.8887 GB, free: 30.67 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.5683, allocations: 241.9 kB / 0.889 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.5683, allocations: 156 kB / 0.8891 GB, free: 30.24 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.5684, allocations: 156.9 kB / 0.8893 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.103e-05/0.5684, allocations: 102.9 kB / 0.8894 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5684, allocations: 79.09 kB / 0.8894 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.5685, allocations: 156 kB / 0.8896 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.5685, allocations: 151.1 kB / 0.8897 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.5685, allocations: 150.6 kB / 0.8899 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.5687, allocations: 462.6 kB / 0.8903 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.5688, allocations: 170.1 kB / 0.8905 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.5688, allocations: 84.67 kB / 0.8906 GB, free: 28.72 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.5688, allocations: 110.4 kB / 0.8907 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5688, allocations: 5.188 kB / 0.8907 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 5.9e-05/0.5689, allocations: 28.44 kB / 0.8907 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007621/0.5697, allocations: 126.7 kB / 0.8908 GB, free: 44.43 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.5697, allocations: 97.42 kB / 0.8909 GB, free: 44.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.5698, allocations: 27.02 kB / 0.8909 GB, free: 44.31 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.5698, allocations: 82.17 kB / 0.891 GB, free: 44.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.5698, allocations: 0 / 0.891 GB, free: 44.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.5698, allocations: 3.75 kB / 0.891 GB, free: 44.23 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5699, allocations: 317 kB / 0.8913 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.57, allocations: 5.578 kB / 0.8913 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.57, allocations: 28.66 kB / 0.8913 GB, free: 43.89 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.57, allocations: 4.438 kB / 0.8914 GB, free: 43.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.57, allocations: 0 / 0.8914 GB, free: 43.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001141/0.5702, allocations: 52.81 kB / 0.8914 GB, free: 43.85 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5702, allocations: 10.89 kB / 0.8914 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5702, allocations: 0 / 0.8914 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5702, allocations: 1.281 kB / 0.8914 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.5703, allocations: 5.969 kB / 0.8914 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5703, allocations: 6.156 kB / 0.8914 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.5704, allocations: 3.766 kB / 0.8914 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.5704, allocations: 3.016 kB / 0.8914 GB, free: 43.84 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.432e-05/0.5705, allocations: 192.6 kB / 0.8916 GB, free: 43.65 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.5706, allocations: 115.7 kB / 0.8917 GB, free: 43.53 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.5706, allocations: 111.6 kB / 0.8918 GB, free: 43.42 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.379e-05/0.5707, allocations: 177 kB / 0.892 GB, free: 43.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-05/0.5708, allocations: 184.9 kB / 0.8922 GB, free: 43.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.64e-05/0.5709, allocations: 179.2 kB / 0.8923 GB, free: 42.87 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.5711, allocations: 410.3 kB / 0.8927 GB, free: 42.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-05/0.5711, allocations: 101.6 kB / 0.8928 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.5712, allocations: 108.2 kB / 0.8929 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-05/0.5713, allocations: 180.7 kB / 0.8931 GB, free: 42.03 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/0.5713, allocations: 183.2 kB / 0.8933 GB, free: 41.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.487e-05/0.5714, allocations: 185 kB / 0.8935 GB, free: 41.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.844e-05/0.5715, allocations: 187.2 kB / 0.8936 GB, free: 41.47 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.5716, allocations: 304.1 kB / 0.8939 GB, free: 41.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.5716, allocations: 182.2 kB / 0.8941 GB, free: 40.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.5717, allocations: 180.8 kB / 0.8943 GB, free: 40.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.5718, allocations: 108.1 kB / 0.8944 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.5719, allocations: 185 kB / 0.8946 GB, free: 40.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.5719, allocations: 107.7 kB / 0.8947 GB, free: 40.37 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.572, allocations: 79 kB / 0.8947 GB, free: 40.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.11e-07/0.572, allocations: 2.344 kB / 0.8947 GB, free: 40.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003447/0.5723, allocations: 60.91 kB / 0.8948 GB, free: 40.28 MB / 0.5573 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.000893/0.5732, allocations: 0.9884 MB / 0.8958 GB, free: 39.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.357e-05/0.5733, allocations: 15.27 kB / 0.8958 GB, free: 39.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5733, allocations: 3.938 kB / 0.8958 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.5733, allocations: 3.062 kB / 0.8958 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.5737, allocations: 0.527 MB / 0.8963 GB, free: 38.88 MB / 0.5573 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.5745, allocations: 0.7136 MB / 0.897 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.5747, allocations: 0.675 MB / 0.8977 GB, free: 37.47 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.5748, allocations: 3.797 kB / 0.8977 GB, free: 37.47 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.5748, allocations: 18.09 kB / 0.8977 GB, free: 37.46 MB / 0.5573 GB Notification: Performance of SimCode: time 2.21e-07/0.5748, allocations: 0 / 0.8977 GB, free: 37.46 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2468/0.8216, allocations: 2.277 MB / 0.8999 GB, free: 37.22 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.8219, allocations: 272.1 kB / 0.9002 GB, free: 36.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.363, allocations: 0 / 0.9002 GB, free: 36.86 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)