Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.744/1.744, allocations: 288.2 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 181.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008267/0.0008267, allocations: 105.2 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004297, allocations: 20.16 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001436/0.224, allocations: 0.9628 MB / 0.9804 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.225, allocations: 0.6721 MB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.225, allocations: 0 / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.2251, allocations: 4 kB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2253, allocations: 11.88 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.247e-05/0.2254, allocations: 3.984 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.2254, allocations: 4 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.2255, allocations: 3.984 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.2255, allocations: 8 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.2257, allocations: 7.984 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2257, allocations: 0 / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.681e-05/0.2257, allocations: 4 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.2258, allocations: 0 / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.2258, allocations: 29.7 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.713e-05/0.2259, allocations: 7.984 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.2259, allocations: 0 / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2259, allocations: 0 / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2259, allocations: 3.938 kB / 0.9812 GB, free: 25.88 MB / 0.6198 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.000281/0.2262, allocations: 319.7 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.2262, allocations: 12.02 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.2263, allocations: 109.8 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.2263, allocations: 83.19 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2265, allocations: 246.2 kB / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.2265, allocations: 154.6 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.2266, allocations: 150.6 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.275e-05/0.2266, allocations: 109 kB / 0.9823 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.2266, allocations: 75.28 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.2267, allocations: 150.6 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.2267, allocations: 154.5 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.2267, allocations: 154.6 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.227, allocations: 453.9 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.766e-05/0.227, allocations: 169.1 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.2271, allocations: 75.28 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2271, allocations: 109.8 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2271, allocations: 0 / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.521e-05/0.2272, allocations: 41.62 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.2272, allocations: 126.7 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.2273, allocations: 97.86 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.2273, allocations: 25.7 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.2274, allocations: 84.14 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.2274, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.2274, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.2275, allocations: 314.8 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-06/0.2275, allocations: 4 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.2275, allocations: 1 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.231e-05/0.2275, allocations: 79.28 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.2275, allocations: 79.22 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.414e-05/0.2276, allocations: 33.66 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.2276, allocations: 83.28 kB / 0.9845 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.2276, allocations: 75.28 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.64e-05/0.2277, allocations: 158.5 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.418e-05/0.2277, allocations: 79.27 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.2277, allocations: 158.5 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.2279, allocations: 75.28 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2279, allocations: 75.28 kB / 0.9851 GB, free: 21.61 MB / 0.6198 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 7.231e-05/0.228, allocations: 268.5 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.228, allocations: 113.2 kB / 0.9854 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.228, allocations: 116.1 kB / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/0.2281, allocations: 188.1 kB / 0.9857 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-05/0.2281, allocations: 176.3 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/0.2282, allocations: 176.3 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.2283, allocations: 413.2 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.2283, allocations: 101 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.03e-05/0.2284, allocations: 104.9 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-05/0.2284, allocations: 180.2 kB / 0.9868 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.2285, allocations: 188.2 kB / 0.987 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.777e-05/0.2285, allocations: 180.2 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.639e-05/0.2285, allocations: 184.2 kB / 0.9874 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.074e-05/0.2286, allocations: 303.8 kB / 0.9877 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.2287, allocations: 182.1 kB / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.2287, allocations: 188.2 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.2288, allocations: 109 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.2288, allocations: 184.2 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.2288, allocations: 105 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.346e-05/0.2289, allocations: 83.28 kB / 0.9885 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2289, allocations: 0 / 0.9885 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002439/0.2291, allocations: 0 / 0.9885 GB, free: 17.92 MB / 0.6198 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.0003889/0.2295, allocations: 0.8179 MB / 0.9893 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.142e-05/0.2296, allocations: 4 kB / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2296, allocations: 0 / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.2296, allocations: 0 / 0.9893 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.2298, allocations: 0.5224 MB / 0.9898 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005895/0.2304, allocations: 0.5256 MB / 0.9903 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.2306, allocations: 0.681 MB / 0.991 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.707e-05/0.2306, allocations: 3.906 kB / 0.991 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.2306, allocations: 15.42 kB / 0.991 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.2306, allocations: 0 / 0.991 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.2437, allocations: 0.9695 MB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.2439, allocations: 233.1 kB / 0.9921 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/1.671, allocations: 2.953 kB / 0.9921 GB, free: 14.27 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)