Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.8918/0.8918, allocations: 143.3 MB / 158.3 MB, free: 5.777 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.000956/0.000956, allocations: 183.7 kB / 191.5 MB, free: 5.738 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.402/1.402, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.000929/0.0009291, allocations: 80.34 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.001685/0.001685, allocations: 274 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004447, allocations: 12.94 kB / 0.6929 GB, free: 59.59 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.132/0.2619, allocations: 109.5 MB / 0.8807 GB, free: 52 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.278/0.5399, allocations: 79.31 kB / 0.8808 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005958/0.5459, allocations: 2.699 MB / 0.8835 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5459, allocations: 3.938 kB / 0.8835 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5459, allocations: 0 / 0.8835 GB, free: 109.2 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.0001893/0.5461, allocations: 354.7 kB / 0.8838 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.5462, allocations: 12.55 kB / 0.8838 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.536e-05/0.5462, allocations: 106.4 kB / 0.8839 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.5462, allocations: 80.47 kB / 0.884 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.643e-05/0.5463, allocations: 235.8 kB / 0.8842 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.5464, allocations: 158 kB / 0.8844 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.5464, allocations: 154.4 kB / 0.8845 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.371e-05/0.5464, allocations: 101 kB / 0.8846 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5464, allocations: 80.06 kB / 0.8847 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.5465, allocations: 154.5 kB / 0.8848 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.5465, allocations: 150.6 kB / 0.885 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.5465, allocations: 156.5 kB / 0.8851 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.5467, allocations: 446.2 kB / 0.8855 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.5467, allocations: 173 kB / 0.8857 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5467, allocations: 75.28 kB / 0.8858 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.5468, allocations: 115.7 kB / 0.8859 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.5468, allocations: 0 / 0.8859 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 5.414e-05/0.5468, allocations: 32.58 kB / 0.8859 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.5468, allocations: 131.7 kB / 0.8861 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.738e-05/0.5469, allocations: 91.14 kB / 0.8861 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-06/0.5469, allocations: 28.52 kB / 0.8862 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.359e-05/0.5469, allocations: 80.14 kB / 0.8862 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.5469, allocations: 0 / 0.8862 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.547, allocations: 0 / 0.8862 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.547, allocations: 314.5 kB / 0.8865 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-06/0.547, allocations: 4.125 kB / 0.8865 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-06/0.547, allocations: 0 / 0.8865 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.164e-05/0.547, allocations: 77.94 kB / 0.8866 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.547, allocations: 79.22 kB / 0.8867 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.291e-05/0.5471, allocations: 28.27 kB / 0.8867 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5471, allocations: 84.48 kB / 0.8868 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5471, allocations: 79.22 kB / 0.8869 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.5472, allocations: 162.5 kB / 0.887 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-06/0.5472, allocations: 78 kB / 0.8871 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.5472, allocations: 154.5 kB / 0.8873 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.5473, allocations: 78.78 kB / 0.8873 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.5473, allocations: 79.69 kB / 0.8874 GB, free: 105 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 4.555e-05/0.5473, allocations: 256.4 kB / 0.8877 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.5474, allocations: 116 kB / 0.8878 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.5474, allocations: 109.7 kB / 0.8879 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.5474, allocations: 183.3 kB / 0.888 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/0.5474, allocations: 178.8 kB / 0.8882 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.5475, allocations: 179.7 kB / 0.8884 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.5476, allocations: 411.2 kB / 0.8888 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.5476, allocations: 101 kB / 0.8889 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.5476, allocations: 110.8 kB / 0.889 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/0.5476, allocations: 176.3 kB / 0.8891 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.5477, allocations: 176.3 kB / 0.8893 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-05/0.5477, allocations: 186.8 kB / 0.8895 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.462e-05/0.5477, allocations: 192.6 kB / 0.8897 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.592e-05/0.5478, allocations: 302.2 kB / 0.89 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.5479, allocations: 188.4 kB / 0.8901 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.5479, allocations: 180.2 kB / 0.8903 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.548, allocations: 108 kB / 0.8904 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.548, allocations: 185.5 kB / 0.8906 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.548, allocations: 101 kB / 0.8907 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.878e-05/0.548, allocations: 81.73 kB / 0.8908 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.548, allocations: 0 / 0.8908 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002867/0.5483, allocations: 52.73 kB / 0.8908 GB, free: 101.4 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.0005649/0.5489, allocations: 0.9725 MB / 0.8918 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 2.455e-05/0.5489, allocations: 2.938 kB / 0.8918 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.549, allocations: 0 / 0.8918 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.549, allocations: 3.938 kB / 0.8918 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.5491, allocations: 0.5262 MB / 0.8923 GB, free: 100 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.5496, allocations: 0.5279 MB / 0.8928 GB, free: 99.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.505e-05/0.5497, allocations: 0.683 MB / 0.8935 GB, free: 98.76 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.266e-06/0.5497, allocations: 2.312 kB / 0.8935 GB, free: 98.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.5497, allocations: 7.438 kB / 0.8935 GB, free: 98.75 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5497, allocations: 0 / 0.8935 GB, free: 98.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.5614, allocations: 1.658 MB / 0.8951 GB, free: 98.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/0.5615, allocations: 270.9 kB / 0.8954 GB, free: 98.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/1.977, allocations: 3.938 kB / 0.8954 GB, free: 98.2 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)