Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 184.7 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 74.77 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2266, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002334/0.229, allocations: 1.241 MB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009369/0.23, allocations: 0.7154 MB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.23, allocations: 0 / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.2301, allocations: 4 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.2303, allocations: 19.91 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.761e-05/0.2303, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.2304, allocations: 7.938 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.2304, allocations: 4 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.094e-05/0.2305, allocations: 11.92 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.2306, allocations: 14.97 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2306, allocations: 4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.863e-05/0.2307, allocations: 4 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.2307, allocations: 7.984 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.2307, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.383e-05/0.2308, allocations: 7.984 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2308, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2308, allocations: 4 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2308, allocations: 0 / 0.7856 GB, free: 11.17 MB / 0.6075 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.00032/0.2312, allocations: 327.7 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2312, allocations: 19.91 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.2313, allocations: 110 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.2313, allocations: 76.22 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.2315, allocations: 243.7 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.2315, allocations: 154.9 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.2316, allocations: 150.9 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.007e-05/0.2316, allocations: 105.5 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.2317, allocations: 83.22 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.2317, allocations: 150.6 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/0.2318, allocations: 150.6 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.2318, allocations: 154.5 kB / 0.7873 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.2321, allocations: 449.9 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.648e-05/0.2322, allocations: 169.1 kB / 0.7879 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.2322, allocations: 80.14 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.2323, allocations: 79.28 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.2323, allocations: 113.8 kB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2323, allocations: 0 / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.513e-05/0.2324, allocations: 33.64 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.2324, allocations: 126.7 kB / 0.7883 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.2325, allocations: 101.8 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.2325, allocations: 25.7 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.2326, allocations: 84.14 kB / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.2326, allocations: 0 / 0.7885 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.2326, allocations: 13.72 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.2327, allocations: 318.9 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-06/0.2327, allocations: 0 / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.2327, allocations: 5.047 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.313e-05/0.2328, allocations: 75.28 kB / 0.7889 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-05/0.2328, allocations: 79.22 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.879e-05/0.2329, allocations: 29.7 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.2329, allocations: 83.22 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.2329, allocations: 87.22 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.391e-05/0.233, allocations: 158.5 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.959e-05/0.233, allocations: 75.28 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-05/0.2331, allocations: 154.5 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.2332, allocations: 83.27 kB / 0.7896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.2332, allocations: 79.22 kB / 0.7897 GB, free: 6.781 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.2333, allocations: 268.4 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.2334, allocations: 108.9 kB / 0.79 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.2334, allocations: 112.1 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/0.2335, allocations: 188.2 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.263e-05/0.2336, allocations: 176.3 kB / 0.7905 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.749e-05/0.2336, allocations: 176.3 kB / 0.7906 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.2339, allocations: 413.2 kB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.869e-05/0.2339, allocations: 101 kB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.2339, allocations: 104.9 kB / 0.7912 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.836e-05/0.234, allocations: 184.2 kB / 0.7914 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.234, allocations: 180.3 kB / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-05/0.2341, allocations: 192.2 kB / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-05/0.2342, allocations: 176.5 kB / 0.7919 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.2343, allocations: 299.8 kB / 0.7922 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.2343, allocations: 190.1 kB / 0.7924 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.2344, allocations: 188.1 kB / 0.7926 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.2345, allocations: 109 kB / 0.7927 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.2346, allocations: 180.2 kB / 0.7929 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.2346, allocations: 105 kB / 0.793 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.2346, allocations: 83.28 kB / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2346, allocations: 0 / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002484/0.2349, allocations: 4 kB / 0.793 GB, free: 3.09 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006168/0.2355, allocations: 0.8281 MB / 0.7939 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.703e-05/0.2356, allocations: 4 kB / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2356, allocations: 0 / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.2356, allocations: 0 / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.236, allocations: 455.7 kB / 0.7943 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.2373, allocations: 1.567 MB / 0.7958 GB, free: 136 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.2376, allocations: 0.6767 MB / 0.7965 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.863e-05/0.2376, allocations: 3.938 kB / 0.7965 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.2376, allocations: 15.42 kB / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.2376, allocations: 4.031 kB / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.2533, allocations: 1.174 MB / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.382, allocations: 20.25 kB / 0.7977 GB, free: 14.39 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)