Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.7768/0.7768, allocations: 143.3 MB / 158.3 MB, free: 5.793 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.001161/0.001161, allocations: 177.1 kB / 191.5 MB, free: 5.77 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.411/1.411, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0008652/0.0008652, allocations: 88.34 kB / 0.5187 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 277 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.000398, allocations: 16.16 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1222, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.2487, allocations: 108.8 MB / 0.88 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.249, allocations: 83.95 kB / 0.8801 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2635/0.5125, allocations: 2.292 MB / 0.8823 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5126, allocations: 0 / 0.8823 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.5126, allocations: 2.344 kB / 0.8823 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.0002139/0.5128, allocations: 332.8 kB / 0.8826 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5128, allocations: 12.2 kB / 0.8826 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.396e-05/0.5129, allocations: 105.8 kB / 0.8827 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.5129, allocations: 80.59 kB / 0.8828 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.622e-05/0.513, allocations: 244.7 kB / 0.8831 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.513, allocations: 158.4 kB / 0.8832 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.5131, allocations: 152.7 kB / 0.8834 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.621e-05/0.5131, allocations: 103.9 kB / 0.8835 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5131, allocations: 75.84 kB / 0.8835 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.5132, allocations: 151.4 kB / 0.8837 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.5132, allocations: 155.8 kB / 0.8838 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.5132, allocations: 154.2 kB / 0.884 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.5134, allocations: 453.2 kB / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.661e-05/0.5134, allocations: 169.1 kB / 0.8846 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.5134, allocations: 79.28 kB / 0.8846 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.5135, allocations: 109.8 kB / 0.8847 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.5135, allocations: 0 / 0.8847 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 5.993e-05/0.5135, allocations: 42.47 kB / 0.8848 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.5136, allocations: 126.7 kB / 0.8849 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.5136, allocations: 100.2 kB / 0.885 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.5137, allocations: 27.19 kB / 0.885 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.5137, allocations: 88.08 kB / 0.8851 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.5137, allocations: 0 / 0.8851 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-06/0.5137, allocations: 3 kB / 0.8851 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.5138, allocations: 313.8 kB / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.5138, allocations: 3.031 kB / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.5138, allocations: 8.859 kB / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.863e-05/0.5138, allocations: 2.625 kB / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.5138, allocations: 2.594 kB / 0.8854 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.953e-05/0.5139, allocations: 50.59 kB / 0.8855 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5139, allocations: 9.109 kB / 0.8855 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.514, allocations: 0 / 0.8855 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.514, allocations: 0 / 0.8855 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.514, allocations: 0.625 kB / 0.8855 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.514, allocations: 0 / 0.8855 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.5141, allocations: 9.875 kB / 0.8855 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.5141, allocations: 0 / 0.8855 GB, free: 105.9 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.459e-05/0.5141, allocations: 191.6 kB / 0.8857 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.5142, allocations: 107.6 kB / 0.8858 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.5142, allocations: 116.2 kB / 0.8859 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.5142, allocations: 185.1 kB / 0.8861 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/0.5143, allocations: 180.2 kB / 0.8862 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/0.5143, allocations: 176.3 kB / 0.8864 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.5144, allocations: 411.5 kB / 0.8868 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.5144, allocations: 101 kB / 0.8869 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/0.5144, allocations: 106.9 kB / 0.887 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-05/0.5145, allocations: 180.2 kB / 0.8872 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.5145, allocations: 182.1 kB / 0.8873 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.293e-05/0.5145, allocations: 184.7 kB / 0.8875 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-05/0.5146, allocations: 180.3 kB / 0.8877 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.731e-05/0.5146, allocations: 308.3 kB / 0.888 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.5147, allocations: 181.5 kB / 0.8882 GB, free: 103 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.5147, allocations: 186.7 kB / 0.8883 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.5148, allocations: 105.7 kB / 0.8884 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.5148, allocations: 180.2 kB / 0.8886 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.5148, allocations: 107.9 kB / 0.8887 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.5148, allocations: 92.14 kB / 0.8888 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5148, allocations: 3.938 kB / 0.8888 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002162/0.5151, allocations: 2.531 kB / 0.8888 GB, free: 102.3 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.0003103/0.5154, allocations: 0.8168 MB / 0.8896 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.809e-05/0.5155, allocations: 11.23 kB / 0.8896 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5155, allocations: 0 / 0.8896 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.5155, allocations: 0 / 0.8896 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.5156, allocations: 0.532 MB / 0.8901 GB, free: 101 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.516, allocations: 365.9 kB / 0.8905 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.88e-05/0.5161, allocations: 0.6845 MB / 0.8911 GB, free: 99.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.5161, allocations: 5.641 kB / 0.8912 GB, free: 99.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.5162, allocations: 7.438 kB / 0.8912 GB, free: 99.89 MB / 0.5417 GB Notification: Performance of SimCode: time 8.02e-07/0.5162, allocations: 0 / 0.8912 GB, free: 99.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.5327, allocations: 1.07 MB / 0.8922 GB, free: 99.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.533, allocations: 230.5 kB / 0.8924 GB, free: 99.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/1.956, allocations: 0 / 0.8924 GB, free: 99.54 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)